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 <trini@konsulko.com>
This commit is contained in:
Tom Rini 2025-07-01 19:04:22 -06:00
parent 60b2eb40d1
commit dbe1fa4d26
2 changed files with 5 additions and 1 deletions

View 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

View 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