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 PCI: Kconfig help: don't refer to the PCI-HOWTO 2008-02-01 15:04:26 -08:00
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 sh: use ctrl_in/out for on chip pci access 2008-02-14 14:25:32 +09:00
fixups-r7780rp.c sh: Consolidated SH7751/SH7780 PCI support. 2006-09-27 16:43:28 +09:00
fixups-rts7751r2d.c sh: use ctrl_in/out for on chip pci access 2008-02-14 14:25:32 +09:00
fixups-sdk7780.c sh: Add support for SDK7780 board. 2008-01-28 13:19:04 +09:00
fixups-se7780.c sh: se7780 PCI support. 2007-05-07 02:11:55 +00:00
fixups-sh03.c sh: Consolidated SH7751/SH7780 PCI support. 2006-09-27 16:43:28 +09:00
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 sh: landisk updates. 2007-05-07 02:10:54 +00:00
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 sh: Fix up PCI section mismatch warnings. 2007-07-20 13:22:47 +09:00
ops-sh5.c sh: Get the SH-5 PCI support building. 2008-01-28 13:18:55 +09:00
ops-sh7785lcr.c sh: sh7785lcr: Map whole PCI address space. 2009-04-04 11:50:52 -04:00
ops-snapgear.c sh: Consolidated SH7751/SH7780 PCI support. 2006-09-27 16:43:28 +09:00
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: remove initial bios sort of PCI devices on x86 2008-04-20 21:46:58 -07:00
pci-sh5.c sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
pci-sh5.h sh: Get the SH-5 PCI support building. 2008-01-28 13:18:55 +09:00
pci-sh7751.c sh: use ctrl_in/out for on chip pci access 2008-02-14 14:25:32 +09:00
pci-sh7751.h sh: Consolidated SH7751/SH7780 PCI support. 2006-09-27 16:43:28 +09:00
pci-sh7780.c sh: sh7785lcr: Map whole PCI address space. 2009-04-04 11:50:52 -04:00
pci-sh7780.h sh: Add support for SH7763 CPU subtype. 2008-01-28 13:19:02 +09:00
pci.c PCI: sh: use generic INTx swizzle from PCI core 2009-01-07 11:13:15 -08:00