Skip to content

Commit

Permalink
crypto: sl3516 - Add dependency on ARCH_GEMINI
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
geertu authored and herbertx committed Jun 28, 2021
1 parent df941fd commit e29dd5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -268,13 +268,13 @@ config CRYPTO_DEV_NIAGARA2

config CRYPTO_DEV_SL3516
tristate "Storlink SL3516 crypto offloader"
depends on HAS_IOMEM
depends on ARCH_GEMINI || COMPILE_TEST
depends on HAS_IOMEM && PM
select CRYPTO_SKCIPHER
select CRYPTO_ENGINE
select CRYPTO_ECB
select CRYPTO_AES
select HW_RANDOM
depends on PM
help
This option allows you to have support for SL3516 crypto offloader.

Expand Down

0 comments on commit e29dd5c

Please sign in to comment.