From: Semih Hazar <semih.hazar@indefia.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Add misc_init_r support to AVR32
Date: Thu, 17 Dec 2009 14:56:53 +0200 [thread overview]
Message-ID: <4B2A2A95.6070906@indefia.com> (raw)
misc_init_r is available in most other platforms and can be used
in board initialization code for late stage stuff.
Signed-off-by: Semih Hazar <semih.hazar@indefia.com>
---
lib_avr32/board.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/lib_avr32/board.c b/lib_avr32/board.c
index 57115df..7459e21 100644
--- a/lib_avr32/board.c
+++ b/lib_avr32/board.c
@@ -354,6 +354,11 @@ void board_init_r(gd_t *new_gd, ulong dest_addr)
jumptable_init();
console_init_r();
+#if defined(CONFIG_MISC_INIT_R)
+ /* miscellaneous platform dependent initialisations */
+ misc_init_r();
+#endif
+
s = getenv("loadaddr");
if (s)
load_addr = simple_strtoul(s, NULL, 16);
--
1.5.4.3
reply other threads:[~2009-12-17 12:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4B2A2A95.6070906@indefia.com \
--to=semih.hazar@indefia.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.