sh: Remap physical memory into P1 and P2 in pmb_init()
authorMatt Fleming <matt@console-pimps.org>
Tue, 6 Oct 2009 21:22:30 +0000 (21:22 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 10 Oct 2009 12:52:03 +0000 (21:52 +0900)
commit3105121949b609964f370d42d1b90fe7fc01d6b1
tree20a7a6afa6d8023d20dcc7509a253268e0afdebc
parentedd7de803c79c7df117bf3f0e22ffdba1b1ef256
sh: Remap physical memory into P1 and P2 in pmb_init()

Eventually we'll have complete control over what physical memory gets
mapped where and we can probably do other interesting things. For now
though, when the MMU is in 32-bit mode, we map physical memory into the
P1 and P2 virtual address ranges with the same semantics as they have in
29-bit mode.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/io.h
arch/sh/mm/consistent.c
arch/sh/mm/pmb.c