diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-07-09 16:38:56 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-07-13 16:26:17 -0400 |
commit | 54d0a216f40e060ba4265bb851cc36b3ca55d1a8 (patch) | |
tree | a57ecc2da68fea0989c397bd97ebd38e93fee569 /arch/mips/cobalt/setup.c | |
parent | 2c70df5b9807293705d8123d1f36579831ac09eb (diff) |
[MIPS] Replace board_timer_setup function pointer by plat_timer_setup.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
Diffstat (limited to 'arch/mips/cobalt/setup.c')
-rw-r--r-- | arch/mips/cobalt/setup.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/cobalt/setup.c b/arch/mips/cobalt/setup.c index c99714587ce8..c01a0170e590 100644 --- a/arch/mips/cobalt/setup.c +++ b/arch/mips/cobalt/setup.c | |||
@@ -49,7 +49,7 @@ const char *get_system_type(void) | |||
49 | return "MIPS Cobalt"; | 49 | return "MIPS Cobalt"; |
50 | } | 50 | } |
51 | 51 | ||
52 | static void __init cobalt_timer_setup(struct irqaction *irq) | 52 | void __init plat_timer_setup(struct irqaction *irq) |
53 | { | 53 | { |
54 | /* Load timer value for 1KHz (TCLK is 50MHz) */ | 54 | /* Load timer value for 1KHz (TCLK is 50MHz) */ |
55 | GALILEO_OUTL(50*1000*1000 / 1000, GT_TC0_OFS); | 55 | GALILEO_OUTL(50*1000*1000 / 1000, GT_TC0_OFS); |
@@ -129,8 +129,6 @@ void __init plat_mem_setup(void) | |||
129 | _machine_halt = cobalt_machine_halt; | 129 | _machine_halt = cobalt_machine_halt; |
130 | pm_power_off = cobalt_machine_power_off; | 130 | pm_power_off = cobalt_machine_power_off; |
131 | 131 | ||
132 | board_timer_setup = cobalt_timer_setup; | ||
133 | |||
134 | set_io_port_base(CKSEG1ADDR(GT64111_IO_BASE)); | 132 | set_io_port_base(CKSEG1ADDR(GT64111_IO_BASE)); |
135 | 133 | ||
136 | /* I/O port resource must include UART and LCD/buttons */ | 134 | /* I/O port resource must include UART and LCD/buttons */ |