summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-07-25 01:49:36 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-03 22:40:45 +0200
commita46877cc472230fddfe56f2dfd26017b28f4bba9 (patch)
tree9e428359d3d1ecaa16d4f06f353458212f2cbd92 /include
parent34fe8281d7323784544e94d2f7218f52b8a2899d (diff)
downloadu-boot-imx-a46877cc472230fddfe56f2dfd26017b28f4bba9.zip
u-boot-imx-a46877cc472230fddfe56f2dfd26017b28f4bba9.tar.gz
u-boot-imx-a46877cc472230fddfe56f2dfd26017b28f4bba9.tar.bz2
integratorap: make the compile work again
The integratorap/cp config for u-boot was outdated and would not even compile, so fix the obvious missing bits for it to start building. After this "make ap920t_config/make all" starts working again. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/integratorap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/integratorap.h b/include/configs/integratorap.h
index 32ff193..8b41885 100644
--- a/include/configs/integratorap.h
+++ b/include/configs/integratorap.h
@@ -120,6 +120,12 @@
#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 0x02000000 /* 32 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
#define CONFIG_SYS_FLASH_BASE 0x24000000