diff options
author | Michal Simek <monstr@monstr.eu> | 2007-09-24 00:08:37 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2007-09-24 00:08:37 +0200 |
commit | b90c045f035c3cc9b5d2edaed6048dfb74e40763 (patch) | |
tree | ee69b8872cf8c295a48244280c82d98e191111ab /lib_microblaze | |
parent | 6b6f287a33ae8c340f97fb08ed95b6687e2baa4b (diff) | |
download | u-boot-b90c045f035c3cc9b5d2edaed6048dfb74e40763.tar.gz |
synchronizition with mainline
Diffstat (limited to 'lib_microblaze')
-rw-r--r-- | lib_microblaze/time.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib_microblaze/time.c b/lib_microblaze/time.c index 0fef834992..3fa1b11262 100644 --- a/lib_microblaze/time.c +++ b/lib_microblaze/time.c @@ -26,17 +26,9 @@ #include <common.h> -#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 |