Commit 3c82a6ae authored by Oliver O'Halloran's avatar Oliver O'Halloran Committed by Michael Ellerman
parent a760cfd9
...@@ -171,7 +171,6 @@ static void __init mpc8272_ads_setup_arch(void) ...@@ -171,7 +171,6 @@ static void __init mpc8272_ads_setup_arch(void)
iounmap(bcsr); iounmap(bcsr);
init_ioports(); init_ioports();
pq2_init_pci();
if (ppc_md.progress) if (ppc_md.progress)
ppc_md.progress("mpc8272_ads_setup_arch(), finish", 0); ppc_md.progress("mpc8272_ads_setup_arch(), finish", 0);
...@@ -205,6 +204,7 @@ define_machine(mpc8272_ads) ...@@ -205,6 +204,7 @@ define_machine(mpc8272_ads)
.name = "Freescale MPC8272 ADS", .name = "Freescale MPC8272 ADS",
.probe = mpc8272_ads_probe, .probe = mpc8272_ads_probe,
.setup_arch = mpc8272_ads_setup_arch, .setup_arch = mpc8272_ads_setup_arch,
.discover_phbs = pq2_init_pci,
.init_IRQ = mpc8272_ads_pic_init, .init_IRQ = mpc8272_ads_pic_init,
.get_irq = cpm2_get_irq, .get_irq = cpm2_get_irq,
.calibrate_decr = generic_calibrate_decr, .calibrate_decr = generic_calibrate_decr,
......
...@@ -150,8 +150,6 @@ static void __init pq2fads_setup_arch(void) ...@@ -150,8 +150,6 @@ static void __init pq2fads_setup_arch(void)
/* Enable external IRQs */ /* Enable external IRQs */
clrbits32(&cpm2_immr->im_siu_conf.siu_82xx.sc_siumcr, 0x0c000000); clrbits32(&cpm2_immr->im_siu_conf.siu_82xx.sc_siumcr, 0x0c000000);
pq2_init_pci();
if (ppc_md.progress) if (ppc_md.progress)
ppc_md.progress("pq2fads_setup_arch(), finish", 0); ppc_md.progress("pq2fads_setup_arch(), finish", 0);
} }
...@@ -184,6 +182,7 @@ define_machine(pq2fads) ...@@ -184,6 +182,7 @@ define_machine(pq2fads)
.name = "Freescale PQ2FADS", .name = "Freescale PQ2FADS",
.probe = pq2fads_probe, .probe = pq2fads_probe,
.setup_arch = pq2fads_setup_arch, .setup_arch = pq2fads_setup_arch,
.discover_phbs = pq2_init_pci,
.init_IRQ = pq2fads_pic_init, .init_IRQ = pq2fads_pic_init,
.get_irq = cpm2_get_irq, .get_irq = cpm2_get_irq,
.calibrate_decr = generic_calibrate_decr, .calibrate_decr = generic_calibrate_decr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment