]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/ppc4xx/4xx_pci.c
ppc4xx: Make PCIE support selectable
[people/ms/u-boot.git] / cpu / ppc4xx / 4xx_pci.c
index e8871fc4599e3463df45ac57650d9389bef0388a..2e75886a6b02503e5fdbb06c3d8aa956b9bb78df 100644 (file)
@@ -588,8 +588,9 @@ void pci_init_board(void)
        int busno;
 
        busno = pci_440_init (&ppc440_hose);
-#if defined(CONFIG_440SPE) || \
-    defined(CONFIG_460EX) || defined(CONFIG_460GT)
+#if (defined(CONFIG_440SPE) || \
+    defined(CONFIG_460EX) || defined(CONFIG_460GT)) && \
+    !defined(CONFIG_PCI_DISABLE_PCIE)
        pcie_setup_hoses(busno + 1);
 #endif
 }