Commit a7f39e7c authored by Matthias Weisser's avatar Matthias Weisser Committed by Albert ARIBAUD
Browse files

imx: Add get_tbclk() function for imx25

Need this function for autoboot keyd
Signed-off-by: default avatarMatthias Weisser <>
parent 81d668ea
......@@ -187,3 +187,15 @@ void __udelay (unsigned long usec)
while (get_ticks() < tmp) /* loop till event */
* This function is derived from PowerPC code (timebase clock frequency).
* On ARM it returns the number of timer ticks per second.
ulong get_tbclk(void)
ulong tbclk;
tbclk = CONFIG_MX25_CLK32;
return tbclk;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment