summaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2013-04-17 16:13:42 +0000
committerSimon Glass <sjg@chromium.org>2013-05-13 13:33:21 -0700
commit158e7d059c3493f33147d4027dfa0306e1bd1179 (patch)
tree7bf8ae9a4c6432117f9ca4ab83fec205dc67f9b4 /common/board_r.c
parent150678a5820bed338c1c8de570c451bc77c15900 (diff)
downloadu-boot-158e7d059c3493f33147d4027dfa0306e1bd1179.tar.gz
Call bootstage_relocate() after malloc is initted
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>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c
index f801e41103..fd1fd319b6 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -765,6 +765,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