Kconfig: MISC_INIT_R and BOARD_LATE_INIT -> start-up hooks
These are start-up hooks so put them under that menu. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -435,23 +435,6 @@ endmenu
|
|||||||
|
|
||||||
menu "Init options"
|
menu "Init options"
|
||||||
|
|
||||||
config MISC_INIT_R
|
|
||||||
bool "Execute Misc Init"
|
|
||||||
default y if ARCH_KEYSTONE || ARCH_SUNXI || MPC85xx
|
|
||||||
default y if ARCH_OMAP2PLUS && !AM33XX
|
|
||||||
help
|
|
||||||
Enabling this option calls 'misc_init_r' function
|
|
||||||
|
|
||||||
config BOARD_LATE_INIT
|
|
||||||
bool "Execute Board late init"
|
|
||||||
help
|
|
||||||
Sometimes board require some initialization code that might
|
|
||||||
require once the actual init done, example saving board specific env,
|
|
||||||
boot-modes etc. which eventually done at late.
|
|
||||||
|
|
||||||
So this config enable the late init code with the help of board_late_init
|
|
||||||
function which should defined on respective boards.
|
|
||||||
|
|
||||||
config DISPLAY_CPUINFO
|
config DISPLAY_CPUINFO
|
||||||
bool "Display information about the CPU during start up"
|
bool "Display information about the CPU during start up"
|
||||||
default y if ARC|| ARM || NIOS2 || X86 || XTENSA || M68K
|
default y if ARC|| ARM || NIOS2 || X86 || XTENSA || M68K
|
||||||
@@ -509,6 +492,16 @@ config BOARD_EARLY_INIT_R
|
|||||||
relocation. With this option, U-Boot calls board_early_init_r()
|
relocation. With this option, U-Boot calls board_early_init_r()
|
||||||
in the post-relocation init sequence.
|
in the post-relocation init sequence.
|
||||||
|
|
||||||
|
config BOARD_LATE_INIT
|
||||||
|
bool "Execute Board late init"
|
||||||
|
help
|
||||||
|
Sometimes board require some initialization code that might
|
||||||
|
require once the actual init done, example saving board specific env,
|
||||||
|
boot-modes etc. which eventually done at late.
|
||||||
|
|
||||||
|
So this config enable the late init code with the help of board_late_init
|
||||||
|
function which should defined on respective boards.
|
||||||
|
|
||||||
config LAST_STAGE_INIT
|
config LAST_STAGE_INIT
|
||||||
bool "Call board-specific as last setup step"
|
bool "Call board-specific as last setup step"
|
||||||
help
|
help
|
||||||
@@ -518,6 +511,13 @@ config LAST_STAGE_INIT
|
|||||||
U-Boot calls last_stage_init() before the command-line interpreter is
|
U-Boot calls last_stage_init() before the command-line interpreter is
|
||||||
started.
|
started.
|
||||||
|
|
||||||
|
config MISC_INIT_R
|
||||||
|
bool "Execute Misc Init"
|
||||||
|
default y if ARCH_KEYSTONE || ARCH_SUNXI || MPC85xx
|
||||||
|
default y if ARCH_OMAP2PLUS && !AM33XX
|
||||||
|
help
|
||||||
|
Enabling this option calls 'misc_init_r' function
|
||||||
|
|
||||||
config PCI_INIT_R
|
config PCI_INIT_R
|
||||||
bool "Enumerate PCI buses during init"
|
bool "Enumerate PCI buses during init"
|
||||||
depends on PCI
|
depends on PCI
|
||||||
|
Reference in New Issue
Block a user