aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/Kconfig
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-04-29 23:56:37 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-04-29 23:56:37 -0400
commite6be3a25861429166f945499c7ee616875bc3db9 (patch)
treeb6eb123d55974846ce83665e786877a69bdeffef /arch/sh/boards/Kconfig
parent4278600644dee621bd50d7498e244b135612e0f6 (diff)
sh: pass through ioremap() for non-mmu processors.
All 32-bit SuperH processors currently go through __ioremap_mode() and check for IO_TRAPPED and directly mapped segments. With this patch we simplify the MMU less case with a pass through version of __ioremap_mode() which just returns the physical address. The effects of this is change are: - fix non-MMU ioremap() of high address hardware blocks (sh7203 CMT) - make sure IO_TRAPPED is not selected Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/Kconfig')
-rw-r--r--arch/sh/boards/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig
index dcc1af8a2cfe..99e2d47f79f5 100644
--- a/arch/sh/boards/Kconfig
+++ b/arch/sh/boards/Kconfig
@@ -121,7 +121,7 @@ config SH_RTS7751R2D
121 bool "RTS7751R2D" 121 bool "RTS7751R2D"
122 depends on CPU_SUBTYPE_SH7751R 122 depends on CPU_SUBTYPE_SH7751R
123 select SYS_SUPPORTS_PCI 123 select SYS_SUPPORTS_PCI
124 select IO_TRAPPED 124 select IO_TRAPPED if MMU
125 help 125 help
126 Select RTS7751R2D if configuring for a Renesas Technology 126 Select RTS7751R2D if configuring for a Renesas Technology
127 Sales SH-Graphics board. 127 Sales SH-Graphics board.
@@ -145,13 +145,13 @@ config SH_HIGHLANDER
145 bool "Highlander" 145 bool "Highlander"
146 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 146 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
147 select SYS_SUPPORTS_PCI 147 select SYS_SUPPORTS_PCI
148 select IO_TRAPPED 148 select IO_TRAPPED if MMU
149 149
150config SH_SH7785LCR 150config SH_SH7785LCR
151 bool "SH7785LCR" 151 bool "SH7785LCR"
152 depends on CPU_SUBTYPE_SH7785 152 depends on CPU_SUBTYPE_SH7785
153 select SYS_SUPPORTS_PCI 153 select SYS_SUPPORTS_PCI
154 select IO_TRAPPED 154 select IO_TRAPPED if MMU
155 155
156config SH_SH7785LCR_29BIT_PHYSMAPS 156config SH_SH7785LCR_29BIT_PHYSMAPS
157 bool "SH7785LCR 29bit physmaps" 157 bool "SH7785LCR 29bit physmaps"