mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Marc Reilly <marc@cpdesign.com.au>
To: barebox@lists.infradead.org
Subject: [PATCH v2 1/3] Init env context a bit earlier in initalization sequence.
Date: Tue, 11 Jan 2011 10:40:14 +1100	[thread overview]
Message-ID: <1294702816-21612-2-git-send-email-marc@cpdesign.com.au> (raw)
In-Reply-To: <1294702816-21612-1-git-send-email-marc@cpdesign.com.au>

Ensures subsequent init functions to export environment variables during
init without having to rely on linking order being correct.

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
---
 common/env.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/env.c b/common/env.c
index f81bd46..b72b5d1 100644
--- a/common/env.c
+++ b/common/env.c
@@ -81,7 +81,7 @@ int env_push_context(void)
 	return 0;
 }
 
-late_initcall(env_push_context);
+device_initcall(env_push_context);
 
 /**
  * FIXME
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2011-01-10 23:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10 23:40 [PATCH v2] imx: Save boot source into env during init Marc Reilly
2011-01-10 23:40 ` Marc Reilly [this message]
2011-01-10 23:40 ` [PATCH v2 2/3] imx: add reg definitions for imx25 and imx35 boot source Marc Reilly
2011-01-10 23:40 ` [PATCH v2 3/3] imx(25,35): save boot location into $boot_loc env Marc Reilly
2011-01-11  9:41   ` Sascha Hauer
2011-01-11 10:34     ` [PATCH v2 3/3] imx(25, 35): " Marc Reilly
2011-01-11 10:39       ` Eric Bénard
2011-01-11 11:32       ` [PATCH v2 3/3] imx(25,35): " Sascha Hauer

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=1294702816-21612-2-git-send-email-marc@cpdesign.com.au \
    --to=marc@cpdesign.com.au \
    --cc=barebox@lists.infradead.org \
    /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