···11/*22- * MPC82xx_ads setup and early boot code plus other random bits.22+ * MPC8272_ads setup and early boot code plus other random bits.33 *44 * Author: Vitaly Bordug <vbordug@ru.mvista.com>55 * m82xx_restart fix by Wade Farnsworth <wfarnsworth@mvista.com>···6363static struct irq_host *pci_pic_host;6464#endif65656666-static void __init mpc82xx_ads_pic_init(void)6666+static void __init mpc8272_ads_pic_init(void)6767{6868 struct device_node *np = of_find_compatible_node(NULL, "cpm-pic", "CPM2");6969 struct resource r;···553553/*554554 * Setup the architecture555555 */556556-static void __init mpc82xx_ads_setup_arch(void)556556+static void __init mpc8272_ads_setup_arch(void)557557{558558#ifdef CONFIG_PCI559559 struct device_node *np;560560#endif561561562562 if (ppc_md.progress)563563- ppc_md.progress("mpc82xx_ads_setup_arch()", 0);563563+ ppc_md.progress("mpc8272_ads_setup_arch()", 0);564564 cpm2_reset();565565566566 /* Map I/O region to a 256MB BAT */···582582#endif583583584584 if (ppc_md.progress)585585- ppc_md.progress("mpc82xx_ads_setup_arch(), finish", 0);585585+ ppc_md.progress("mpc8272_ads_setup_arch(), finish", 0);586586}587587588588/*589589 * Called very early, device-tree isn't unflattened590590 */591591-static int __init mpc82xx_ads_probe(void)591591+static int __init mpc8272_ads_probe(void)592592{593593 /* We always match for now, eventually we should look at594594 * the flat dev tree to ensure this is the board we are···612612 while (1) ;613613}614614615615-define_machine(mpc82xx_ads)615615+define_machine(mpc8272_ads)616616{617617- .name = "MPC82xx ADS",618618- .probe = mpc82xx_ads_probe,619619- .setup_arch = mpc82xx_ads_setup_arch,620620- .init_IRQ = mpc82xx_ads_pic_init,621621- .get_irq = cpm2_get_irq,617617+ .name = "MPC8272 ADS",618618+ .probe = mpc8272_ads_probe,619619+ .setup_arch = mpc8272_ads_setup_arch,620620+ .init_IRQ = mpc8272_ads_pic_init,621621+ .get_irq = cpm2_get_irq,622622 .calibrate_decr = generic_calibrate_decr,623623 .restart = m82xx_restart,624624};