From ff42d107bfcf2205824d3809ccbc6a94d7646309 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 13 Sep 2015 13:02:48 +0200 Subject: sunxi: Enable CONFIG_SPL_STACK_R Select CONFIG_SPL_STACK_R for sunxi boards, this gives us much more room on the stack once we've the DRAM running. Besides being a good change to have on itself, this also paves the way for switching to using malloc_simple in the SPL which cuts of close to 4KiB of the SPL size. Signed-off-by: Hans de Goede Reviewed-by: Tom Rini --- board/sunxi/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/sunxi/Kconfig') diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 55906b5b760..b3367779af9 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -562,4 +562,8 @@ config GMAC_TX_DELAY ---help--- Set the GMAC Transmit Clock Delay Chain value. +config SPL_STACK_R_ADDR + default 0x4fe00000 if MACH_SUN4I || MACH_SUN5I || MACH_SUN6I || MACH_SUN7I || MACH_SUN8I + default 0x2fe00000 if MACH_SUN9I + endif -- cgit v1.2.3