]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
include: configs: soc64: Use CONFIG_SPL_ATF to differentiate bootfile
authorTingting Meng <tingting.meng@altera.com>
Mon, 4 Aug 2025 01:24:53 +0000 (18:24 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Fri, 8 Aug 2025 14:20:53 +0000 (22:20 +0800)
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.

Signed-off-by: Tingting Meng <tingting.meng@altera.com>
Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
arch/arm/Kconfig

index af81d937201a1085b2c5833d45dc120f3de1924d..850253f51cf1c42a2d33332d41e0683f3908b32a 100644 (file)
@@ -22,6 +22,9 @@ config ARM64_CRC32
          not be present on all ARMv8.0, but is always present on ARMv8.1 and
          newer.
 
+config BOOTFILE
+       default kernel.itb if SPL_ATF && TARGET_SOCFPGA_SOC64
+
 config COUNTER_FREQUENCY
        int "Timer clock frequency"
        depends on ARM64 || CPU_V7A