Skip to contentSkip to conversation

OMAP3: omap3_logic: Grow SPL to 64K from 54K

PATCH In review Adam Ford 2 participants 3 messages Feb 9, 2016 – Feb 15, 2016

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 OMAP3: omap3_logic: Grow SPL to 64K from 54K

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.

---
 include/configs/omap3_logic.h | 6 ++++++
 1 file changed, 6 insertions(+)
include/configs/omap3_logic.h +6 -0
index 3cb71f1..9ea6ef3 100644
@@ -30,6 +30,12 @@
 
 #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
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 OMAP3: omap3_logic: Grow SPL to 64K from 54K

Quoted 4 lines · Adam Ford

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.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160209/71d116a5/attachment.sig>
#2 lore raw
In reply to Adam Ford
Quoted 5 lines · Adam Ford

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160215/abe36b58/attachment.sig>