Commit 2d2294ae authored by Scott Wood's avatar Scott Wood Committed by Kumar Gala

[POWERPC] mpc8272ads: Change references from 82xx_ADS to 8272_ADS.

Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent d1df4471
/* /*
* MPC82xx_ads setup and early boot code plus other random bits. * MPC8272_ads setup and early boot code plus other random bits.
* *
* Author: Vitaly Bordug <vbordug@ru.mvista.com> * Author: Vitaly Bordug <vbordug@ru.mvista.com>
* m82xx_restart fix by Wade Farnsworth <wfarnsworth@mvista.com> * m82xx_restart fix by Wade Farnsworth <wfarnsworth@mvista.com>
...@@ -63,7 +63,7 @@ static unsigned long pci_int_base; ...@@ -63,7 +63,7 @@ static unsigned long pci_int_base;
static struct irq_host *pci_pic_host; static struct irq_host *pci_pic_host;
#endif #endif
static void __init mpc82xx_ads_pic_init(void) static void __init mpc8272_ads_pic_init(void)
{ {
struct device_node *np = of_find_compatible_node(NULL, "cpm-pic", "CPM2"); struct device_node *np = of_find_compatible_node(NULL, "cpm-pic", "CPM2");
struct resource r; struct resource r;
...@@ -553,14 +553,14 @@ static void __init mpc82xx_add_bridge(struct device_node *np) ...@@ -553,14 +553,14 @@ static void __init mpc82xx_add_bridge(struct device_node *np)
/* /*
* Setup the architecture * Setup the architecture
*/ */
static void __init mpc82xx_ads_setup_arch(void) static void __init mpc8272_ads_setup_arch(void)
{ {
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
struct device_node *np; struct device_node *np;
#endif #endif
if (ppc_md.progress) if (ppc_md.progress)
ppc_md.progress("mpc82xx_ads_setup_arch()", 0); ppc_md.progress("mpc8272_ads_setup_arch()", 0);
cpm2_reset(); cpm2_reset();
/* Map I/O region to a 256MB BAT */ /* Map I/O region to a 256MB BAT */
...@@ -582,13 +582,13 @@ static void __init mpc82xx_ads_setup_arch(void) ...@@ -582,13 +582,13 @@ static void __init mpc82xx_ads_setup_arch(void)
#endif #endif
if (ppc_md.progress) if (ppc_md.progress)
ppc_md.progress("mpc82xx_ads_setup_arch(), finish", 0); ppc_md.progress("mpc8272_ads_setup_arch(), finish", 0);
} }
/* /*
* Called very early, device-tree isn't unflattened * Called very early, device-tree isn't unflattened
*/ */
static int __init mpc82xx_ads_probe(void) static int __init mpc8272_ads_probe(void)
{ {
/* We always match for now, eventually we should look at /* We always match for now, eventually we should look at
* the flat dev tree to ensure this is the board we are * the flat dev tree to ensure this is the board we are
...@@ -612,13 +612,13 @@ static void m82xx_restart(char *cmd) ...@@ -612,13 +612,13 @@ static void m82xx_restart(char *cmd)
while (1) ; while (1) ;
} }
define_machine(mpc82xx_ads) define_machine(mpc8272_ads)
{ {
.name = "MPC82xx ADS", .name = "MPC8272 ADS",
.probe = mpc82xx_ads_probe, .probe = mpc8272_ads_probe,
.setup_arch = mpc82xx_ads_setup_arch, .setup_arch = mpc8272_ads_setup_arch,
.init_IRQ = mpc82xx_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,
.restart = m82xx_restart, .restart = m82xx_restart,
}; };
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