From: Jagan Teki <jagan@openedev.com>
Date: Sat, 21 Jan 2017 10:48:32 +0000 (+0100)
Subject: common: Kconfig: Add BOARD_LATE_INIT entry
X-Git-Tag: v2025.01-rc5-pxa1908~7670
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/html/index.html?a=commitdiff_plain;h=de70fefb1b65debb645c0a42bd896de744837dac;p=u-boot.git

common: Kconfig: Add BOARD_LATE_INIT entry

This patch add Kconfig entry for CONFIG_BOARD_LATE_INIT

Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jagan@openedev.com>
---

diff --git a/common/Kconfig b/common/Kconfig
index a04ee1084f..bb47ee4341 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.
 
+config BOARD_LATE_INIT
+	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.
+
 config DISPLAY_CPUINFO
 	bool "Display information about the CPU during start up"
 	default y if ARM || BLACKFIN || NIOS2 || X86 || XTENSA