[U-Boot] [PATCH 1/2] common: Kconfig: Add BOARD_LATE_INIT entry

Jagan Teki jagan at openedev.com
Sat Jan 21 11:48:32 CET 2017

This patch add Kconfig entry for CONFIG_BOARD_LATE_INIT

Cc: Tom Rini <trini at konsulko.com>
Signed-off-by: Jagan Teki <jagan at openedev.com>
 common/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/common/Kconfig b/common/Kconfig
index a04ee10..bb47ee4 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -373,6 +373,16 @@ config VERSION_VARIABLE
 	  Any change to this variable will be reverted at the
 	  next reset.
+	bool "Enable Board late init code"
+	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.
 	bool "Display information about the CPU during start up"
 	default y if ARM || BLACKFIN || NIOS2 || X86 || XTENSA

More information about the U-Boot mailing list