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

Signed-off-by: Tom Rini <tr...@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

Reply via email to