arm:configure tick per ms to reflect the free running clock.

Change-Id: Ifc02658d6ae48dd01a868bfaa3d60f77bc6cc800
This commit is contained in:
Kees Jongenburger 2013-05-23 17:58:51 +02:00
parent 2856cec5b9
commit 534b19187e

View file

@ -26,8 +26,12 @@ int init_local_timer(unsigned freq)
{
omap3_timer_init(freq);
omap3_frclock_init();
/* always only 1 cpu in the system */
tsc_per_ms[0] = 1;
#ifdef DM37XX
tsc_per_ms[0] = 16250;
#endif
#ifdef AM335X
tsc_per_ms[0] = 15000;
#endif
return 0;
}