sh: Use ioremap_fixmed to map the SM501 DRAM config register
authorMatt Fleming <matt@console-pimps.org>
Thu, 5 Nov 2009 08:01:10 +0000 (08:01 +0000)
committerMatt Fleming <matt@console-pimps.org>
Sat, 16 Jan 2010 14:31:44 +0000 (14:31 +0000)
commit6f82b6ebb1dcc0c3c23820a70a5d79a60c4f5e84
treefa12777307f9153742d445bdd7c2305b24ae8ab2
parent4d35b93a66e9b87df20784fcf130d2e8760be53f
sh: Use ioremap_fixmed to map the SM501 DRAM config register

We need to write to the DRAM config register very early and at such an
early stage ioremap() is not available. So use ioremap_fixed() to map
the register.

The reason that we are avoiding using the legacy P2 mapping is that
there will come a day when the legacy P2 mappings no longer exist.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
arch/sh/boards/board-sh7785lcr.c