Commit ba5eac51 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] time: Merge lasat plat_timer_setup into plat_time_init.

Since the cp0 compare interrupt handler isn't initialized by the time
plat_time_init is called don't set IE_IRQ5 anymore, cevt-r4k.c will do
that a little later itself.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent da349bef
...@@ -117,14 +117,11 @@ static struct notifier_block lasat_panic_block[] = ...@@ -117,14 +117,11 @@ static struct notifier_block lasat_panic_block[] =
} }
}; };
void plat_time_init(void) void __init plat_time_init(void)
{ {
mips_hpt_frequency = lasat_board_info.li_cpu_hz / 2; mips_hpt_frequency = lasat_board_info.li_cpu_hz / 2;
}
void __init plat_timer_setup(struct irqaction *irq) change_c0_status(ST0_IM, IE_IRQ0);
{
change_c0_status(ST0_IM, IE_IRQ0 | IE_IRQ5);
} }
void __init plat_mem_setup(void) void __init plat_mem_setup(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment