Skip to contentSkip to conversation

riscv: spl: add FIT name for RISC-V Falcon mode

PATCH New Randolph 1 participant 1 message Dec 13, 2024

lore
Share & tools
lore

Randolph

author
#0 lore raw

PATCH v2 1/1 riscv: spl: add FIT name for RISC-V Falcon mode

The FIT name in RISC-V Falcon mode should be different from that in normal boot mode; it is called linux.itb. If the setting is missing in common/spl, the normal boot file name will be used.

---
 common/spl/Kconfig | 1 +
 1 file changed, 1 insertion(+)
common/spl/Kconfig +1 -0
index 240543c9c7..d7527b6c2d 100644
@@ -751,6 +751,7 @@ config SPL_FS_LOAD_PAYLOAD_NAME
 	depends on SPL_FS_EXT4 || SPL_FS_FAT || SPL_FS_SQUASHFS || SPL_SEMIHOSTING
 	default "tispl.bin" if SYS_K3_SPL_ATF
 	default "u-boot.itb" if SPL_LOAD_FIT
+	default "linux.itb" if SPL_LOAD_FIT_OPENSBI_OS_BOOT
 	default "u-boot.img"
 	help
 	  Filename to read to load U-Boot when reading from filesystem.
Signature · 1 line
2.34.1