Kconfig: SPL_FIT_SIGNATURE requires SPL_LOAD_FIT
authorKlaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Tue, 9 Feb 2021 18:41:54 +0000 (15:41 -0300)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2021 21:51:48 +0000 (16:51 -0500)
Having the ability to support firmware FIT signatures on the SPL sounds
not so useful if the SPL is not supporting to load a (U-boot) firmware
as a FIT image.

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
common/Kconfig.boot

index 62dc410..70c02b9 100644 (file)
@@ -181,6 +181,7 @@ config SPL_FIT_FULL_CHECK
 config SPL_FIT_SIGNATURE
        bool "Enable signature verification of FIT firmware within SPL"
        depends on SPL_DM
+       depends on SPL_LOAD_FIT || SPL_LOAD_FIT_FULL
        select FIT_SIGNATURE
        select SPL_FIT
        select SPL_CRYPTO_SUPPORT