Commit d5aa8095 authored by Tom Lendacky's avatar Tom Lendacky Committed by Herbert Xu
Browse files

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: default avatarTom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 6f0be9b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -401,7 +401,7 @@ config CRYPTO_DEV_ATMEL_SHA


config CRYPTO_DEV_CCP
config CRYPTO_DEV_CCP
	bool "Support for AMD Cryptographic Coprocessor"
	bool "Support for AMD Cryptographic Coprocessor"
	depends on X86
	depends on X86 && PCI
	default n
	default n
	help
	help
	  The AMD Cryptographic Coprocessor provides hardware support
	  The AMD Cryptographic Coprocessor provides hardware support
+1 −0
Original line number Original line Diff line number Diff line
@@ -2,6 +2,7 @@ config CRYPTO_DEV_CCP_DD
	tristate "Cryptographic Coprocessor device driver"
	tristate "Cryptographic Coprocessor device driver"
	depends on CRYPTO_DEV_CCP
	depends on CRYPTO_DEV_CCP
	default m
	default m
	select HW_RANDOM
	help
	help
	  Provides the interface to use the AMD Cryptographic Coprocessor
	  Provides the interface to use the AMD Cryptographic Coprocessor
	  which can be used to accelerate or offload encryption operations
	  which can be used to accelerate or offload encryption operations