summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccp/Makefile
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2014-06-05 10:17:57 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2014-06-20 21:26:14 +0800
commitc4f4b325e9c885b11901174158d5e1ff4b19a189 (patch)
tree5dd00e9be91a839fc563f8d035f792833afbbbae /drivers/crypto/ccp/Makefile
parent1ad348f4510f57163e4790ad202c81908d223edc (diff)
downloadlinux-c4f4b325e9c885b11901174158d5e1ff4b19a189.tar.bz2
crypto: ccp - Add platform device support for arm64
Add support for the CCP on arm64 as a platform device. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/Makefile')
-rw-r--r--drivers/crypto/ccp/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/Makefile b/drivers/crypto/ccp/Makefile
index d3505a018720..7f592d8d07bb 100644
--- a/drivers/crypto/ccp/Makefile
+++ b/drivers/crypto/ccp/Makefile
@@ -1,6 +1,11 @@
obj-$(CONFIG_CRYPTO_DEV_CCP_DD) += ccp.o
ccp-objs := ccp-dev.o ccp-ops.o
+ifdef CONFIG_X86
ccp-objs += ccp-pci.o
+endif
+ifdef CONFIG_ARM64
+ccp-objs += ccp-platform.o
+endif
obj-$(CONFIG_CRYPTO_DEV_CCP_CRYPTO) += ccp-crypto.o
ccp-crypto-objs := ccp-crypto-main.o \