[U-Boot] [PATCH v2 2/2] SPL: omap4: Reduce the maximum size of SPL to 32K bytes.
sricharan
r.sricharan at ti.com
Wed Sep 28 11:46:40 CEST 2011
The maximum size of SPL is set to 38K bytes.
But as per the rom code specifications, the maximum size
of SPL cannot exceed 32k bytes. So restrict the size
to 32k bytes.
Signed-off-by: sricharan <r.sricharan at ti.com>
---
[v1] Inital version.
[v2] Added a comment line.
include/configs/omap4_common.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h
index e10ab00..3497e12 100644
--- a/include/configs/omap4_common.h
+++ b/include/configs/omap4_common.h
@@ -246,7 +246,11 @@
/* Defines for SPL */
#define CONFIG_SPL
#define CONFIG_SPL_TEXT_BASE 0x40304350
-#define CONFIG_SPL_MAX_SIZE (38 * 1024)
+/*
+ * 32k is the maximum public SRAM available in case of HS devices.
+ * Use the same in both HS/GP to maintain compatability.
+ */
+#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