aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKautuk Consul <kconsul@ventanamicro.com>2022-12-07 17:12:36 +0530
committerLeo Yu-Chi Liang <ycliang@andestech.com>2022-12-08 15:16:10 +0800
commitac14155a2a73b7f517ef356c1bf823b9f0eaf88d (patch)
tree879a5bb362cc652b766b2e7c010a6e1fb27a9e89
parentae3527f088062dc4e117b0c4d4319e068f5e44cd (diff)
downloadu-boot-ac14155a2a73b7f517ef356c1bf823b9f0eaf88d.zip
u-boot-ac14155a2a73b7f517ef356c1bf823b9f0eaf88d.tar.gz
u-boot-ac14155a2a73b7f517ef356c1bf823b9f0eaf88d.tar.bz2
common/spl/Kconfig: add dependency on SPL_SEMIHOSTING for SPL payload
When we enable CONFIG_SPL and CONFIG_SPL_SEMIHOSTING then the code in common/spl/spl_semihosting.c tries to use the CONFIG_SPL_FS_LOAD_PAYLOAD_NAME string which remains undeclared unless SPL_FS_EXT4 || SPL_FS_FAT || SPL_FS_SQUASHFS are configured. Add a dependency of SPL_SEMIHOSTING in the depends for SPL_FS_LOAD_PAYLOAD_NAME so that the code compiles fine. Signed-off-by: Kautuk Consul <kconsul@ventanamicro.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
-rw-r--r--common/spl/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index fef01bd..6c4848f 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -691,7 +691,7 @@ config SPL_FS_FAT
config SPL_FS_LOAD_PAYLOAD_NAME
string "File to load for U-Boot from the filesystem"
- depends on SPL_FS_EXT4 || SPL_FS_FAT || SPL_FS_SQUASHFS
+ 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 "u-boot.img"