aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHariprasad Shenai <hariprasad@chelsio.com>2016-08-17 03:03:06 -0400
committerDavid S. Miller <davem@davemloft.net>2016-08-19 03:00:37 -0400
commit02038fd6645a08df1d3b37c12a065940b15ed4fe (patch)
tree5d44547f366b2a3ef511889b125c173a80118556
parent324429d74127d0cc8a1a42d20035f8f986149ec4 (diff)
crypto: Added Chelsio Menu to the Kconfig file
Adds the config entry for the Chelsio Crypto Driver, Makefile changes for the same. Signed-off-by: Atul Gupta <atul.gupta@chelsio.com> Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/crypto/Kconfig2
-rw-r--r--drivers/crypto/Makefile1
-rw-r--r--drivers/crypto/chelsio/Kconfig19
-rw-r--r--drivers/crypto/chelsio/Makefile4
4 files changed, 26 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 1af94e2d1a25..9b035b7d7f4f 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -550,4 +550,6 @@ config CRYPTO_DEV_ROCKCHIP
550 This driver interfaces with the hardware crypto accelerator. 550 This driver interfaces with the hardware crypto accelerator.
551 Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode. 551 Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode.
552 552
553source "drivers/crypto/chelsio/Kconfig"
554
553endif # CRYPTO_HW 555endif # CRYPTO_HW
diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile
index 3c6432dd09d9..ad7250fa1348 100644
--- a/drivers/crypto/Makefile
+++ b/drivers/crypto/Makefile
@@ -31,3 +31,4 @@ obj-$(CONFIG_CRYPTO_DEV_QCE) += qce/
31obj-$(CONFIG_CRYPTO_DEV_VMX) += vmx/ 31obj-$(CONFIG_CRYPTO_DEV_VMX) += vmx/
32obj-$(CONFIG_CRYPTO_DEV_SUN4I_SS) += sunxi-ss/ 32obj-$(CONFIG_CRYPTO_DEV_SUN4I_SS) += sunxi-ss/
33obj-$(CONFIG_CRYPTO_DEV_ROCKCHIP) += rockchip/ 33obj-$(CONFIG_CRYPTO_DEV_ROCKCHIP) += rockchip/
34obj-$(CONFIG_CRYPTO_DEV_CHELSIO) += chelsio/
diff --git a/drivers/crypto/chelsio/Kconfig b/drivers/crypto/chelsio/Kconfig
new file mode 100644
index 000000000000..4ce67fb9a880
--- /dev/null
+++ b/drivers/crypto/chelsio/Kconfig
@@ -0,0 +1,19 @@
1config CRYPTO_DEV_CHELSIO
2 tristate "Chelsio Crypto Co-processor Driver"
3 depends on CHELSIO_T4
4 select CRYPTO_SHA1
5 select CRYPTO_SHA256
6 select CRYPTO_SHA512
7 ---help---
8 The Chelsio Crypto Co-processor driver for T6 adapters.
9
10 For general information about Chelsio and our products, visit
11 our website at <http://www.chelsio.com>.
12
13 For customer support, please visit our customer support page at
14 <http://www.chelsio.com/support.html>.
15
16 Please send feedback to <linux-bugs@chelsio.com>.
17
18 To compile this driver as a module, choose M here: the module
19 will be called chcr.
diff --git a/drivers/crypto/chelsio/Makefile b/drivers/crypto/chelsio/Makefile
new file mode 100644
index 000000000000..bebdf06687ad
--- /dev/null
+++ b/drivers/crypto/chelsio/Makefile
@@ -0,0 +1,4 @@
1ccflags-y := -Idrivers/net/ethernet/chelsio/cxgb4
2
3obj-$(CONFIG_CRYPTO_DEV_CHELSIO) += chcr.o
4chcr-objs := chcr_core.o chcr_algo.o