summaryrefslogtreecommitdiffstats
path: root/include/configs/devkit8000.h
diff options
context:
space:
mode:
authorSimon Schwarz <simonschwarzcor@googlemail.com>2011-12-05 23:16:28 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-06 23:59:41 +0100
commit5183b7ec48cb6b47df2cb2ac0b7cb3e0c706d392 (patch)
treeb0c860bde1689540dc5561b1a8cd0a2e8781f3d8 /include/configs/devkit8000.h
parent754f8cb68978efd31ddea73fa731e4e511bdd873 (diff)
downloadtalos-obmc-uboot-5183b7ec48cb6b47df2cb2ac0b7cb3e0c706d392.tar.gz
talos-obmc-uboot-5183b7ec48cb6b47df2cb2ac0b7cb3e0c706d392.zip
devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss
This moves CONFIG_SYS_TEXT_BASE one MB after beginning of SD-RAM. Move CONFIG_SYS_SPL_MALLOC_START to have one MB of free space for the u-boot image. CONFIG_SYS_TEXT_BASE was in the middle of the bss-section. This was the reason for the problems with MMC boot described here: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/118711 Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com> Tested-by: Thomas Weber <weber@corscience.de> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs/devkit8000.h')
-rw-r--r--include/configs/devkit8000.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index c090d2b386..758326bb9d 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -36,7 +36,13 @@
#define CONFIG_OMAP34XX 1 /* which is a 34XX */
#define CONFIG_OMAP3_DEVKIT8000 1 /* working with DevKit8000 */
-#define CONFIG_SYS_TEXT_BASE 0x80008000
+/*
+ * 1MB into the SDRAM to allow for SPL's bss at the beginning of SDRAM
+ * 64 bytes before this address should be set aside for u-boot.img's
+ * header. That is 0x800FFFC0--0x80100000 should not be used for any
+ * other needs.
+ */
+#define CONFIG_SYS_TEXT_BASE 0x80100000
#define CONFIG_SDRC /* The chip has SDRC controller */
@@ -347,7 +353,7 @@
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000
#define CONFIG_SYS_NAND_U_BOOT_SIZE 0x200000
-#define CONFIG_SYS_SPL_MALLOC_START 0x80108000
+#define CONFIG_SYS_SPL_MALLOC_START 0x80208000
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000 /* 1 MB */
#endif /* __CONFIG_H */
OpenPOWER on IntegriCloud