* [PATCH v1] crypto: fsl: init caam_jr driver
@ 2026-03-24 16:30 Heiko Schocher
2026-03-26 8:12 ` Peng Fan
0 siblings, 1 reply; 2+ messages in thread
From: Heiko Schocher @ 2026-03-24 16:30 UTC (permalink / raw)
To: U-Boot Mailing List
Cc: Fabio Estevam, Heiko Schocher, Gaurav Jain, Peng Fan, Tom Rini
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@nabladev.com>
Suggested-by: Fabio Estevam <festevam@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] crypto: fsl: init caam_jr driver
2026-03-24 16:30 [PATCH v1] crypto: fsl: init caam_jr driver Heiko Schocher
@ 2026-03-26 8:12 ` Peng Fan
0 siblings, 0 replies; 2+ messages in thread
From: Peng Fan @ 2026-03-26 8:12 UTC (permalink / raw)
To: Heiko Schocher
Cc: U-Boot Mailing List, Fabio Estevam, Gaurav Jain, Peng Fan,
Tom Rini
On Tue, Mar 24, 2026 at 05:30:36PM +0100, Heiko Schocher wrote:
>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@nabladev.com>
>Suggested-by: Fabio Estevam <festevam@nabladev.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-26 8:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-24 16:30 [PATCH v1] crypto: fsl: init caam_jr driver Heiko Schocher
2026-03-26 8:12 ` Peng Fan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox