From 6482023b9d3350bf1b756ef36e1ea1a1c871879c Mon Sep 17 00:00:00 2001 From: SrujanaChalla Date: Fri, 13 Mar 2020 17:17:08 +0530 Subject: [PATCH] crypto: marvell - enable OcteonTX cpt options for build Add the OcteonTX cpt options in crypto Kconfig and Makefile Signed-off-by: SrujanaChalla Signed-off-by: Herbert Xu --- drivers/crypto/marvell/Kconfig | 16 ++++++++++++++++ drivers/crypto/marvell/Makefile | 1 + 2 files changed, 17 insertions(+) diff --git a/drivers/crypto/marvell/Kconfig b/drivers/crypto/marvell/Kconfig index 8262b14c6287..13063384f958 100644 --- a/drivers/crypto/marvell/Kconfig +++ b/drivers/crypto/marvell/Kconfig @@ -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 diff --git a/drivers/crypto/marvell/Makefile b/drivers/crypto/marvell/Makefile index 2030b0b55e91..6c6a1519b0f1 100644 --- a/drivers/crypto/marvell/Makefile +++ b/drivers/crypto/marvell/Makefile @@ -1,3 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_CRYPTO_DEV_MARVELL_CESA) += cesa/ +obj-$(CONFIG_CRYPTO_DEV_OCTEONTX_CPT) += octeontx/