aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/au1000/common/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/au1000/common/setup.c')
-rw-r--r--arch/mips/au1000/common/setup.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/mips/au1000/common/setup.c b/arch/mips/au1000/common/setup.c
index eff89e109ce6..c1e7d2dcc190 100644
--- a/arch/mips/au1000/common/setup.c
+++ b/arch/mips/au1000/common/setup.c
@@ -57,7 +57,7 @@ extern void au1xxx_time_init(void);
57extern void au1xxx_timer_setup(struct irqaction *irq); 57extern void au1xxx_timer_setup(struct irqaction *irq);
58extern void set_cpuspec(void); 58extern void set_cpuspec(void);
59 59
60static int __init au1x00_setup(void) 60void __init plat_setup(void)
61{ 61{
62 struct cpu_spec *sp; 62 struct cpu_spec *sp;
63 char *argptr; 63 char *argptr;
@@ -153,12 +153,8 @@ static int __init au1x00_setup(void)
153 au_sync(); 153 au_sync();
154 while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_T0S); 154 while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_T0S);
155 au_writel(0, SYS_TOYTRIM); 155 au_writel(0, SYS_TOYTRIM);
156
157 return 0;
158} 156}
159 157
160early_initcall(au1x00_setup);
161
162#if defined(CONFIG_64BIT_PHYS_ADDR) 158#if defined(CONFIG_64BIT_PHYS_ADDR)
163/* This routine should be valid for all Au1x based boards */ 159/* This routine should be valid for all Au1x based boards */
164phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size) 160phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size)