kernel-fxtec-pro1x/arch/sh/include
Magnus Damm 716777db72 sh: P4 ioremap pass-through
This patch adds a pass-through case when ioremapping P4 addresses.

Addresses passed to ioremap() should be physical addresses, so the
best option is usually to convert the virtual address to a physical
address before calling ioremap. This will give you a virtual address
in P2 which matches the physical address and this works well for
most internal hardware blocks on the SuperH architecture.

However, some hardware blocks must be accessed through P4. Converting
the P4 address to a physical and then back to a P2 does not work. One
example of this is the sh7722 TMU block, it must be accessed through P4.

Without this patch P4 addresses will be mapped using PTEs which
requires the page allocator to be up and running.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-12-22 18:43:48 +09:00
..
asm sh: P4 ioremap pass-through 2008-12-22 18:43:48 +09:00
cpu-common/cpu
cpu-sh2/cpu SH2(A) cache update 2008-08-04 16:33:47 +09:00
cpu-sh2a/cpu sh: Move the CPU definition headers from asm/ to cpu/. 2008-10-20 12:04:53 +09:00
cpu-sh3/cpu sh: Add platform-specific constants for SH7709 2008-12-22 18:42:54 +09:00
cpu-sh4/cpu sh: Add on-chip RTC support for SH7722. 2008-10-28 18:40:19 +09:00
cpu-sh5/cpu
mach-common/mach sh: mach-highlander: Handle SCIF pinmuxing on R7785RP. 2008-10-23 12:35:43 +09:00
mach-dreamcast/mach
mach-landisk/mach
mach-se/mach sh: Add platform-specific constants for SH7709 2008-12-22 18:42:54 +09:00
mach-sh03/mach