summaryrefslogtreecommitdiff
path: root/drivers/crypto/bcm/Makefile
diff options
context:
space:
mode:
authorRob Rice <rob.rice@broadcom.com>2017-02-03 20:55:33 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-11 12:55:20 +0300
commit9d12ba86f818aa9cfe9f01b750336aa441f2ffa2 (patch)
tree1a155767f100c58ddf0d0cc51ac1f095798409b9 /drivers/crypto/bcm/Makefile
parent206dc4fc27be61732db4800f78c7c3ef74d6441e (diff)
downloadlinux-9d12ba86f818aa9cfe9f01b750336aa441f2ffa2.tar.xz
crypto: brcm - Add Broadcom SPU driver
Add Broadcom Secure Processing Unit (SPU) crypto driver for SPU hardware crypto offload. The driver supports ablkcipher, ahash, and aead symmetric crypto operations. Signed-off-by: Steve Lin <steven.lin1@broadcom.com> Signed-off-by: Rob Rice <rob.rice@broadcom.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/bcm/Makefile')
-rw-r--r--drivers/crypto/bcm/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/crypto/bcm/Makefile b/drivers/crypto/bcm/Makefile
new file mode 100644
index 000000000000..13cb80eb2665
--- /dev/null
+++ b/drivers/crypto/bcm/Makefile
@@ -0,0 +1,15 @@
+# File: drivers/crypto/bcm/Makefile
+#
+# Makefile for crypto acceleration files for Broadcom SPU driver
+#
+# Uncomment to enable debug tracing in the SPU driver.
+# CFLAGS_util.o := -DDEBUG
+# CFLAGS_cipher.o := -DDEBUG
+# CFLAGS_spu.o := -DDEBUG
+# CFLAGS_spu2.o := -DDEBUG
+
+obj-$(CONFIG_CRYPTO_DEV_BCM_SPU) := bcm_crypto_spu.o
+
+bcm_crypto_spu-objs := util.o spu.o spu2.o cipher.o
+
+ccflags-y += -I. -DBCMDRIVER