1
linux/arch/sh/boot
Matt Fleming 8bd642b17b sh: Obliterate the P1 area macros
Replace the use of PHYSADDR() with __pa(). PHYSADDR() is based on the
idea that all addresses in P1SEG are untranslated, so we can access an
address's physical page as an offset from P1SEG. This doesn't work for
CONFIG_PMB/CONFIG_PMB_FIXED because pages in P1SEG and P2SEG are used
for PMB mappings and so can be translated to any physical address.

Likewise, replace a P1SEGADDR() use with virt_to_phys().

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-10-10 21:51:02 +09:00
..
compressed sh: Obliterate the P1 area macros 2009-10-10 21:51:02 +09:00
romimage sh: fix romImage mach dir usage 2009-08-07 03:58:38 +09:00
.gitignore sh: bzip2/lzma uImage support. 2009-07-21 17:24:36 +09:00
Makefile sh: romImage support V2 2009-07-30 00:24:03 +09:00