summaryrefslogtreecommitdiff
path: root/board/renesas/sh7785lcr
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2010-10-20 01:17:08 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2010-10-21 10:42:23 +0900
commit41f2747b9a3c2324e5e6b6fc52a29671426f89d9 (patch)
tree90c4654ec80cf7f4294f7d91bf8a6246e736529f /board/renesas/sh7785lcr
parentde03f8bc4a3f7bbb09bccbf2e3a5f14b45d5ad64 (diff)
downloadu-boot-imx-41f2747b9a3c2324e5e6b6fc52a29671426f89d9.zip
u-boot-imx-41f2747b9a3c2324e5e6b6fc52a29671426f89d9.tar.gz
u-boot-imx-41f2747b9a3c2324e5e6b6fc52a29671426f89d9.tar.bz2
sh: sh7785lcr: Add CONFIG_SYS_TEXT_BASE for 32bit mode
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board/renesas/sh7785lcr')
-rw-r--r--board/renesas/sh7785lcr/config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/renesas/sh7785lcr/config.mk b/board/renesas/sh7785lcr/config.mk
index 1a9038c..6853d2b 100644
--- a/board/renesas/sh7785lcr/config.mk
+++ b/board/renesas/sh7785lcr/config.mk
@@ -24,6 +24,8 @@
#
sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
-ifndef CONFIG_SYS_TEXT_BASE
+ifdef CONFIG_SH_32BIT
+CONFIG_SYS_TEXT_BASE = 0x8FF80000
+else
CONFIG_SYS_TEXT_BASE = 0x0ff80000
endif