sh: pass through ioremap() for non-mmu processors.
authorMagnus Damm <damm@igel.co.jp>
Thu, 30 Apr 2009 03:56:37 +0000 (12:56 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 30 Apr 2009 03:56:37 +0000 (12:56 +0900)
commite6be3a25861429166f945499c7ee616875bc3db9
treeb6eb123d55974846ce83665e786877a69bdeffef
parent4278600644dee621bd50d7498e244b135612e0f6
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>
arch/sh/boards/Kconfig
arch/sh/include/asm/io.h