powerpc/85xx: Add PCI support in 64-bit mode on P5020DS
authorKumar Gala <galak@kernel.crashing.org>
Fri, 20 May 2011 02:59:23 +0000 (21:59 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 23 Jun 2011 02:44:57 +0000 (21:44 -0500)
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/corenet_ds.c

index 10af3c7..338e6dc 100644 (file)
@@ -22,6 +22,7 @@
 #include <asm/time.h>
 #include <asm/machdep.h>
 #include <asm/pci-bridge.h>
+#include <asm/ppc-pci.h>
 #include <mm/mmu_decl.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
@@ -90,6 +91,10 @@ void __init corenet_ds_setup_arch(void)
                                        hose->dma_window_size);
                }
        }
+
+#ifdef CONFIG_PPC64
+       pci_devs_phb_init();
+#endif
 #endif
 
 #ifdef CONFIG_SWIOTLB