diff options
Diffstat (limited to 'arch/ppc/syslib/ppc85xx_setup.c')
-rw-r--r-- | arch/ppc/syslib/ppc85xx_setup.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/ppc/syslib/ppc85xx_setup.c b/arch/ppc/syslib/ppc85xx_setup.c index f3277f469e78..ca95d79a704e 100644 --- a/arch/ppc/syslib/ppc85xx_setup.c +++ b/arch/ppc/syslib/ppc85xx_setup.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/serial_core.h> | 23 | #include <linux/serial_core.h> |
24 | #include <linux/serial_8250.h> | 24 | #include <linux/serial_8250.h> |
25 | 25 | ||
26 | #include <asm/prom.h> | ||
27 | #include <asm/time.h> | 26 | #include <asm/time.h> |
28 | #include <asm/mpc85xx.h> | 27 | #include <asm/mpc85xx.h> |
29 | #include <asm/immap_85xx.h> | 28 | #include <asm/immap_85xx.h> |
@@ -33,6 +32,8 @@ | |||
33 | 32 | ||
34 | #include <syslib/ppc85xx_setup.h> | 33 | #include <syslib/ppc85xx_setup.h> |
35 | 34 | ||
35 | extern void abort(void); | ||
36 | |||
36 | /* Return the amount of memory */ | 37 | /* Return the amount of memory */ |
37 | unsigned long __init | 38 | unsigned long __init |
38 | mpc85xx_find_end_of_memory(void) | 39 | mpc85xx_find_end_of_memory(void) |
@@ -133,7 +134,7 @@ mpc85xx_halt(void) | |||
133 | 134 | ||
134 | #ifdef CONFIG_PCI | 135 | #ifdef CONFIG_PCI |
135 | 136 | ||
136 | #if defined(CONFIG_MPC8555_CDS) | 137 | #if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS) |
137 | extern void mpc85xx_cds_enable_via(struct pci_controller *hose); | 138 | extern void mpc85xx_cds_enable_via(struct pci_controller *hose); |
138 | extern void mpc85xx_cds_fixup_via(struct pci_controller *hose); | 139 | extern void mpc85xx_cds_fixup_via(struct pci_controller *hose); |
139 | #endif | 140 | #endif |
@@ -308,14 +309,14 @@ mpc85xx_setup_hose(void) | |||
308 | 309 | ||
309 | ppc_md.pci_exclude_device = mpc85xx_exclude_device; | 310 | ppc_md.pci_exclude_device = mpc85xx_exclude_device; |
310 | 311 | ||
311 | #if defined(CONFIG_MPC8555_CDS) | 312 | #if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS) |
312 | /* Pre pciauto_bus_scan VIA init */ | 313 | /* Pre pciauto_bus_scan VIA init */ |
313 | mpc85xx_cds_enable_via(hose_a); | 314 | mpc85xx_cds_enable_via(hose_a); |
314 | #endif | 315 | #endif |
315 | 316 | ||
316 | hose_a->last_busno = pciauto_bus_scan(hose_a, hose_a->first_busno); | 317 | hose_a->last_busno = pciauto_bus_scan(hose_a, hose_a->first_busno); |
317 | 318 | ||
318 | #if defined(CONFIG_MPC8555_CDS) | 319 | #if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS) |
319 | /* Post pciauto_bus_scan VIA fixup */ | 320 | /* Post pciauto_bus_scan VIA fixup */ |
320 | mpc85xx_cds_fixup_via(hose_a); | 321 | mpc85xx_cds_fixup_via(hose_a); |
321 | #endif | 322 | #endif |