mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
[MIPS] PNX8550: Fix system timer initialization
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
f3a2c3ee45
commit
6b4cd27550
@ -79,6 +79,7 @@ void pnx8550_time_init(void)
|
||||
*/
|
||||
mips_hpt_frequency = 27UL * ((1000000UL * n)/(m * pow2p));
|
||||
cpj = (mips_hpt_frequency + HZ / 2) / HZ;
|
||||
write_c0_count(0);
|
||||
timer_ack();
|
||||
|
||||
/* Setup Timer 2 */
|
||||
|
Loading…
Reference in New Issue
Block a user