summaryrefslogtreecommitdiff
path: root/include/configs/omap5_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-08-20 08:53:45 -0400
committerTom Rini <trini@ti.com>2013-08-28 11:44:58 -0400
commitc3799fceda6c37ad04bd62b6dd0db6225c11626b (patch)
tree5c6d55b18287083ef32ecda2aa1957e173bd32fa /include/configs/omap5_common.h
parenta7142dd0963d44d446cf4be5ba710a04c2223e86 (diff)
downloadu-boot-imx-c3799fceda6c37ad04bd62b6dd0db6225c11626b.zip
u-boot-imx-c3799fceda6c37ad04bd62b6dd0db6225c11626b.tar.gz
u-boot-imx-c3799fceda6c37ad04bd62b6dd0db6225c11626b.tar.bz2
omap5: Expand CONFIG_SPL_MAX_SIZE and comment upon SRAM_SCRATCH_SPACE_ADDR
After examining both TRMs and doing some experimentation, we can rely on using the start of the download area for CONFIG_SPL_TEXT_BASE and then move SRAM_SCRATCH_SPACE_ADDR up, just like am335x. This is required for peripheral boot modes such as UART. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs/omap5_common.h')
-rw-r--r--include/configs/omap5_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/omap5_common.h b/include/configs/omap5_common.h
index 8e82fed..0345c57 100644
--- a/include/configs/omap5_common.h
+++ b/include/configs/omap5_common.h
@@ -128,8 +128,8 @@
/* Defines for SPL */
-#define CONFIG_SPL_TEXT_BASE 0x40300350
-#define CONFIG_SPL_MAX_SIZE 0x19000 /* 100K */
+#define CONFIG_SPL_TEXT_BASE 0x40300000
+#define CONFIG_SPL_MAX_SIZE (0x4031E000 - CONFIG_SPL_TEXT_BASE)
#define CONFIG_SPL_DISPLAY_PRINT
#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"