sh: INTC ioremap support
authorMagnus Damm <damm@opensource.se>
Fri, 19 Mar 2010 07:48:01 +0000 (16:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 19 Mar 2010 07:48:01 +0000 (16:48 +0900)
commitdec710b77c2cf04bf512acada3c14a16f11708d9
treee2e25d5afa00df0eccb7c2881b29167ad4ff3b63
parent01e9651a21bc0e6731da733593e4aaf4cf46b5e5
sh: INTC ioremap support

Extend the INTC code with ioremap() support V2.

Support INTC controllers that are not accessible through
a 1:1 virt:phys window. Needed by SH-Mobile ARM INTCS.

The INTC code behaves as usual if the io window resource
is omitted. The slow phys->virt lookup only happens during
setup. The fast path code operates on virtual addresses.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc.c
include/linux/sh_intc.h