public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] common: Kconfig: Add BOARD_LATE_INIT entry
@ 2017-01-21 10:48 Jagan Teki
  2017-01-21 10:48 ` [U-Boot] [PATCH 2/2] config: Move CONFIG_BOARD_LATE_INIT to defconfigs Jagan Teki
  2017-01-21 23:02 ` [U-Boot] [PATCH 1/2] common: Kconfig: Add BOARD_LATE_INIT entry Tom Rini
  0 siblings, 2 replies; 7+ messages in thread
From: Jagan Teki @ 2017-01-21 10:48 UTC (permalink / raw)
  To: u-boot

This patch add Kconfig entry for CONFIG_BOARD_LATE_INIT

Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jagan@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.
 
+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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-22 14:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-21 10:48 [U-Boot] [PATCH 1/2] common: Kconfig: Add BOARD_LATE_INIT entry Jagan Teki
2017-01-21 10:48 ` [U-Boot] [PATCH 2/2] config: Move CONFIG_BOARD_LATE_INIT to defconfigs Jagan Teki
2017-01-21 23:02   ` Tom Rini
2017-01-22  3:45     ` Masahiro Yamada
2017-01-22  4:09       ` Tom Rini
2017-01-22 14:41         ` Tom Rini
2017-01-21 23:02 ` [U-Boot] [PATCH 1/2] common: Kconfig: Add BOARD_LATE_INIT entry Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox