Skip to content

Commit e29dd5c

Browse files
geertuherbertx
authored andcommitted
crypto: sl3516 - Add dependency on ARCH_GEMINI
The Storlink SL3516 crypto engine is only present on Storlink Semiconductor/Storm Semiconductor/Cortina Systems Gemini SoCs. Hence add a dependency on ARCH_GEMINI, to prevent asking the user about this driver when configuring a kernel without Gemini support. While at it, group the dependencies. Fixes: 46c5338 ("crypto: sl3516 - Add sl3516 crypto engine") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent df941fd commit e29dd5c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/crypto/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,13 +268,13 @@ config CRYPTO_DEV_NIAGARA2
268268

269269
config CRYPTO_DEV_SL3516
270270
tristate "Storlink SL3516 crypto offloader"
271-
depends on HAS_IOMEM
271+
depends on ARCH_GEMINI || COMPILE_TEST
272+
depends on HAS_IOMEM && PM
272273
select CRYPTO_SKCIPHER
273274
select CRYPTO_ENGINE
274275
select CRYPTO_ECB
275276
select CRYPTO_AES
276277
select HW_RANDOM
277-
depends on PM
278278
help
279279
This option allows you to have support for SL3516 crypto offloader.
280280

0 commit comments

Comments
 (0)