[PATCH] ppc32: Added preliminary support for the MPC8548 CDS board
[safe/jmp/linux-2.6] / arch / ppc / syslib / ppc85xx_setup.c
index f3277f4..455473f 100644 (file)
@@ -133,7 +133,7 @@ mpc85xx_halt(void)
 
 #ifdef CONFIG_PCI
 
-#if defined(CONFIG_MPC8555_CDS)
+#if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS)
 extern void mpc85xx_cds_enable_via(struct pci_controller *hose);
 extern void mpc85xx_cds_fixup_via(struct pci_controller *hose);
 #endif
@@ -308,14 +308,14 @@ mpc85xx_setup_hose(void)
 
        ppc_md.pci_exclude_device = mpc85xx_exclude_device;
 
-#if defined(CONFIG_MPC8555_CDS)
+#if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS)
        /* Pre pciauto_bus_scan VIA init */
        mpc85xx_cds_enable_via(hose_a);
 #endif
 
        hose_a->last_busno = pciauto_bus_scan(hose_a, hose_a->first_busno);
 
-#if defined(CONFIG_MPC8555_CDS)
+#if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS)
        /* Post pciauto_bus_scan VIA fixup */
        mpc85xx_cds_fixup_via(hose_a);
 #endif