public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Add misc_init_r support to AVR32
@ 2009-12-17 12:56 Semih Hazar
  0 siblings, 0 replies; only message in thread
From: Semih Hazar @ 2009-12-17 12:56 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-17 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17 12:56 [U-Boot] [PATCH] Add misc_init_r support to AVR32 Semih Hazar

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