[U-Boot] [PATCH 1/2] Revert "rockchip: Reconfigure the malloc based to point to system memory"

Sjoerd Simons sjoerd.simons at collabora.co.uk
Sun Nov 22 08:21:03 CET 2015


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 at collabora.co.uk>
---

 arch/arm/mach-rockchip/board-spl.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/arm/mach-rockchip/board-spl.c b/arch/arm/mach-rockchip/board-spl.c
index 28c3949..a241d96 100644
--- a/arch/arm/mach-rockchip/board-spl.c
+++ b/arch/arm/mach-rockchip/board-spl.c
@@ -217,13 +217,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)
-- 
2.6.2



More information about the U-Boot mailing list