arm: imx8: select ARCH_MISC_INIT if FSL_CAAM is enabled
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>
Fri, 24 Oct 2025 05:40:32 +0000 (07:40 +0200)
committerFabio Estevam <festevam@gmail.com>
Thu, 30 Oct 2025 15:39:28 +0000 (12:39 -0300)
commitf6f319f035c7c8b04f95e3252ac136c128357871
treeed6ea7ed1dd833e7c1d5e37f435956bfdf0d6588
parent4772cf97f083a5fcdcbd497b42edc4d46f6a17e9
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 <emanuele.ghidoli@toradex.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/Kconfig