arm: socfpga: Move linux_qspi_enable from bootcommand to board_prep_linux function
PATCH 1/1 arm: socfpga: Move linux_qspi_enable from bootcommand to board_prep_linux function
From: Siew Chin Lim <[email protected]>
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 <[email protected]>
Signed-off-by Jit Loon Lim <[email protected]>
--- configs/socfpga_agilex_nand_atf_defconfig | 2 +- configs/socfpga_agilex_qspi_atf_defconfig | 2 +- configs/socfpga_stratix10_nand_atf_defconfig | 2 +- configs/socfpga_stratix10_qspi_atf_defconfig | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
configs/socfpga_agilex_nand_atf_defconfig +1 -1
@@ -26,7 +26,7 @@ CONFIG_BOOTDELAY=5 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="earlycon panic=-1" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="run nandfitload; run linux_qspi_enable; run rsu_status; run nandfitboot" +CONFIG_BOOTCOMMAND="run nandfitload; run rsu_status; run nandfitboot" CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_CACHE=y
configs/socfpga_agilex_qspi_atf_defconfig +1 -1
@@ -27,7 +27,7 @@ CONFIG_BOOTDELAY=5 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="earlycon panic=-1" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="sf probe;run qspifitload;run linux_qspi_enable;run rsu_status;run qspifitboot" +CONFIG_BOOTCOMMAND="sf probe;run qspifitload;run rsu_status;run qspifitboot" CONFIG_SPL_CACHE=y CONFIG_SPL_SPI_LOAD=y CONFIG_SPL_ATF=y
configs/socfpga_stratix10_nand_atf_defconfig +1 -1
@@ -27,7 +27,7 @@ CONFIG_BOOTDELAY=5 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="earlycon panic=-1" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="run nandfitload; run linux_qspi_enable; run rsu_status; run nandfitboot" +CONFIG_BOOTCOMMAND="run nandfitload; run rsu_status; run nandfitboot" CONFIG_SPL_MTD_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_SPI_LOAD=y
configs/socfpga_stratix10_qspi_atf_defconfig +1 -1
@@ -27,7 +27,7 @@ CONFIG_BOOTDELAY=5 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="earlycon panic=-1" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="sf probe;run qspifitload;run linux_qspi_enable;run rsu_status;run qspifitboot" +CONFIG_BOOTCOMMAND="sf probe;run qspifitload;run rsu_status;run qspifitboot" CONFIG_SPL_SPI_LOAD=y CONFIG_SPL_ATF=y CONFIG_SPL_ATF_NO_PLATFORM_PARAM=y
Signature · 1 line
2.26.2