Skip to content
Snippets Groups Projects
Commit 60ebcffb authored by Stefano Babic's avatar Stefano Babic Committed by Albert ARIBAUD
Browse files

MX31: add missing get_tbclk()


Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
CC: Helmut Raiger <helmut.raiger@hale.at>
parent 31bb50f8
No related branches found
No related tags found
No related merge requests found
......@@ -153,6 +153,15 @@ void __udelay(unsigned long usec)
/*NOP*/;
}
/*
* 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)
{
return CONFIG_MX31_CLK32;
}
void reset_cpu(ulong addr)
{
struct wdog_regs *wdog = (struct wdog_regs *)WDOG_BASE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment