crypto: ccp: Build the AMD secure processor driver only with AMD CPU support
authorBorislav Petkov <[email protected]>
Mon, 4 Dec 2017 16:57:26 +0000 (10:57 -0600)
committerBrijesh Singh <[email protected]>
Mon, 4 Dec 2017 16:57:26 +0000 (10:57 -0600)
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 <[email protected]>
Signed-off-by: Brijesh Singh <[email protected]>
Reviewed-by: Gary R Hook <[email protected]>
Cc: Brijesh Singh <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Gary Hook <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: [email protected]
drivers/crypto/ccp/Kconfig

index 6d626606b9c51d2edb568ec82c8d37401c30f2a4..9c84f98389319cf9e1b4aaeb5e0ea2c68ff54a43 100644 (file)
@@ -1,5 +1,6 @@
 config CRYPTO_DEV_CCP_DD
        tristate "Secure Processor device driver"
+       depends on CPU_SUP_AMD || ARM64
        default m
        help
          Provides AMD Secure Processor device driver.