crypto: marvell - enable OcteonTX cpt options for build
authorSrujanaChalla <schalla@marvell.com>
Fri, 13 Mar 2020 11:47:08 +0000 (17:17 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Mar 2020 03:36:52 +0000 (14:36 +1100)
Add the OcteonTX cpt options in crypto Kconfig and Makefile

Signed-off-by: SrujanaChalla <schalla@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/Kconfig
drivers/crypto/marvell/Makefile

index 8262b14..1306338 100644 (file)
@@ -19,3 +19,19 @@ config CRYPTO_DEV_MARVELL_CESA
          Security Accelerator (CESA) which can be found on MVEBU and ORION
          platforms.
          This driver supports CPU offload through DMA transfers.
+
+config CRYPTO_DEV_OCTEONTX_CPT
+       tristate "Support for Marvell OcteonTX CPT driver"
+       depends on ARCH_THUNDER || COMPILE_TEST
+       depends on PCI_MSI && 64BIT
+       depends on CRYPTO_LIB_AES
+       select CRYPTO_SKCIPHER
+       select CRYPTO_HASH
+       select CRYPTO_AEAD
+       select CRYPTO_DEV_MARVELL
+       help
+               This driver allows you to utilize the Marvell Cryptographic
+               Accelerator Unit(CPT) found in OcteonTX series of processors.
+
+               To compile this driver as module, choose M here:
+               the modules will be called octeontx-cpt and octeontx-cptvf
index 2030b0b..6c6a151 100644 (file)
@@ -1,3 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0
 
 obj-$(CONFIG_CRYPTO_DEV_MARVELL_CESA) += cesa/
+obj-$(CONFIG_CRYPTO_DEV_OCTEONTX_CPT) += octeontx/