[PATCH] lib: rsa: fix dependency for SPL_RSA_VERIFY

Oleksandr Suvorov oleksandr.suvorov at foundries.io
Thu Sep 16 14:03:36 CEST 2021


SPL_RSA_VERIFY requires SPL_RSA to be enabled. Add correct
dependency.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
---

 lib/rsa/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig
index a90d67e5a87..cf802a6d40a 100644
--- a/lib/rsa/Kconfig
+++ b/lib/rsa/Kconfig
@@ -20,6 +20,7 @@ config SPL_RSA
 
 config SPL_RSA_VERIFY
 	bool
+	depends on SPL_RSA
 	help
 	  Add RSA signature verification support in SPL.
 
-- 
2.31.1



More information about the U-Boot mailing list