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/vr41xx/common | |
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/vr41xx/common')
-rw-r--r-- | arch/mips/vr41xx/common/init.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/mips/vr41xx/common/init.c b/arch/mips/vr41xx/common/init.c index e03be896cbc4..578f6496ffd4 100644 --- a/arch/mips/vr41xx/common/init.c +++ b/arch/mips/vr41xx/common/init.c | |||
@@ -58,6 +58,14 @@ static void __init timer_init(void) | |||
58 | board_timer_setup = setup_timer_irq; | 58 | board_timer_setup = setup_timer_irq; |
59 | } | 59 | } |
60 | 60 | ||
61 | void __init plat_setup(void) | ||
62 | { | ||
63 | vr41xx_calculate_clock_frequency(); | ||
64 | |||
65 | timer_init(); | ||
66 | iomem_resource_init(); | ||
67 | } | ||
68 | |||
61 | void __init prom_init(void) | 69 | void __init prom_init(void) |
62 | { | 70 | { |
63 | int argc, i; | 71 | int argc, i; |
@@ -71,12 +79,6 @@ void __init prom_init(void) | |||
71 | if (i < (argc - 1)) | 79 | if (i < (argc - 1)) |
72 | strcat(arcs_cmdline, " "); | 80 | strcat(arcs_cmdline, " "); |
73 | } | 81 | } |
74 | |||
75 | vr41xx_calculate_clock_frequency(); | ||
76 | |||
77 | timer_init(); | ||
78 | |||
79 | iomem_resource_init(); | ||
80 | } | 82 | } |
81 | 83 | ||
82 | unsigned long __init prom_free_prom_memory (void) | 84 | unsigned long __init prom_free_prom_memory (void) |