summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2013-12-10 10:38:39 -0600
committerHerbert Xu <herbert@gondor.apana.org.au>2013-12-20 20:06:20 +0800
commitd5aa80952aba9071b50a74c8daf7feb1caa2fd8c (patch)
tree12ccdc351bd9f9ef36c00bee66813013714246ba /drivers/crypto
parent6f0be9b26621cefa6709b1d8bc15388eaf763126 (diff)
downloadop-kernel-dev-d5aa80952aba9071b50a74c8daf7feb1caa2fd8c.zip
op-kernel-dev-d5aa80952aba9071b50a74c8daf7feb1caa2fd8c.tar.gz
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>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/Kconfig2
-rw-r--r--drivers/crypto/ccp/Kconfig1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 4954d75..9dee00f 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -401,7 +401,7 @@ config CRYPTO_DEV_ATMEL_SHA
config CRYPTO_DEV_CCP
bool "Support for AMD Cryptographic Coprocessor"
- depends on X86
+ depends on X86 && PCI
default n
help
The AMD Cryptographic Coprocessor provides hardware support
diff --git a/drivers/crypto/ccp/Kconfig b/drivers/crypto/ccp/Kconfig
index 335ed5c..7639ffc 100644
--- a/drivers/crypto/ccp/Kconfig
+++ b/drivers/crypto/ccp/Kconfig
@@ -2,6 +2,7 @@ config CRYPTO_DEV_CCP_DD
tristate "Cryptographic Coprocessor device driver"
depends on CRYPTO_DEV_CCP
default m
+ select HW_RANDOM
help
Provides the interface to use the AMD Cryptographic Coprocessor
which can be used to accelerate or offload encryption operations
OpenPOWER on IntegriCloud