[PATCH v1] crypto: fsl: init caam_jr driver
Heiko Schocher
hs at nabladev.com
Tue Mar 24 17:30:36 CET 2026
select ARCH_MISC_INIT Kconfig symbol when enabling
freescales crypto driver support, as the init of
the caam_jr driver is done in arch_misc_init and
not enabling ARCH_MISC_INIT leads in crashes, hangs
for example in hash calculations, as caam-jr driver
is not initialized.
Signed-off-by: Heiko Schocher <hs at nabladev.com>
Suggested-by: Fabio Estevam <festevam at nabladev.com>
---
Azure build:
https://dev.azure.com/hs0298/hs/_build/results?buildId=206&view=results
drivers/crypto/fsl/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/crypto/fsl/Kconfig b/drivers/crypto/fsl/Kconfig
index fe694f6022c..eb01c6cf700 100644
--- a/drivers/crypto/fsl/Kconfig
+++ b/drivers/crypto/fsl/Kconfig
@@ -3,6 +3,7 @@ if ARM || PPC
config FSL_CAAM
bool "Freescale Crypto Driver Support"
select SHA_HW_ACCEL
+ select ARCH_MISC_INIT
# hw_sha1() under drivers/crypto, and needed with SHA_HW_ACCEL
select MISC if DM
imply SPL_CRYPTO if (ARM && SPL)
--
2.20.1
base-commit: eb95914b9f5886b7ca0eaa2dbcd8a66bb8e5f81a
More information about the U-Boot
mailing list