[U-Boot] [PATCH 2/2] SPL: omap4: Reduce the maximum size of SPL to 32K bytes.

sricharan r.sricharan at ti.com
Tue Sep 27 13:43:19 CEST 2011


The maximum size of SPL is set to 38K bytes.
But the maximum size of SPL cannot exceed 32k bytes in
case of HS devices. So restrict the size to 32k bytes
for compatability with both HS/GP devices.

Signed-off-by: sricharan <r.sricharan at ti.com>
---
 include/configs/omap4_common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h
index e10ab00..7346934 100644
--- a/include/configs/omap4_common.h
+++ b/include/configs/omap4_common.h
@@ -246,7 +246,7 @@
 /* Defines for SPL */
 #define CONFIG_SPL
 #define CONFIG_SPL_TEXT_BASE		0x40304350
-#define CONFIG_SPL_MAX_SIZE		(38 * 1024)
+#define CONFIG_SPL_MAX_SIZE		(32 * 1024)
 #define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
 
 #define CONFIG_SPL_BSS_START_ADDR	0x80000000
-- 
1.7.0.4



More information about the U-Boot mailing list