From: Klaus Heinrich Kiwi Date: Tue, 9 Feb 2021 18:41:53 +0000 (-0300) Subject: Kconfig: SPL_FIT_SIGNATURE selects FIT_SIGNATURE X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-favicon.png?a=commitdiff_plain;h=6ce28132b88a95eb6d4e67c594270f0825d6dad8;p=u-boot.git Kconfig: SPL_FIT_SIGNATURE selects FIT_SIGNATURE 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 --- diff --git a/common/Kconfig.boot b/common/Kconfig.boot index 7532e55edb..62dc410266 100644 --- a/common/Kconfig.boot +++ b/common/Kconfig.boot @@ -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