public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jagan Teki <jagan@openedev.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] common: Kconfig: Add BOARD_LATE_INIT entry
Date: Sat, 21 Jan 2017 11:48:32 +0100	[thread overview]
Message-ID: <1484995713-3092-1-git-send-email-jagan@openedev.com> (raw)

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

             reply	other threads:[~2017-01-21 10:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-21 10:48 Jagan Teki [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1484995713-3092-1-git-send-email-jagan@openedev.com \
    --to=jagan@openedev.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox