Skip to content

Commit 3914b93

Browse files
montjoieherbertx
authored andcommitted
crypto: allwinner - Add allwinner subdirectory
Since a second Allwinner crypto driver will be added, it is better to create a dedicated subdirectory. Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Corentin Labbe <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent a524851 commit 3914b93

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,12 @@ L: [email protected]
688688
S: Maintained
689689
F: drivers/crypto/sunxi-ss/
690690

691+
ALLWINNER CRYPTO DRIVERS
692+
M: Corentin Labbe <[email protected]>
693+
694+
S: Maintained
695+
F: drivers/crypto/allwinner/
696+
691697
ALLWINNER VPU DRIVER
692698
M: Maxime Ripard <[email protected]>
693699
M: Paul Kocialkowski <[email protected]>

drivers/crypto/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ menuconfig CRYPTO_HW
1111

1212
if CRYPTO_HW
1313

14+
source "drivers/crypto/allwinner/Kconfig"
15+
1416
config CRYPTO_DEV_PADLOCK
1517
tristate "Support for VIA PadLock ACE"
1618
depends on X86 && !UML

drivers/crypto/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0
2+
obj-$(CONFIG_CRYPTO_DEV_ALLWINNER) += allwinner/
23
obj-$(CONFIG_CRYPTO_DEV_ATMEL_AES) += atmel-aes.o
34
obj-$(CONFIG_CRYPTO_DEV_ATMEL_SHA) += atmel-sha.o
45
obj-$(CONFIG_CRYPTO_DEV_ATMEL_TDES) += atmel-tdes.o

drivers/crypto/allwinner/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
config CRYPTO_DEV_ALLWINNER
2+
bool "Support for Allwinner cryptographic offloader"
3+
depends on ARCH_SUNXI || COMPILE_TEST
4+
default y if ARCH_SUNXI
5+
help
6+
Say Y here to get to see options for Allwinner hardware crypto devices

0 commit comments

Comments
 (0)