summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-04-15 19:46:21 +0300
committerTom Rini <trini@konsulko.com>2020-04-24 17:51:32 +0300
commit6441164dda7dac0c4039c90c329e973786c21b22 (patch)
treee8d5fad96c2d36ed611b5a96f8c01fb40f33347b /common/Kconfig
parent4f4d526f593de46a165342259c9cb9648c1e70d8 (diff)
downloadu-boot-6441164dda7dac0c4039c90c329e973786c21b22.tar.xz
common: image_sign_info helper functions in SPL
Do not build image_sign_info helper functions in SPL if not needed. Fixes: b983cc2da0ba ("lib: rsa: decouple rsa from FIT image verification") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index ee4f748c32..30cba15948 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1060,3 +1060,14 @@ config IMAGE_SIGN_INFO
select SHA256
help
Enable image_sign_info helper functions.
+
+if IMAGE_SIGN_INFO
+
+config SPL_IMAGE_SIGN_INFO
+ bool
+ select SHA1
+ select SHA256
+ help
+ Enable image_sign_info helper functions in SPL.
+
+endif