¶ARM] Orion5x: fix cpu window mapping for 88f6183
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 3 Aug 2009 14:25:12 +0000 (16:25 +0200)
committerNicolas Pitre <nico@cam.org>
Mon, 10 Aug 2009 22:03:59 +0000 (18:03 -0400)
commit7153c360ebe5bcfb1e6b7980b90584c75c8c8e4d
treea69308f57c165b0a9562a170f7d37c72338aebe7
parentaec1bad326a99a8b0860fa9d518985ee388c9391
¶ARM] Orion5x: fix cpu window mapping for 88f6183

On the 88f6183, orion5x's setup_cpu_win() fails to ever program any
mbus bridge remap registers, which causes transactions for PCI/PCIe
IO/MEM space to get sent to random mbus targets.  Adding a check for
the 6183 in orion5x_cpu_win_can_remap() is necessary and sufficient
to make PCIe wlan cards work on the 6183 reference design.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mach-orion5x/addr-map.c