1
linux/arch/sh
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
..
boards sh: migor: Fix up CEU use flags. 2009-04-02 11:25:12 +09:00
boot sh: Support fixed 32-bit PMB mappings from bootloader. 2009-03-10 15:49:54 +09:00
cchips sh: fix the HD64461 level-triggered interrupts handling 2009-03-20 18:57:48 +09:00
configs sh: update defconfigs. 2009-04-02 22:02:26 +09:00
drivers sh: sh7785lcr: Map whole PCI address space. 2009-04-04 11:50:52 -04:00
include sh: Fix up DSP context save/restore. 2009-04-04 11:48:11 -04:00
kernel sh: Fix up DSP context save/restore. 2009-04-04 11:48:11 -04:00
lib sh: Handle calling csum_partial with misaligned data 2009-01-29 11:56:02 +09:00
lib64 sh: Provide sdivsi3/udivsi3/udivdi3 for sh64, kill off libgcc linking. 2008-12-22 18:44:05 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: Kill off broken direct-mapped cache mode. 2009-04-02 17:40:16 +09:00
oprofile sh: Add support for SH7786 CPU subtype. 2009-03-03 15:40:25 +09:00
tools sh: add support for SMSC Polaris platform 2009-03-21 01:26:33 +09:00
Kconfig sh: Wire up ARCH_HAS_DEFAULT_IDLE for cpuidle. 2009-04-02 13:08:31 +09:00
Kconfig.cpu sh: Support for extended ASIDs on PTEAEX-capable SH-X3 cores. 2009-03-17 17:49:49 +09:00
Kconfig.debug sh: Conditionalize the code dumper on CONFIG_DUMP_CODE. 2008-12-22 18:44:47 +09:00
Makefile sh: Generate uImage by default on Urquell board. 2009-03-10 17:00:48 +09:00