Revert "rockchip: Reconfigure the malloc based to point to system memory"
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Sun, 22 Nov 2015 07:21:03 +0000 (08:21 +0100)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 15:07:22 +0000 (08:07 -0700)
This patch was merged shortly before the v2015.10 as a minimal fix for
booting on rockchip. Now that the patch series from Hans to do the
relocation in generic code has been merged it can be dropped.

This reverts commit b1f492ca9e0c090209824ff36456d4f131843190.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk3288-board-spl.c

index 0426adf6b7e60995557e6b684031a096d7114260..8199cad3facc20251984605ca4005e91c0b8e093 100644 (file)
@@ -200,13 +200,6 @@ void board_init_f(ulong dummy)
                debug("DRAM init failed: %d\n", ret);
                return;
        }
-
-       /*
-        * Now that DRAM is initialized setup base pointer for simple malloc
-        * into RAM.
-        */
-       gd->malloc_base = CONFIG_SPL_STACK_R_ADDR;
-       gd->malloc_ptr = 0;
 }
 
 static int setup_led(void)