diff mbox series

lib: rsa: fix dependency for SPL_RSA_VERIFY

Message ID 20210916120336.292530-1-oleksandr.suvorov@foundries.io
State Accepted
Commit d4f05b3198b68bc6e2c42b8d7e53d36a2fc9d52c
Delegated to: Tom Rini
Headers show
Series lib: rsa: fix dependency for SPL_RSA_VERIFY | expand

Commit Message

Oleksandr Suvorov Sept. 16, 2021, 12:03 p.m. UTC
SPL_RSA_VERIFY requires SPL_RSA to be enabled. Add correct
dependency.

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

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

Comments

Tom Rini Oct. 6, 2021, 5:46 p.m. UTC | #1
On Thu, Sep 16, 2021 at 03:03:36PM +0300, Oleksandr Suvorov wrote:

> SPL_RSA_VERIFY requires SPL_RSA to be enabled. Add correct
> dependency.
> 
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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.