From: Simon Glass <sjg@chromium.org>
Date: Mon, 28 Feb 2022 19:08:31 +0000 (-0700)
Subject: Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURE
X-Git-Tag: v2025.01-rc5-pxa1908~1472^2~4
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=b7463f198da65257a3e0308f920ff8b3631c955b;p=u-boot.git

Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURE

Add this dependency to avoid a build error if FIT_SIGNATURE is not
enabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig
index 509bc28311..1c04a7ec5f 100644
--- a/lib/crypto/Kconfig
+++ b/lib/crypto/Kconfig
@@ -1,5 +1,6 @@
 menuconfig ASYMMETRIC_KEY_TYPE
 	bool "Asymmetric (public-key cryptographic) key Support"
+	depends on FIT_SIGNATURE
 	help
 	  This option provides support for a key type that holds the data for
 	  the asymmetric keys used for public key cryptographic operations such