]> git.baikalelectronics.ru Git - uboot.git/commit
common/spl/Kconfig: add dependency on SPL_SEMIHOSTING for SPL payload
authorKautuk Consul <kconsul@ventanamicro.com>
Wed, 7 Dec 2022 11:42:36 +0000 (17:12 +0530)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 8 Dec 2022 07:16:10 +0000 (15:16 +0800)
commitb21c455b8c7bf33d366c4c64a2c7b853d6118e16
tree879a5bb362cc652b766b2e7c010a6e1fb27a9e89
parent89634c1d3d4cfbab7a6cf2b4cf55da1623348122
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>
common/spl/Kconfig