diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-30 21:37:12 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-30 21:37:12 -0500 |
commit | 23fd07750a789a66fe88cf173d52a18f1a387da4 (patch) | |
tree | 06fdd6df35fdb835abdaa9b754d62f6b84b97250 /arch/mips/vr41xx/common/init.c | |
parent | bd787d438a59266af3c9f6351644c85ef1dd21fe (diff) | |
parent | ed28f96ac1960f30f818374d65be71d2fdf811b0 (diff) |
Merge ../linux-2.6 by hand
Diffstat (limited to 'arch/mips/vr41xx/common/init.c')
-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) |