mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 12:46:17 +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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue