48e7fbf662
A platform option like AMBA should never be selected by a driver. Use a dependency instead. Also remove the depenency on DMADEVICES because the driver builds just fine without it. Instead add a dependency on HAS_DMA for dma mapping support. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reported-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
20 lines
555 B
Plaintext
20 lines
555 B
Plaintext
#
|
|
# StarFive crypto drivers configuration
|
|
#
|
|
|
|
config CRYPTO_DEV_JH7110
|
|
tristate "StarFive JH7110 cryptographic engine driver"
|
|
depends on SOC_STARFIVE || AMBA_PL08X || COMPILE_TEST
|
|
depends on HAS_DMA
|
|
select CRYPTO_ENGINE
|
|
select CRYPTO_HMAC
|
|
select CRYPTO_SHA256
|
|
select CRYPTO_SHA512
|
|
select CRYPTO_SM3_GENERIC
|
|
help
|
|
Support for StarFive JH7110 crypto hardware acceleration engine.
|
|
This module provides acceleration for public key algo,
|
|
skciphers, AEAD and hash functions.
|
|
|
|
If you choose 'M' here, this module will be called jh7110-crypto.
|