Skip to contentSkip to conversation

crypto: tegra: Tighten TEGRA_AES driver dependency

PATCH In review Tom Rini 2 participants 2 messages Sep 25, 2025 – Sep 26, 2025

Subsystems (3)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 crypto: tegra: Tighten TEGRA_AES driver dependency

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

---
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Ion Agorria <[email protected]>

---
 drivers/crypto/tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/tegra/Kconfig +1 -1
index b027609307b0..0f2acaaade1f 100644
@@ -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
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw

чт, 25 вер. 2025 р. о 23:45 Tom Rini <[email protected]> пише:

Quoted 26 lines

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

---
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Ion Agorria <[email protected]>

---
 drivers/crypto/tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/tegra/Kconfig +1 -2
index b027609307b0..0f2acaaade1f 100644
@@ -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
--
Quoted 2 lines

2.43.0

Applied to u-boot-tegra/staging, thank you!