[Part2,v9,09/38] crypto: ccp: Build the AMD secure processor driver only with AMD CPU support
diff mbox

Message ID 20171205010438.5773-10-brijesh.singh@amd.com
State Not Applicable
Delegated to: Herbert Xu
Headers show

Commit Message

Singh, Brijesh Dec. 5, 2017, 1:04 a.m. UTC
From: Borislav Petkov <bp@suse.de>

This is AMD-specific hardware so present it in Kconfig only when AMD
CPU support is enabled or on ARM64 where it is also used.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Gary R Hook <gary.hook@amd.com>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Gary Hook <gary.hook@amd.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-crypto@vger.kernel.org
 drivers/crypto/ccp/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff mbox

diff --git a/drivers/crypto/ccp/Kconfig b/drivers/crypto/ccp/Kconfig
index 6d626606b9c5..9c84f9838931 100644
--- a/drivers/crypto/ccp/Kconfig
+++ b/drivers/crypto/ccp/Kconfig
@@ -1,5 +1,6 @@ 
 	tristate "Secure Processor device driver"
+	depends on CPU_SUP_AMD || ARM64
 	default m
 	  Provides AMD Secure Processor device driver.