summaryrefslogtreecommitdiffstats
path: root/board/sunxi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-09-13 13:02:48 +0200
committerHans de Goede <hdegoede@redhat.com>2015-10-20 18:40:27 +0200
commitff42d107bfcf2205824d3809ccbc6a94d7646309 (patch)
tree8a0a2b6e30217f5f0a2a51d8a8f093ab0536f0b6 /board/sunxi
parentdcfcb8d49a291736623b630ae977e4184590f8fe (diff)
downloadtalos-obmc-uboot-ff42d107bfcf2205824d3809ccbc6a94d7646309.tar.gz
talos-obmc-uboot-ff42d107bfcf2205824d3809ccbc6a94d7646309.zip
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 <hdegoede@redhat.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/sunxi')
-rw-r--r--board/sunxi/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 55906b5b76..b3367779af 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
OpenPOWER on IntegriCloud