diff mbox

[U-Boot] OMAP3: omap3_logic: Grow SPL to 64K from 54K

Message ID 1454979968-9552-1-git-send-email-aford173@gmail.com
State Accepted
Commit f92dfc87c578a0d0c062786294fa3552c14f9ca1
Delegated to: Tom Rini
Headers show

Commit Message

Adam Ford Feb. 9, 2016, 1:06 a.m. UTC
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>
---
 include/configs/omap3_logic.h | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Tom Rini Feb. 9, 2016, 5:01 p.m. UTC | #1
On Mon, Feb 08, 2016 at 07:06:08PM -0600, Adam Ford wrote:

> 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>
Tom Rini Feb. 15, 2016, 10:34 p.m. UTC | #2
On Mon, Feb 08, 2016 at 07:06:08PM -0600, Adam Ford wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index 3cb71f1..9ea6ef3 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -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