]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spl: Fix SPL_ATF and SPL_OPENSBI dependencies
authorSamuel Holland <samuel@sholland.org>
Mon, 31 Oct 2022 04:26:19 +0000 (23:26 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 21 Nov 2022 14:23:00 +0000 (09:23 -0500)
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>
common/spl/Kconfig

index 05181bdba3e14466bf32637b7e60e217f597ac64..fef01bdd7daa838f9ed2f393e98737ee47d76e02 100644 (file)
@@ -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