arm:configure tick per ms to reflect the free running clock.
Change-Id: Ifc02658d6ae48dd01a868bfaa3d60f77bc6cc800
This commit is contained in:
parent
2856cec5b9
commit
534b19187e
1 changed files with 6 additions and 2 deletions
|
@ -26,8 +26,12 @@ int init_local_timer(unsigned freq)
|
||||||
{
|
{
|
||||||
omap3_timer_init(freq);
|
omap3_timer_init(freq);
|
||||||
omap3_frclock_init();
|
omap3_frclock_init();
|
||||||
/* always only 1 cpu in the system */
|
#ifdef DM37XX
|
||||||
tsc_per_ms[0] = 1;
|
tsc_per_ms[0] = 16250;
|
||||||
|
#endif
|
||||||
|
#ifdef AM335X
|
||||||
|
tsc_per_ms[0] = 15000;
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue