
On Fri, Apr 30, 2021 at 3:39 PM Siew Chin Lim elly.siew.chin.lim@intel.com wrote:
Move 'linux_qspi_enable' from bootcommand to board_prep_linux function when OS booted from FIT image for Stratix 10 and Agilex. This flow is common for all Intel SOC64 devices.
U-Boot will update 'fdt_addr' environment value based on FIT image in board_prep_linux function, and 'linux_qspi_enable' will refer to 'fdt_addr' environment value to retrieve the device tree node.
Signed-off-by: Siew Chin Lim elly.siew.chin.lim@intel.com
v2:
- New patch in n5x series, the change is needed to execute 'linux_qspi_enable' correctly in ATF boot flow
arch/arm/mach-socfpga/board.c | 17 +++++++++-------- configs/socfpga_agilex_atf_defconfig | 2 +- configs/socfpga_stratix10_atf_defconfig | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-)
Reviewed-by: Ley Foon Tan lftan.linux@gmail.com
Regards Ley Foon