From: TsiChung Liew <[EMAIL PROTECTED]> Implement usec2ticks() which is used by fsl_i2c.c in lib_m68k/time.c
Signed-off-by: TsiChung Liew <[EMAIL PROTECTED]> --- lib_m68k/time.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/lib_m68k/time.c b/lib_m68k/time.c index 28d371d..6eba784 100644 --- a/lib_m68k/time.c +++ b/lib_m68k/time.c @@ -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. -- 1.5.6.4 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users