summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-02-09 01:17:55 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-21 08:30:54 +0100
commited3df72db1e9472e8358f2fc57c3d6e9b37c4810 (patch)
tree3e2b3f2a42560c50cdd1bae0eb97c10772f71b0c /include
parent0b509519a67951d8568e59f76d957e60706bcc18 (diff)
downloadblackbird-obmc-uboot-ed3df72db1e9472e8358f2fc57c3d6e9b37c4810.tar.gz
blackbird-obmc-uboot-ed3df72db1e9472e8358f2fc57c3d6e9b37c4810.zip
mx31pdk: Use the new relocation scheme
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx31pdk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h
index 3b90a01623..d7286c04be 100644
--- a/include/configs/mx31pdk.h
+++ b/include/configs/mx31pdk.h
@@ -155,6 +155,12 @@
#define PHYS_SDRAM_1 CSD0_BASE
#define PHYS_SDRAM_1_SIZE (128 * 1024 * 1024)
+#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
+#define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
+#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
+#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_GBL_DATA_OFFSET)
+
/*-----------------------------------------------------------------------
* FLASH and environment organization
*/
OpenPOWER on IntegriCloud