crypto: fsl: init caam_jr driver
PATCH 1/1 crypto: fsl: init caam_jr driver
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 <[email protected]>
Suggested-by Fabio Estevam <[email protected]>
---
Azure build:
https://dev.azure.com/hs0298/hs/_build/results?buildId=206&view=results
drivers/crypto/fsl/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/crypto/fsl/Kconfig +1 -0
@@ -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)
Signature · 3 lines
2.20.1 base-commit: eb95914b9f5886b7ca0eaa2dbcd8a66bb8e5f81a
Quoted 9 lines · Heiko Schocher
select
ARCH_MISC_INITKconfigsymbol when enabling freescales crypto driver support, as the init of thecaam_jrdriver is done inarch_misc_initand not enablingARCH_MISC_INITleads in crashes, hangs for example in hash calculations, as caam-jr driver is not initialized.Signed-off-by Heiko Schocher <[email protected]>Suggested-by Fabio Estevam <[email protected]>
Reviewed-by Peng Fan <[email protected]>