summaryrefslogtreecommitdiff
path: root/include/configs/omap3_overo.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-04-27 18:44:32 -0400
committerTom Rini <trini@konsulko.com>2016-04-27 18:44:32 -0400
commit2489a7e9f3055da15a8a8a0e54babf29ff5f6f14 (patch)
tree25c01c15f5d9501e089dfad114f4dccca7866578 /include/configs/omap3_overo.h
parente25b369c048b51b1feb79587750e7e160fc0bd73 (diff)
downloadu-boot-imx-2489a7e9f3055da15a8a8a0e54babf29ff5f6f14.zip
u-boot-imx-2489a7e9f3055da15a8a8a0e54babf29ff5f6f14.tar.gz
u-boot-imx-2489a7e9f3055da15a8a8a0e54babf29ff5f6f14.tar.bz2
omap3: Reduce logic/overo SPL max image size
While the OMAP3 has 64KiB of SRAM, per the TRM the download area is only from 0x40200000 to 0x4020F000 and exceeding that will cause failure to boot. Further, we need to make sure that we don't run into SRAM_SCRATCH_SPACE_ADDR as once SPL is running we will write values there and would corrupt our running image. Cc: Adam Ford <aford173@gmail.com> Cc: Steve Sakoman <sakoman@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/omap3_overo.h')
-rw-r--r--include/configs/omap3_overo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index c066eae..fbd0c2a 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -12,9 +12,9 @@
#include <configs/ti_omap3_common.h>
#undef CONFIG_SPL_MAX_SIZE
-#define CONFIG_SPL_MAX_SIZE (64*1024)
#undef CONFIG_SPL_TEXT_BASE
#define CONFIG_SPL_TEXT_BASE 0x40200000
+#define CONFIG_SPL_MAX_SIZE (SRAM_SCRATCH_SPACE_ADDR - CONFIG_SPL_TEXT_BASE)
#define CONFIG_BCH