Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: starfive - Depend on AMBA_PL08X instead of selecting it

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>

+2 -3
+2 -3
drivers/crypto/starfive/Kconfig
··· 4 4 5 5 config CRYPTO_DEV_JH7110 6 6 tristate "StarFive JH7110 cryptographic engine driver" 7 - depends on (SOC_STARFIVE || COMPILE_TEST) && DMADEVICES 7 + depends on SOC_STARFIVE || AMBA_PL08X || COMPILE_TEST 8 + depends on HAS_DMA 8 9 select CRYPTO_ENGINE 9 10 select CRYPTO_HMAC 10 11 select CRYPTO_SHA256 11 12 select CRYPTO_SHA512 12 13 select CRYPTO_SM3_GENERIC 13 - select ARM_AMBA 14 - select AMBA_PL08X 15 14 help 16 15 Support for StarFive JH7110 crypto hardware acceleration engine. 17 16 This module provides acceleration for public key algo,