]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
crypto: fsl: Select ARCH_MISC_INIT for CAAM driver
authorHeiko Schocher <hs@nabladev.com>
Tue, 24 Mar 2026 16:30:36 +0000 (17:30 +0100)
committerFabio Estevam <festevam@nabladev.com>
Thu, 2 Apr 2026 12:07:18 +0000 (09:07 -0300)
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 <hs@nabladev.com>
Suggested-by: Fabio Estevam <festevam@nabladev.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/crypto/fsl/Kconfig

index fe694f6022c25e3977fd6a374775d09a6871a8b7..eb01c6cf7003fba29d421daf8924cf1e3fd4ca65 100644 (file)
@@ -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)