summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-07-04 15:45:42 -0600
committerTom Rini <[email protected]>2025-07-11 11:33:25 -0600
commitd0ed9636902bc5c0d7ea5f73926441241acb6051 (patch)
tree2c6a33938bb753564140fa58490056d8df43c693 /common/Kconfig
parent0d50d5fc52f0fe54f5d80bb9543f92f362c8b80a (diff)
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 <[email protected]> Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 17539079f90..a2f653f7e72 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -704,8 +704,9 @@ config ARCH_EARLY_INIT_R
enabled. This can be used to set up architecture-specific devices.
config ARCH_MISC_INIT
- bool "Call arch-specific init after relocation, when console is ready"
+ bool
help
+ Call arch-specific init after relocation, when console is ready.
With this option U-Boot will call arch_misc_init() after
relocation to allow miscellaneous arch-dependent initialisation
to be performed. This function should be defined by the board