Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67487
b: refs/heads/master
c: 2d2294a
h: refs/heads/master
i:
  67485: 7e118c9
  67483: caf87bb
  67479: f8e686f
  67471: 4734c75
  67455: 793719d
v: v3
  • Loading branch information
Scott Wood authored and Kumar Gala committed Oct 4, 2007
1 parent 33864c1 commit 7b03b4d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1df447197b11e70d451786be8aebf2f8606754e
refs/heads/master: 2d2294ae12827a97c9daa253f1ce99e7ae3195d7
24 changes: 12 additions & 12 deletions trunk/arch/powerpc/platforms/82xx/mpc8272_ads.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* 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>
* m82xx_restart fix by Wade Farnsworth <wfarnsworth@mvista.com>
Expand Down Expand Up @@ -63,7 +63,7 @@ static unsigned long pci_int_base;
static struct irq_host *pci_pic_host;
#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 resource r;
Expand Down Expand Up @@ -553,14 +553,14 @@ static void __init mpc82xx_add_bridge(struct device_node *np)
/*
* Setup the architecture
*/
static void __init mpc82xx_ads_setup_arch(void)
static void __init mpc8272_ads_setup_arch(void)
{
#ifdef CONFIG_PCI
struct device_node *np;
#endif

if (ppc_md.progress)
ppc_md.progress("mpc82xx_ads_setup_arch()", 0);
ppc_md.progress("mpc8272_ads_setup_arch()", 0);
cpm2_reset();

/* Map I/O region to a 256MB BAT */
Expand All @@ -582,13 +582,13 @@ static void __init mpc82xx_ads_setup_arch(void)
#endif

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
*/
static int __init mpc82xx_ads_probe(void)
static int __init mpc8272_ads_probe(void)
{
/* We always match for now, eventually we should look at
* the flat dev tree to ensure this is the board we are
Expand All @@ -612,13 +612,13 @@ static void m82xx_restart(char *cmd)
while (1) ;
}

define_machine(mpc82xx_ads)
define_machine(mpc8272_ads)
{
.name = "MPC82xx ADS",
.probe = mpc82xx_ads_probe,
.setup_arch = mpc82xx_ads_setup_arch,
.init_IRQ = mpc82xx_ads_pic_init,
.get_irq = cpm2_get_irq,
.name = "MPC8272 ADS",
.probe = mpc8272_ads_probe,
.setup_arch = mpc8272_ads_setup_arch,
.init_IRQ = mpc8272_ads_pic_init,
.get_irq = cpm2_get_irq,
.calibrate_decr = generic_calibrate_decr,
.restart = m82xx_restart,
};

0 comments on commit 7b03b4d

Please sign in to comment.