summaryrefslogtreecommitdiff
path: root/drivers/crypto/aspeed
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-07-01 19:04:22 -0600
committerTom Rini <[email protected]>2025-07-10 08:41:00 -0600
commitdbe1fa4d260fffd094d936c27d17bf4910bf2472 (patch)
tree3117c7f3bd384fe84a9a7210be059a45c25f0772 /drivers/crypto/aspeed
parent60b2eb40d1eacc3b12edab78fdc0c2e33bb2d181 (diff)
crypto: aspeed: Tighten some dependencies for the aspeed platforms
Some of the aspeed platform drivers cannot build without platform specific headers being available. Express those requirements in Kconfig as well. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers/crypto/aspeed')
-rw-r--r--drivers/crypto/aspeed/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/crypto/aspeed/Kconfig b/drivers/crypto/aspeed/Kconfig
index 6efcd7da738..401225b8528 100644
--- a/drivers/crypto/aspeed/Kconfig
+++ b/drivers/crypto/aspeed/Kconfig
@@ -1,3 +1,5 @@
+if ARCH_ASPEED
+
config ASPEED_HACE
bool "ASPEED Hash and Crypto Engine"
depends on DM_HASH
@@ -38,3 +40,5 @@ config ASPEED_CPTRA_ECDSA
Enabling this allows the use of ECDSA384 signature verification in hardware.
Note that only ECDSA384 is supported by Caliptra.
+
+endif