Kconfig: SPL_FIT_SIGNATURE selects FIT_SIGNATURE
authorKlaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Tue, 9 Feb 2021 18:41:53 +0000 (15:41 -0300)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2021 21:51:48 +0000 (16:51 -0500)
Selecting SPL_FIT_SIGNATURE (without selecting U-boot proper
verified boot first) breaks the build due to
CONFIG_FIT_SIGNATURE_MAX_SIZE being undefined, in addition to Kconfig
warnings on RSA and IMAGE_SIGN_INFO unmet dependencies.

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

index 7532e55..62dc410 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
+       select FIT_SIGNATURE
        select SPL_FIT
        select SPL_CRYPTO_SUPPORT
        select SPL_HASH_SUPPORT