arm: socfpga: Move linux_qspi_enable from bootcommand to board_prep_linux function
authorSiew Chin Lim <elly.siew.chin.lim@intel.com>
Tue, 10 Aug 2021 03:26:26 +0000 (11:26 +0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Tue, 24 Aug 2021 06:29:50 +0000 (14:29 +0800)
commit510c277a2e0a16e19dda52e488a0b51d501b7237
tree65067f42e31bf8ed966107c265aa26c4972b71f3
parent4865db07169126ca0205f1a6265adf01bd69b3df
arm: socfpga: Move linux_qspi_enable from bootcommand to board_prep_linux function

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>
arch/arm/mach-socfpga/board.c
configs/socfpga_agilex_atf_defconfig
configs/socfpga_stratix10_atf_defconfig