[PATCH] crypto: nuvoton: Tighten some dependencies for the nuvoton platforms

Tom Rini trini at konsulko.com
Wed Jul 2 03:04:15 CEST 2025


The nuvoton AES driver cannot build without platform specific headers
being available. Express that requirement in Kconfig as well.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/crypto/nuvoton/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/nuvoton/Kconfig b/drivers/crypto/nuvoton/Kconfig
index 034fcadfcc89..0eb4396816ed 100644
--- a/drivers/crypto/nuvoton/Kconfig
+++ b/drivers/crypto/nuvoton/Kconfig
@@ -1,5 +1,6 @@
 config NPCM_AES
 	bool "Support the NPCM AES algorithm"
+	depends on (ARM && ARCH_NPCM)
 	select NPCM_OTP
 	help
 	  This provides a means to encrypt and decrypt data using the NPCM
-- 
2.43.0



More information about the U-Boot mailing list