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

login
register
mail settings
Submitter Simon Glass
Date April 18, 2013, 2:13 a.m.
Message ID <1366251228-19884-14-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/237396/
State Accepted, archived
Delegated to: Simon Glass
Headers show

Comments

Simon Glass - April 18, 2013, 2:13 a.m.
From: Doug Anderson <dianders@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@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
 common/board_r.c | 1 +
 1 file changed, 1 insertion(+)

Patch

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