summaryrefslogtreecommitdiff
path: root/lib_microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-09-15 00:03:35 +0200
committerMichal Simek <monstr@monstr.eu>2007-09-15 00:03:35 +0200
commit991b089d1ce5ad945725e3657a8f106dfa02a38e (patch)
tree2c54f0a438a5ca915d88f8badab217b8ae993f11 /lib_microblaze
parent329ff3c93862bbee281cc601db786ce35026ca4a (diff)
downloadu-boot-imx-991b089d1ce5ad945725e3657a8f106dfa02a38e.zip
u-boot-imx-991b089d1ce5ad945725e3657a8f106dfa02a38e.tar.gz
u-boot-imx-991b089d1ce5ad945725e3657a8f106dfa02a38e.tar.bz2
Synchronize with U-BOOT mainline
Diffstat (limited to 'lib_microblaze')
-rw-r--r--lib_microblaze/time.c8
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