aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2022-10-30 23:26:19 -0500
committerTom Rini <trini@konsulko.com>2022-11-21 09:23:00 -0500
commit4b0a1f59873abca079a4462a9a90d76abbcbc419 (patch)
tree1fe2bbd3b83d93636a95973f7948e5a6ab9bef55 /common
parent758bff205fdbece05c9ead9b00d6d7a1c213821b (diff)
downloadu-boot-4b0a1f59873abca079a4462a9a90d76abbcbc419.zip
u-boot-4b0a1f59873abca079a4462a9a90d76abbcbc419.tar.gz
u-boot-4b0a1f59873abca079a4462a9a90d76abbcbc419.tar.bz2
spl: Fix SPL_ATF and SPL_OPENSBI dependenciesWIP/2022-11-21-important-fixes
The code for these two options depends on having the FIT loadables recorded in the FDT. Thus, these options require the full version of the SPL_LOAD_FIT code. Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 05181bd..fef01bd 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -1440,7 +1440,8 @@ config SPL_YMODEM_SUPPORT
config SPL_ATF
bool "Support ARM Trusted Firmware"
- depends on ARM64 && SPL_FIT
+ depends on ARM64
+ depends on SPL_LOAD_FIT && !SPL_FIT_IMAGE_TINY
help
ATF(ARM Trusted Firmware) is a component for ARM AArch64 which
is loaded by SPL (which is considered as BL2 in ATF terminology).
@@ -1487,6 +1488,7 @@ config SPL_OPTEE_IMAGE
config SPL_OPENSBI
bool "Support RISC-V OpenSBI"
depends on RISCV && SPL_RISCV_MMODE && RISCV_SMODE
+ depends on SPL_LOAD_FIT && !SPL_FIT_IMAGE_TINY
help
OpenSBI is an open-source implementation of the RISC-V Supervisor Binary
Interface (SBI) specification. U-Boot supports the OpenSBI FW_DYNAMIC