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

crypto: ccp - CCP Kconfig fixes

Update the Kconfig to include PCI on the 'depends on'
and add 'select HW_RANDOM' to insure the necessary PCI
and HW_RANDOM functions are available/included in the
build.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Tom Lendacky and committed by
Herbert Xu
d5aa8095 6f0be9b2

+2 -1
+1 -1
drivers/crypto/Kconfig
··· 401 401 402 402 config CRYPTO_DEV_CCP 403 403 bool "Support for AMD Cryptographic Coprocessor" 404 - depends on X86 404 + depends on X86 && PCI 405 405 default n 406 406 help 407 407 The AMD Cryptographic Coprocessor provides hardware support
+1
drivers/crypto/ccp/Kconfig
··· 2 2 tristate "Cryptographic Coprocessor device driver" 3 3 depends on CRYPTO_DEV_CCP 4 4 default m 5 + select HW_RANDOM 5 6 help 6 7 Provides the interface to use the AMD Cryptographic Coprocessor 7 8 which can be used to accelerate or offload encryption operations