]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
crypto: aspeed: Tighten some dependencies for the aspeed platforms
authorTom Rini <trini@konsulko.com>
Wed, 2 Jul 2025 01:04:22 +0000 (19:04 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 10 Jul 2025 14:41:00 +0000 (08:41 -0600)
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 <trini@konsulko.com>
drivers/crypto/aspeed/Kconfig
drivers/crypto/hash/Kconfig

index 6efcd7da738266024ee9024d4041b74a7ebdfc58..401225b8528d975066b25a6f9fab5b91ff616deb 100644 (file)
@@ -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
index aa355c44be85caaa153863f4cfb04c50a2a6daba..72b955ac791acb2cef797e324a29eda06181c4bb 100644 (file)
@@ -18,7 +18,7 @@ config HASH_SOFTWARE
 
 config HASH_ASPEED
        bool "Enable Hash with ASPEED hash accelerator"
-       depends on DM_HASH
+       depends on DM_HASH && ARCH_ASPEED
        select ASPEED_HACE
        help
          Enable this to support HW-assisted hashing operations using ASPEED Hash