[U-Boot] [PATCH 2/5] sh: sh7785lcr: Add CONFIG_SYS_TEXT_BASE for 32bit mode

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Tue Oct 19 19:40:08 CEST 2010


Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
 board/renesas/sh7785lcr/config.mk |    4 +++-
 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
-- 
1.7.1



More information about the U-Boot mailing list