include: configs: soc64: Use CONFIG_SPL_ATF to differentiate bootfile
PATCH 1/1 include: configs: soc64: Use CONFIG_SPL_ATF to differentiate bootfile
Legacy boot flow (SPL->U-Boot Proper->OS) boot to OS via Kernel Image and dtb files using booti command.
ATF boot flow (SPL->ATF->U-Boot Proper->OS) boot to OS via kernel.itb file using bootm command.
Change to use CONFIG_SPL_ATF to differentiate the bootfile of default environment variable. We shouldn't use CONFIG_FIT because it is enabled by default for U-Boot Proper.
--- include/configs/socfpga_soc64_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/socfpga_soc64_common.h +1 -1
@@ -82,7 +82,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void);* Environment variable */ -#ifdef CONFIG_FIT +#if IS_ENABLED (CONFIG_SPL_ATF )#define CONFIG_BOOTFILE "kernel.itb"#else #define CONFIG_BOOTFILE "Image"
Signature · 1 line
2.19.0
Quoted 30 lines · Siew Chin Lim
Legacy boot flow (SPL->U-Boot
Proper->OS) boot to OS via Kernel Image and dtb files using booti command.ATF boot flow (SPL->ATF->U-Boot
Proper->OS) boot to OS via kernel.itb file using bootm command.Change to use
CONFIG_SPL_ATFto differentiate the bootfile of default environment variable. We shouldn't useCONFIG_FITbecause it is enabled by default for U-Boot Proper.Signed-off-by Siew Chin Lim <[email protected]>--- include/configs/socfpga_soc64_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/configs/socfpga_soc64_common.h +1
-2@@ -82,7 +82,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void);* Environment variable */ -#ifdef CONFIG_FIT +#if IS_ENABLED (CONFIG_SPL_ATF )#define CONFIG_BOOTFILE "kernel.itb"#else #define CONFIG_BOOTFILE "Image" --
Quoted 2 lines
2.19.0