From 535adee8692f89df3472f92ae68d6aa0efb883d7 Mon Sep 17 00:00:00 2001 From: Kelvin Cheung Date: Wed, 2 May 2018 18:07:18 +0800 Subject: [PATCH] Kconfig: Add dependency on HASH to verified boot Building with verified boot support requires hash, add that dependency here. Otherwise the following build error will come out without crc command. LD u-boot lib/built-in.o: In function `hash_calculate': lib/rsa/rsa-checksum.c:29: undefined reference to `hash_progressive_lookup_algo' ... make[1]: *** [u-boot] Error 1 Signed-off-by: Kelvin Cheung Reviewed-by: Joe Hershberger --- Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/Kconfig b/Kconfig index 37331d289a..9fd9de1772 100644 --- a/Kconfig +++ b/Kconfig @@ -253,6 +253,7 @@ config FIT_SIGNATURE bool "Enable signature verification of FIT uImages" depends on DM select RSA + select HASH help This option enables signature verification of FIT uImages, using a hash signed and verified using RSA. If -- 2.39.5