aboutsummaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSimon Glass2017-01-23 13:31:19 -0700
committerTom Rini2017-01-25 16:43:48 -0500
commita421192fb8d49da9a8bc30258c29c51675a1a1c9 (patch)
tree5fdfb50ec403b68d91cacfb4bb26926a5a9e9bc0 /common/Kconfig
parentd02f5ea30188e958ae25ee8aee21213dd3d2666b (diff)
Convert CONFIG_ARCH_EARLY_INIT_R to Kconfig
This converts the following to Kconfig: CONFIG_ARCH_EARLY_INIT_R Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index f045a166b21..8d1156cb6e8 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -399,4 +399,17 @@ config DISPLAY_BOARDINFO
when U-Boot starts up. The board function checkboard() is called
to do this.
+menu "Start-up hooks"
+
+config ARCH_EARLY_INIT_R
+ bool "Call arch-specific init soon after relocation"
+ default y if X86
+ help
+ With this option U-Boot will call arch_early_init_r() soon after
+ relocation. Driver model is running by this point, and the cache
+ is on. Note that board_early_init_r() is called first, if
+ enabled. This can be used to set up architecture-specific devices.
+
+endmenu
+
source "common/spl/Kconfig"