summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-07-01 19:04:15 -0600
committerTom Rini <trini@konsulko.com>2025-07-10 08:40:55 -0600
commit42dee43d627e67e4250382e4a036298b9ca38ef5 (patch)
treece62e100fd991a673b8fc058aa5a8d4a5d2367e8
parent0b4132900352feee38b492df8cf9b970a30f7195 (diff)
crypto: nuvoton: Tighten some dependencies for the nuvoton platforms
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@konsulko.com>
-rw-r--r--drivers/crypto/nuvoton/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/nuvoton/Kconfig b/drivers/crypto/nuvoton/Kconfig
index 034fcadfcc8..0eb4396816e 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