[U-Boot] [PATCH 12/17] SPARC: added optional cpu_late_init routine.
Daniel Hellstrom
daniel at gaisler.com
Thu Jan 28 13:16:31 CET 2010
Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>
---
lib_sparc/board.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/lib_sparc/board.c b/lib_sparc/board.c
index 11eea60..d829af0 100644
--- a/lib_sparc/board.c
+++ b/lib_sparc/board.c
@@ -65,6 +65,7 @@ extern void timer_interrupt_init(void);
extern void malloc_bin_reloc(void);
extern int do_ambapp_print(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]);
extern int prom_init(void);
+extern void cpu_late_init(void);
#if defined(CONFIG__CMD_DOC)
void doc_init(void);
@@ -353,6 +354,10 @@ void board_init_f(ulong bootflag)
/* relocate environment function pointers etc. */
env_relocate();
+#if defined(CONFIG_CPU_LATE_INIT)
+ cpu_late_init();
+#endif
+
#if defined(CONFIG_BOARD_LATE_INIT)
board_late_init();
#endif
--
1.5.4
More information about the U-Boot
mailing list