sh: Fix the offset from P1SEG/P2SEG where we map RAM
authorMatt Fleming <matt@console-pimps.org>
Tue, 6 Oct 2009 21:22:32 +0000 (21:22 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 10 Oct 2009 12:52:26 +0000 (21:52 +0900)
commitef269b32763b22100eda9c0bf99d462c6cd65377
tree3df3d5f1b5d3cb7610671920ff21bfeef000fb9e
parent3105121949b609964f370d42d1b90fe7fc01d6b1
sh: Fix the offset from P1SEG/P2SEG where we map RAM

We need to map the gap between 0x00000000 and __MEMORY_START in the PMB,
as well as RAM.

With this change my 7785LCR board can switch to 32bit MMU mode at
runtime.

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