[U-Boot] [PATCH 13/19] Call bootstage_relocate() after malloc is initted

Simon Glass sjg at chromium.org
Thu Apr 18 04:13:42 CEST 2013


From: Doug Anderson <dianders at chromium.org>

In a previous CL we added the bootstage_relocate(), which should be
called after malloc is initted.  Now we call it on generic board.

Signed-off-by: Doug Anderson <dianders at chromium.org>
Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
 common/board_r.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/board_r.c b/common/board_r.c
index 2b17fa6..a364ef24 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -761,6 +761,7 @@ init_fnc_t init_sequence_r[] = {
 #endif
 	initr_barrier,
 	initr_malloc,
+	bootstage_relocate,
 #ifdef CONFIG_ARCH_EARLY_INIT_R
 	arch_early_init_r,
 #endif
-- 
1.8.2.1



More information about the U-Boot mailing list