From: Tom Rini Date: Wed, 2 Jul 2025 01:04:15 +0000 (-0600) Subject: crypto: nuvoton: Tighten some dependencies for the nuvoton platforms X-Git-Tag: v2025.10-rc1~106 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42dee43d627e67e4250382e4a036298b9ca38ef5;p=thirdparty%2Fu-boot.git 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 --- 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