]> git.sur5r.net Git - u-boot/commitdiff
OMAP3: omap3_logic: Grow SPL to 64K from 54K
authorAdam Ford <aford173@gmail.com>
Tue, 9 Feb 2016 01:06:08 +0000 (19:06 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 15 Feb 2016 17:04:44 +0000 (12:04 -0500)
Based on the work done by Overo, this seems to help some compilers
that have a hard time fitting all the code into the allocated space.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/omap3_logic.h

index 3cb71f1c360a018808616a48a0a89fc0387b08af..9ea6ef35111af1cfe06a4c61d6f30a911a00cb61 100644 (file)
 
 #include <configs/ti_omap3_common.h>
 
+/* Override default SPL info to minimize empty space and allow BCH8 in SPL */
+#undef CONFIG_SPL_TEXT_BASE
+#undef CONFIG_SPL_MAX_SIZE
+#define CONFIG_SPL_TEXT_BASE   0x40200000
+#define CONFIG_SPL_MAX_SIZE    (64 * 1024)
+
 /* Display CPU and Board information */
 
 #define CONFIG_DISPLAY_CPUINFO