WSL2-Linux-Kernel/arch/sh/drivers/pci
Takashi Yoshii 68b42d1b54 sh: sh7785lcr: Map whole PCI address space.
PCI still doesn't work on sh7785lcr 29bit 256M map mode.

On SH7785, PCI -> SHwy address translation is not base+offset but
somewhat like base|offset (See HW Manual (rej09b0261) Fig. 13.11).
So, you can't export CS2,3,4,5 by 256M at CS2 (results CS0,1,2,3
exported, I guess).  There are two candidates.

a) 128M@CS2 + 128M@CS4
b) 512M@CS0

Attached patch is B. It maps 512M Byte at 0 independently of memory
size. It results CS0 to CS6 and perhaps some more being accessible
from PCI.

Tested on
7785lcr 29bit 128M map
7785lcr 29bit 256M map
(NOT tested on 32bit)

Signed-off-by: Takashi YOSHII <yoshii.takashi@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-04-04 11:50:52 -04:00
..
Kconfig
Makefile sh: Renesas R0P7785LC0011RL board support 2008-07-28 18:10:35 +09:00
fixups-dreamcast.c sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
fixups-lboxre2.c
fixups-r7780rp.c
fixups-rts7751r2d.c
fixups-sdk7780.c
fixups-se7780.c
fixups-sh03.c
fixups-sh7785lcr.c sh: Renesas R0P7785LC0011RL board support 2008-07-28 18:10:35 +09:00
ops-cayman.c PCI: sh: use generic pci_swizzle_interrupt_pin() 2009-01-07 11:12:52 -08:00
ops-dreamcast.c sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
ops-landisk.c
ops-lboxre2.c sh: Migrate common board headers to mach-common/. 2008-10-20 13:02:48 +09:00
ops-r7780rp.c sh: Migrate common board headers to mach-common/. 2008-10-20 13:02:48 +09:00
ops-rts7751r2d.c sh: Migrate common board headers to mach-common/. 2008-10-20 13:02:48 +09:00
ops-sdk7780.c sh: Migrate common board headers to mach-common/. 2008-10-20 13:02:48 +09:00
ops-se7780.c sh: Move out the solution engine headers to arch/sh/include/mach-se/ 2008-07-29 21:41:37 +09:00
ops-sh03.c sh: mach-sh03: Use __set_io_port_base(), kill off special ioport_map(). 2008-12-22 18:44:45 +09:00
ops-sh4.c
ops-sh5.c
ops-sh7785lcr.c sh: sh7785lcr: Map whole PCI address space. 2009-04-04 11:50:52 -04:00
ops-snapgear.c
ops-titan.c sh: Migrate common board headers to mach-common/. 2008-10-20 13:02:48 +09:00
pci-auto.c sh: make EARLY_PCI_OP's static 2008-07-28 18:10:30 +09:00
pci-sh4.h
pci-sh5.c sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
pci-sh5.h
pci-sh7751.c
pci-sh7751.h
pci-sh7780.c sh: sh7785lcr: Map whole PCI address space. 2009-04-04 11:50:52 -04:00
pci-sh7780.h
pci.c PCI: sh: use generic INTx swizzle from PCI core 2009-01-07 11:13:15 -08:00