[PATCH] crypto: tegra: Tighten TEGRA_AES driver dependency

Tom Rini trini at konsulko.com
Thu Sep 25 22:45:35 CEST 2025


This driver relies on tegra-specific headers to compile so make it
depend on ARCH_TEGRA.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Thierry Reding <treding at nvidia.com>
Cc: Svyatoslav Ryhel <clamor95 at gmail.com>
Cc: Ion Agorria <ion at agorria.com>
---
 drivers/crypto/tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/tegra/Kconfig b/drivers/crypto/tegra/Kconfig
index b027609307b0..0f2acaaade1f 100644
--- a/drivers/crypto/tegra/Kconfig
+++ b/drivers/crypto/tegra/Kconfig
@@ -1,6 +1,6 @@
 config TEGRA_AES
 	bool "Support the Tegra AES"
-	depends on DM_AES
+	depends on ARCH_TEGRA && DM_AES
 	help
 	  This provides a means to encrypt and decrypt data using the Tegra
 	  Bit Stream Engine for Video/Audio. Also may provide a mean to
-- 
2.43.0



More information about the U-Boot mailing list