summaryrefslogtreecommitdiffstats
path: root/include/configs/mcx.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-05-08 07:29:31 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:41 +0200
commite0820ccc38315d88192c19e98ea9b59d3ec7d4c8 (patch)
treeb7f62f178abe62b692585d440edd314017a15c75 /include/configs/mcx.h
parenta3c3fabb0f65455068e01197e16927f0589beaa2 (diff)
downloadtalos-obmc-uboot-e0820ccc38315d88192c19e98ea9b59d3ec7d4c8.tar.gz
talos-obmc-uboot-e0820ccc38315d88192c19e98ea9b59d3ec7d4c8.zip
ARM: omap3: Set SPL stack size to 8KB, image to 54KB.
With older toolchains it is possible to not fit entirely into the 45KB that we had assigned to SPL. Adjust to allow for 8KB of stack (which should be more than required) and 54KB of text/data. Cc: Vaibhav Hiremath <hvaibhav@ti.com> Cc: Nagendra T S <nagendra@mistralsolutions.com> Cc: Thomas Weber <weber@corscience.de> Cc: Ilya Yanok <yanok@emcraft.com> Cc: Steve Sakoman <sakoman@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: Tom Rini <trini@ti.com> Acked-by: Stefano Babic <sbabic@denx.de> Acked-by: Vaibhav Hiremath <hvaibhav@ti.com>
Diffstat (limited to 'include/configs/mcx.h')
-rw-r--r--include/configs/mcx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/mcx.h b/include/configs/mcx.h
index e190e3e02d..f6a83a8505 100644
--- a/include/configs/mcx.h
+++ b/include/configs/mcx.h
@@ -325,7 +325,7 @@
#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
#define CONFIG_SPL_TEXT_BASE 0x40200000 /*CONFIG_SYS_SRAM_START*/
-#define CONFIG_SPL_MAX_SIZE (45 << 10)
+#define CONFIG_SPL_MAX_SIZE (54 * 1024) /* 8 KB for stack */
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
/* move malloc and bss high to prevent clashing with the main image */
OpenPOWER on IntegriCloud