From 991b089d1ce5ad945725e3657a8f106dfa02a38e Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Sat, 15 Sep 2007 00:03:35 +0200 Subject: Synchronize with U-BOOT mainline --- lib_microblaze/time.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib_microblaze') diff --git a/lib_microblaze/time.c b/lib_microblaze/time.c index 0fef834..3fa1b11 100644 --- a/lib_microblaze/time.c +++ b/lib_microblaze/time.c @@ -26,17 +26,9 @@ #include -#ifdef CFG_TIMER_0 void udelay (unsigned long usec) { int i; i = get_timer (0); while ((get_timer (0) - i) < (usec / 1000)) ; } -#else -void udelay (unsigned long usec) -{ - unsigned int i; - for (i = 0; i < (usec * XILINX_CLOCK_FREQ / 10000000); i++); -} -#endif -- cgit v1.1