summaryrefslogtreecommitdiff
path: root/lib_m68k
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-04-05 23:32:21 +0000
committerwdenk <wdenk>2005-04-05 23:32:21 +0000
commit3c2b3d454daa6024cc20d166b2f50efde169c7fe (patch)
treef66cfb007a5dec1d47a19b2cab8a9dc127468347 /lib_m68k
parentb304c96871c92d1ec8fa57dda36cc198660fd10e (diff)
downloadu-boot-imx-3c2b3d454daa6024cc20d166b2f50efde169c7fe.zip
u-boot-imx-3c2b3d454daa6024cc20d166b2f50efde169c7fe.tar.gz
u-boot-imx-3c2b3d454daa6024cc20d166b2f50efde169c7fe.tar.bz2
* Patch by Ladislav Michl, 05 Apr 2005:
Add support for VoiceBlue board. * Patch by Ladislav Michl, 05 Apr 2005: Fix netboot_common() prototypes. * Cleanup.
Diffstat (limited to 'lib_m68k')
-rw-r--r--lib_m68k/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_m68k/time.c b/lib_m68k/time.c
index e2c1b06..1d6d297 100644
--- a/lib_m68k/time.c
+++ b/lib_m68k/time.c
@@ -135,7 +135,7 @@ void udelay(unsigned long usec)
uint tmp;
timerp = (volatile unsigned short *) (CFG_MBAR + MCFTIMER_BASE3);
-
+
while (usec > 0) {
if (usec > 65000)
tmp = 65000;
@@ -150,7 +150,7 @@ void udelay(unsigned long usec)
timerp[MCFTIMER_PCSR] =
(5 << 8) | MCFTIMER_PCSR_EN | MCFTIMER_PCSR_OVW;
- timerp[MCFTIMER_PMR] = tmp;
+ timerp[MCFTIMER_PMR] = tmp;
while (timerp[MCFTIMER_PCNTR] > 0);
}
}