summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-07-25 01:52:00 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-03 22:40:46 +0200
commit9ecefbfe26acff51cfb670b6716e0f68bfc90db4 (patch)
tree16275885839062e96435f2ad0916d58684e96154 /include
parentbc87d7641948ba49e1b9a4a3ce2cb2f922b77599 (diff)
downloadu-boot-imx-9ecefbfe26acff51cfb670b6716e0f68bfc90db4.zip
u-boot-imx-9ecefbfe26acff51cfb670b6716e0f68bfc90db4.tar.gz
u-boot-imx-9ecefbfe26acff51cfb670b6716e0f68bfc90db4.tar.bz2
integratorcp: make the board compile
This defines the requires CONFIG_SYS_* variables to make the Integrator CP board compile. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/integratorcp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/integratorcp.h b/include/configs/integratorcp.h
index 2c8ca2d..b0486df 100644
--- a/include/configs/integratorcp.h
+++ b/include/configs/integratorcp.h
@@ -140,6 +140,12 @@ SIB at Block62 End Block62 address 0x24f80000
#define CONFIG_NR_DRAM_BANKS 1 /* we have 1 bank of DRAM */
#define PHYS_SDRAM_1 0x00000000 /* SDRAM Bank #1 */
#define PHYS_SDRAM_1_SIZE 0x08000000 /* 128 MB */
+#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_RAM_SIZE PHYS_SDRAM_1_SIZE
+#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_SDRAM_BASE + \
+ CONFIG_SYS_INIT_RAM_SIZE - \
+ GENERATED_GBL_DATA_SIZE)
+#define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_GBL_DATA_OFFSET
/*-----------------------------------------------------------------------
* FLASH and environment organization