Skip to content

Commit

Permalink
[MIPS] TXx9: Fix mips_hpt_frequency initialization
Browse files Browse the repository at this point in the history
The mips_hpt_frequency initialization code was lost in commit
94a4c32 (linux-mips.org) /
94a4c32 (kernel.org) "TXx9: Add 64-bit
support".

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Aug 26, 2008
1 parent 2841d8b commit 1374d08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/mips/txx9/generic/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,9 @@ void __init arch_init_irq(void)

void __init plat_time_init(void)
{
#ifdef CONFIG_CPU_TX49XX
mips_hpt_frequency = txx9_cpu_clock / 2;
#endif
txx9_board_vec->time_init();
}

Expand Down

0 comments on commit 1374d08

Please sign in to comment.