Skip to content
Snippets Groups Projects
Commit ac169d64 authored by TsiChung Liew's avatar TsiChung Liew Committed by Wolfgang Denk
Browse files

ColdFire: Fix compilation issue caused by a missing function


Implement usec2ticks() which is used by fsl_i2c.c in
lib_m68k/time.c

Signed-off-by: default avatarTsiChung Liew <Tsi-Chung.Liew@freescale.com>
parent 01ae85b5
No related branches found
No related tags found
No related merge requests found
......@@ -199,6 +199,11 @@ unsigned long long get_ticks(void)
return get_timer(0);
}
unsigned long usec2ticks(unsigned long usec)
{
return get_timer(usec);
}
/*
* This function is derived from PowerPC code (timebase clock frequency).
* On M68K it returns the number of timer ticks per second.
......
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