mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
ae3527f088
commit
ac14155a2a
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue