diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-06-21 09:56:30 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:18 -0400 |
commit | c83cfc9c9477d0bc0e0a1ba29dfc58e0d42b2faf (patch) | |
tree | 86c613b44ae25af1808b81dde2a4dc0274647194 /arch/mips/momentum/ocelot_g | |
parent | 8c93650890a33318263880dec36603a6d5749b7e (diff) |
Get rid of early_init. There's more need to make this form of
initialization actually useful and as is certainly unmergable with
upstream.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/momentum/ocelot_g')
-rw-r--r-- | arch/mips/momentum/ocelot_g/setup.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/mips/momentum/ocelot_g/setup.c b/arch/mips/momentum/ocelot_g/setup.c index 38a78ab8c830..6336751391c3 100644 --- a/arch/mips/momentum/ocelot_g/setup.c +++ b/arch/mips/momentum/ocelot_g/setup.c | |||
@@ -160,7 +160,7 @@ static void __init setup_l3cache(unsigned long size) | |||
160 | printk("Done\n"); | 160 | printk("Done\n"); |
161 | } | 161 | } |
162 | 162 | ||
163 | static int __init momenco_ocelot_g_setup(void) | 163 | void __init plat_setup(void) |
164 | { | 164 | { |
165 | void (*l3func)(unsigned long) = (void *) KSEG1ADDR(setup_l3cache); | 165 | void (*l3func)(unsigned long) = (void *) KSEG1ADDR(setup_l3cache); |
166 | unsigned int tmpword; | 166 | unsigned int tmpword; |
@@ -240,12 +240,8 @@ static int __init momenco_ocelot_g_setup(void) | |||
240 | 240 | ||
241 | /* FIXME: Fix up the DiskOnChip mapping */ | 241 | /* FIXME: Fix up the DiskOnChip mapping */ |
242 | MV_WRITE(0x468, 0xfef73); | 242 | MV_WRITE(0x468, 0xfef73); |
243 | |||
244 | return 0; | ||
245 | } | 243 | } |
246 | 244 | ||
247 | early_initcall(momenco_ocelot_g_setup); | ||
248 | |||
249 | /* This needs to be one of the first initcalls, because no I/O port access | 245 | /* This needs to be one of the first initcalls, because no I/O port access |
250 | can work before this */ | 246 | can work before this */ |
251 | 247 | ||