aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/maple
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-07-26 14:07:14 +1000
committerPaul Mackerras <paulus@samba.org>2007-07-26 16:17:49 +1000
commit17cd87c26bd86546ea3217397ef3428581970058 (patch)
tree29d6f3645faeb0cf97efcd50829b1cc7427a68a3 /arch/powerpc/platforms/maple
parent50747cb8189d54369d75e1bd73f84db431d39af8 (diff)
downloadkernel_samsung_smdk4412-17cd87c26bd86546ea3217397ef3428581970058.zip
kernel_samsung_smdk4412-17cd87c26bd86546ea3217397ef3428581970058.tar.gz
kernel_samsung_smdk4412-17cd87c26bd86546ea3217397ef3428581970058.tar.bz2
[POWERPC] Fix Maple platform ISA bus
The Maple platform has ISA IOs but didn't call the new functions to actually map those, thus crashing when trying to access the nvram. This fixes Maple and JS2x using SLOF. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/maple')
-rw-r--r--arch/powerpc/platforms/maple/pci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/maple/pci.c b/arch/powerpc/platforms/maple/pci.c
index fceaae4..2542403 100644
--- a/arch/powerpc/platforms/maple/pci.c
+++ b/arch/powerpc/platforms/maple/pci.c
@@ -490,6 +490,9 @@ static int __init maple_add_bridge(struct device_node *dev)
/* Fixup "bus-range" OF property */
fixup_bus_range(dev);
+ /* Check for legacy IOs */
+ isa_bridge_find_early(hose);
+
return 0;
}