summaryrefslogtreecommitdiff
path: root/include/configs/sh7785lcr.h
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2010-10-05 16:58:05 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2010-10-21 10:42:23 +0900
commit915d6b7d2b7af0bb28ed4c5aceb92ba64fe86fa8 (patch)
tree01a9caadb3f50a4b0c844f6cecdd83e0eddd169e /include/configs/sh7785lcr.h
parentcf2c87d3223901e329241f241c3402c6186e0d98 (diff)
downloadu-boot-imx-915d6b7d2b7af0bb28ed4c5aceb92ba64fe86fa8.zip
u-boot-imx-915d6b7d2b7af0bb28ed4c5aceb92ba64fe86fa8.tar.gz
u-boot-imx-915d6b7d2b7af0bb28ed4c5aceb92ba64fe86fa8.tar.bz2
sh: sh7785lcr: Add CONFIG_SH_SDRAM_OFFSET
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/configs/sh7785lcr.h')
-rw-r--r--include/configs/sh7785lcr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
index 2c18e2f..6627f99 100644
--- a/include/configs/sh7785lcr.h
+++ b/include/configs/sh7785lcr.h
@@ -62,8 +62,10 @@
/* MEMORY */
#if defined(CONFIG_SH_32BIT)
-#define SH7785LCR_SDRAM_PHYS_BASE (0x48000000)
-#define SH7785LCR_SDRAM_BASE (0x88000000)
+/* 0x40000000 - 0x47FFFFFF does not use */
+#define CONFIG_SH_SDRAM_OFFSET (0x8000000)
+#define SH7785LCR_SDRAM_PHYS_BASE (0x40000000 + CONFIG_SH_SDRAM_OFFSET)
+#define SH7785LCR_SDRAM_BASE (0x80000000 + CONFIG_SH_SDRAM_OFFSET)
#define SH7785LCR_SDRAM_SIZE (384 * 1024 * 1024)
#define SH7785LCR_FLASH_BASE_1 (0xa0000000)
#define SH7785LCR_FLASH_BANK_SIZE (64 * 1024 * 1024)