aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelvin Cheung <keguang.zhang@gmail.com>2018-05-02 18:07:18 +0800
committerTom Rini <trini@konsulko.com>2018-05-06 13:35:40 -0400
commit535adee8692f89df3472f92ae68d6aa0efb883d7 (patch)
tree8f23f4a92cc26f94981e7f04d7e7d23c635039c6
parentebf48500df91440773cb9684a5898d7ee61593d9 (diff)
downloadu-boot-535adee8692f89df3472f92ae68d6aa0efb883d7.zip
u-boot-535adee8692f89df3472f92ae68d6aa0efb883d7.tar.gz
u-boot-535adee8692f89df3472f92ae68d6aa0efb883d7.tar.bz2
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 <keguang.zhang@gmail.com> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
-rw-r--r--Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 37331d2..9fd9de1 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