]> git.sur5r.net Git - u-boot/commitdiff
Call bootstage_relocate() after malloc is initted
authorDoug Anderson <dianders@chromium.org>
Wed, 17 Apr 2013 16:13:42 +0000 (16:13 +0000)
committerSimon Glass <sjg@chromium.org>
Mon, 13 May 2013 20:33:21 +0000 (13:33 -0700)
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

index f801e411030abad9bf21b2acb1beb8f28ff650f9..fd1fd319b6351cfce2c4dff0b6a4860259d7b3e8 100644 (file)
@@ -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