summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHeiko Schocher <[email protected]>2026-03-24 17:30:36 +0100
committerFabio Estevam <[email protected]>2026-04-02 09:07:18 -0300
commitc42db5019df01db7ba6e0b9ed659b6d57ef5c22a (patch)
treee4b5f7efc9b82e1868c4a99d7e7c0c774ab67665 /drivers
parent1e7250ce94dabd7a9d43429b8a5fd2b6efa71a9a (diff)
crypto: fsl: Select ARCH_MISC_INIT for CAAM driver
The CAAM JR driver is initialized from arch_misc_init(). If ARCH_MISC_INIT is not enabled, the driver is never initialized, which can lead to crashes or hangs (e.g. during hash operations). Select ARCH_MISC_INIT when enabling FSL_CAAM to ensure proper initialization. Signed-off-by: Heiko Schocher <[email protected]> Suggested-by: Fabio Estevam <[email protected]> Reviewed-by: Peng Fan <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/fsl/Kconfig1
1 files changed, 1 insertions, 0 deletions
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)