summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-01-23 13:31:20 -0700
committerTom Rini <trini@konsulko.com>2017-01-25 17:38:32 -0500
commita5d67547dd9c7a527dfda1967010e703a22441ff (patch)
tree61fbc8fc661c3b36ae740fe1ed86fbcf08d8d50a /common/Kconfig
parenta421192fb8d49da9a8bc30258c29c51675a1a1c9 (diff)
Convert CONFIG_BOARD_EARLY_INIT_F to Kconfig
This converts the following to Kconfig: CONFIG_BOARD_EARLY_INIT_F Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 8d1156cb6e..2bfcae3d25 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -410,6 +410,16 @@ config ARCH_EARLY_INIT_R
is on. Note that board_early_init_r() is called first, if
enabled. This can be used to set up architecture-specific devices.
+config BOARD_EARLY_INIT_F
+ bool "Call board-specific init before relocation"
+ default y if X86
+ help
+ Some boards need to perform initialisation as soon as possible
+ after boot. With this option, U-Boot calls board_early_init_f()
+ after driver model is ready in the pre-relocation init sequence.
+ Note that the normal serial console is not yet set up, but the
+ debug UART will be available if enabled.
+
endmenu
source "common/spl/Kconfig"