Skip to content

Commit 6482023

Browse files
SruChallaherbertx
authored andcommitted
crypto: marvell - enable OcteonTX cpt options for build
Add the OcteonTX cpt options in crypto Kconfig and Makefile Signed-off-by: SrujanaChalla <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 10b4f09 commit 6482023

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

drivers/crypto/marvell/Kconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,19 @@ config CRYPTO_DEV_MARVELL_CESA
1919
Security Accelerator (CESA) which can be found on MVEBU and ORION
2020
platforms.
2121
This driver supports CPU offload through DMA transfers.
22+
23+
config CRYPTO_DEV_OCTEONTX_CPT
24+
tristate "Support for Marvell OcteonTX CPT driver"
25+
depends on ARCH_THUNDER || COMPILE_TEST
26+
depends on PCI_MSI && 64BIT
27+
depends on CRYPTO_LIB_AES
28+
select CRYPTO_SKCIPHER
29+
select CRYPTO_HASH
30+
select CRYPTO_AEAD
31+
select CRYPTO_DEV_MARVELL
32+
help
33+
This driver allows you to utilize the Marvell Cryptographic
34+
Accelerator Unit(CPT) found in OcteonTX series of processors.
35+
36+
To compile this driver as module, choose M here:
37+
the modules will be called octeontx-cpt and octeontx-cptvf

drivers/crypto/marvell/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
obj-$(CONFIG_CRYPTO_DEV_MARVELL_CESA) += cesa/
4+
obj-$(CONFIG_CRYPTO_DEV_OCTEONTX_CPT) += octeontx/

0 commit comments

Comments
 (0)