This patch turns the new SHA driver into a tristate and also allows compile testing. Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 5d7508230b7d..97455a5f05c1 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -809,8 +809,8 @@ config CRYPTO_DEV_ZYNQMP_AES for AES algorithms. config CRYPTO_DEV_ZYNQMP_SHA3 - bool "Support for Xilinx ZynqMP SHA3 hardware accelerator" - depends on ZYNQMP_FIRMWARE + tristate "Support for Xilinx ZynqMP SHA3 hardware accelerator" + depends on ZYNQMP_FIRMWARE || COMPILE_TEST select CRYPTO_SHA3 help Xilinx ZynqMP has SHA3 engine used for secure hash calculation. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt