From: Emanuele Ghidoli Date: Fri, 24 Oct 2025 05:40:32 +0000 (+0200) Subject: arm: imx8: select ARCH_MISC_INIT if FSL_CAAM is enabled X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6f319f035c7c8b04f95e3252ac136c128357871;p=thirdparty%2Fu-boot.git arm: imx8: select ARCH_MISC_INIT if FSL_CAAM is enabled Commit 2a7acc865b9d ("configs: colibri-imx8x: enable RNG support for KASLR") enables FSL_CAAM which requires initialization in arch_misc_init(). The ARCH_MISC_INIT configuration was added to the relevant defconfig. Commit d0ed9636902b ("global: Make ARCH_MISC_INIT a selected symbol") changed ARCH_MISC_INIT to require explicit selection by the developer. With this change the colibri-imx8x defconfig is no longer sufficient to enable ARCH_MISC_INIT when FSL_CAAM is selected. Add the necessary selection to automatically enable ARCH_MISC_INIT when FSL_CAAM is enabled on i.MX8 platforms. Fixes: d0ed9636902b ("global: Make ARCH_MISC_INIT a selected symbol") Signed-off-by: Emanuele Ghidoli Reviewed-by: Peng Fan --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index ef834542bd4..1028764b742 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -898,6 +898,7 @@ config ARCH_LPC32XX config ARCH_IMX8 bool "NXP i.MX8 platform" + select ARCH_MISC_INIT if FSL_CAAM select ARM64 select SYS_FSL_HAS_SEC select SYS_FSL_SEC_COMPAT_4