Skip to content

Commit 0e03b8f

Browse files
committed
crypto: xilinx - Turn SHA into a tristate and allow COMPILE_TEST
This patch turns the new SHA driver into a tristate and also allows compile testing. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent a5997f1 commit 0e03b8f

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
@@ -809,8 +809,8 @@ config CRYPTO_DEV_ZYNQMP_AES
809809
for AES algorithms.
810810

811811
config CRYPTO_DEV_ZYNQMP_SHA3
812-
bool "Support for Xilinx ZynqMP SHA3 hardware accelerator"
813-
depends on ZYNQMP_FIRMWARE
812+
tristate "Support for Xilinx ZynqMP SHA3 hardware accelerator"
813+
depends on ZYNQMP_FIRMWARE || COMPILE_TEST
814814
select CRYPTO_SHA3
815815
help
816816
Xilinx ZynqMP has SHA3 engine used for secure hash calculation.

0 commit comments

Comments
 (0)