Skip to content

Commit fe86753

Browse files
linuswherbertx
authored andcommitted
crypto: stm32 - enable drivers to be used on Ux500
The Ux500 cryp and hash drivers are older versions of the hardware managed by the stm32 driver. Instead of trying to improve the Ux500 cryp and hash drivers, start to switch over to the modern and more well-maintained STM32 drivers. Cc: Maxime Coquelin <[email protected]> Cc: Alexandre Torgue <[email protected]> Acked-by: Lionel Debieve <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 6c01367 commit fe86753

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/crypto/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ obj-$(CONFIG_CRYPTO_DEV_S5P) += s5p-sss.o
4141
obj-$(CONFIG_CRYPTO_DEV_SA2UL) += sa2ul.o
4242
obj-$(CONFIG_CRYPTO_DEV_SAHARA) += sahara.o
4343
obj-$(CONFIG_CRYPTO_DEV_SL3516) += gemini/
44-
obj-$(CONFIG_ARCH_STM32) += stm32/
44+
obj-y += stm32/
4545
obj-$(CONFIG_CRYPTO_DEV_TALITOS) += talitos.o
4646
obj-$(CONFIG_CRYPTO_DEV_UX500) += ux500/
4747
obj-$(CONFIG_CRYPTO_DEV_VIRTIO) += virtio/

drivers/crypto/stm32/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ config CRYPTO_DEV_STM32_CRC
1010

1111
config CRYPTO_DEV_STM32_HASH
1212
tristate "Support for STM32 hash accelerators"
13-
depends on ARCH_STM32
13+
depends on ARCH_STM32 || ARCH_U8500
1414
depends on HAS_DMA
1515
select CRYPTO_HASH
1616
select CRYPTO_MD5
@@ -23,7 +23,7 @@ config CRYPTO_DEV_STM32_HASH
2323

2424
config CRYPTO_DEV_STM32_CRYP
2525
tristate "Support for STM32 cryp accelerators"
26-
depends on ARCH_STM32
26+
depends on ARCH_STM32 || ARCH_U8500
2727
select CRYPTO_HASH
2828
select CRYPTO_ENGINE
2929
select CRYPTO_LIB_DES

0 commit comments

Comments
 (0)