global: Make ARCH_MISC_INIT a selected symbol
authorTom Rini <trini@konsulko.com>
Fri, 4 Jul 2025 21:45:42 +0000 (15:45 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Jul 2025 17:33:25 +0000 (11:33 -0600)
commitd0ed9636902bc5c0d7ea5f73926441241acb6051
tree2c6a33938bb753564140fa58490056d8df43c693
parent0d50d5fc52f0fe54f5d80bb9543f92f362c8b80a
global: Make ARCH_MISC_INIT a selected symbol

This symbol is not something that the user should be enabling or
disabling but rather the developer for a particular board should select
it when required.

This is mostly size neutral, however a few places do have changes. In
the case of i.MX6ULL systems, it is always the case that
arch_misc_init() could call setup_serial_number() and do useful work,
but was not enabled widely, but now is. In the case of i.MX23/28
systems, we should be able to call mx28_fixup_vt() again here, so do so.
Finally, some platforms were calling arch_misc_init() and then not doing
anything and this results in removing the option.

Acked-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/Kconfig
arch/arm/cpu/armv7/ls102xa/Kconfig
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
arch/arm/mach-imx/imx9/Kconfig
arch/arm/mach-imx/mx6/Kconfig
arch/arm/mach-omap2/am33xx/Kconfig
arch/mips/mach-octeon/Kconfig
board/toradex/verdin-imx8mm/spl.c
common/Kconfig