summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMagnus Lilja <lilja.magnus@gmail.com>2010-10-16 19:47:06 +0200
committerStefano Babic <sbabic@denx.de>2010-10-19 12:29:31 +0200
commit68a75d0b544fb8e7efb85bed1597285f61186cef (patch)
tree506688ab69b4db898a1bd0f8fab05ea6c399eef1 /include
parent65e62d69415acd4cf8c297b8df7076694e796802 (diff)
downloadu-boot-imx-68a75d0b544fb8e7efb85bed1597285f61186cef.zip
u-boot-imx-68a75d0b544fb8e7efb85bed1597285f61186cef.tar.gz
u-boot-imx-68a75d0b544fb8e7efb85bed1597285f61186cef.tar.bz2
i.MX31: Fix Litekit board to use new ARM relocation support.
Tested on hardware. Boots Linux nicely. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/imx31_litekit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h
index 88c62d1..9425237 100644
--- a/include/configs/imx31_litekit.h
+++ b/include/configs/imx31_litekit.h
@@ -147,6 +147,13 @@
#define PHYS_SDRAM_1 CSD0_BASE
#define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024)
+#undef CONFIG_SYS_ARM_WITHOUT_RELOC
+#define CONFIG_SYS_SDRAM_BASE CSD0_BASE
+#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
+#define CONFIG_SYS_INIT_RAM_END IRAM_SIZE
+#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_END - CONFIG_SYS_GBL_DATA_SIZE)
+#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_GBL_DATA_OFFSET)
+
/*-----------------------------------------------------------------------
* FLASH and environment organization
*/