167
167
lastdec = read_timer();
172
* This function is derived from PowerPC code (read timebase as long long).
173
* On ARM it just returns the timer value.
175
unsigned long long get_ticks(void)
181
* This function is derived from PowerPC code (timebase clock frequency).
182
* On ARM it returns the number of timer ticks per second.
184
ulong get_tbclk (void)
186
return (ulong)CONFIG_SYS_HZ;