Re: [PATCH 1/3] Kconfig: SPL_FIT_SIGNATURE selects FIT_SIGNATURE

2021-02-25 Thread Tom Rini
On Tue, Feb 09, 2021 at 03:41:53PM -0300, Klaus Heinrich Kiwi wrote:

> 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 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


[PATCH 1/3] Kconfig: SPL_FIT_SIGNATURE selects FIT_SIGNATURE

2021-02-09 Thread Klaus Heinrich Kiwi
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 

---

 common/Kconfig.boot | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/Kconfig.boot b/common/Kconfig.boot
index 5eaabdfc27..7a0f7d9501 100644
--- a/common/Kconfig.boot
+++ b/common/Kconfig.boot
@@ -162,6 +162,7 @@ config SPL_FIT_PRINT
 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
-- 
2.25.1