diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2013-12-10 11:38:39 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-12-20 07:06:20 -0500 |
commit | d5aa80952aba9071b50a74c8daf7feb1caa2fd8c (patch) | |
tree | 12ccdc351bd9f9ef36c00bee66813013714246ba /drivers/crypto | |
parent | 6f0be9b26621cefa6709b1d8bc15388eaf763126 (diff) |
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/Kconfig | 2 | ||||
-rw-r--r-- | drivers/crypto/ccp/Kconfig | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 4954d7579c5b..9dee00f257cb 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig | |||
@@ -401,7 +401,7 @@ config CRYPTO_DEV_ATMEL_SHA | |||
401 | 401 | ||
402 | config CRYPTO_DEV_CCP | 402 | config CRYPTO_DEV_CCP |
403 | bool "Support for AMD Cryptographic Coprocessor" | 403 | bool "Support for AMD Cryptographic Coprocessor" |
404 | depends on X86 | 404 | depends on X86 && PCI |
405 | default n | 405 | default n |
406 | help | 406 | help |
407 | The AMD Cryptographic Coprocessor provides hardware support | 407 | The AMD Cryptographic Coprocessor provides hardware support |
diff --git a/drivers/crypto/ccp/Kconfig b/drivers/crypto/ccp/Kconfig index 335ed5cac7a0..7639ffc36c68 100644 --- a/drivers/crypto/ccp/Kconfig +++ b/drivers/crypto/ccp/Kconfig | |||
@@ -2,6 +2,7 @@ config CRYPTO_DEV_CCP_DD | |||
2 | tristate "Cryptographic Coprocessor device driver" | 2 | tristate "Cryptographic Coprocessor device driver" |
3 | depends on CRYPTO_DEV_CCP | 3 | depends on CRYPTO_DEV_CCP |
4 | default m | 4 | default m |
5 | select HW_RANDOM | ||
5 | help | 6 | help |
6 | Provides the interface to use the AMD Cryptographic Coprocessor | 7 | Provides the interface to use the AMD Cryptographic Coprocessor |
7 | which can be used to accelerate or offload encryption operations | 8 | which can be used to accelerate or offload encryption operations |