diff options
author | Michal Simek <monstr@monstr.eu> | 2007-09-16 20:32:10 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2007-09-16 20:32:10 +0200 |
commit | 7201cfc4a79c0f55f5ebee73c5a626a49cb53f73 (patch) | |
tree | 2c54f0a438a5ca915d88f8badab217b8ae993f11 /lib_microblaze/time.c | |
parent | fd64975a882ca654f3139385791cdd237d6acc53 (diff) | |
parent | 991b089d1ce5ad945725e3657a8f106dfa02a38e (diff) | |
download | u-boot-imx-7201cfc4a79c0f55f5ebee73c5a626a49cb53f73.zip u-boot-imx-7201cfc4a79c0f55f5ebee73c5a626a49cb53f73.tar.gz u-boot-imx-7201cfc4a79c0f55f5ebee73c5a626a49cb53f73.tar.bz2 |
Merge branch 'master' of /home/uboot/070912/u-boot-microblaze/
Diffstat (limited to 'lib_microblaze/time.c')
-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 0fef834..3fa1b11 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 |