summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/versatile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-05-21 23:13:18 +0200
committerWolfgang Denk <wd@denx.de>2010-05-21 23:13:18 +0200
commit92381c41c718d260476d5c636c473f50e3b5a79c (patch)
tree544aab273d3127137fa34aeebab6f5b54ae45659 /arch/arm/cpu/arm926ejs/versatile
parent3f786bb8542ee85ea898152b40b1f0d98f0801df (diff)
downloadu-boot-imx-92381c41c718d260476d5c636c473f50e3b5a79c.zip
u-boot-imx-92381c41c718d260476d5c636c473f50e3b5a79c.tar.gz
u-boot-imx-92381c41c718d260476d5c636c473f50e3b5a79c.tar.bz2
ARM: */timer.c: fix spelling and vertical alignment
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/versatile')
-rw-r--r--arch/arm/cpu/arm926ejs/versatile/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/arm926ejs/versatile/timer.c b/arch/arm/cpu/arm926ejs/versatile/timer.c
index 563db36..81d6749 100644
--- a/arch/arm/cpu/arm926ejs/versatile/timer.c
+++ b/arch/arm/cpu/arm926ejs/versatile/timer.c
@@ -108,14 +108,14 @@ void set_timer (ulong t)
timestamp = t;
}
-/* delay x useconds AND perserve advance timstamp value */
+/* delay x useconds AND preserve advance timestamp value */
void __udelay (unsigned long usec)
{
ulong tmo, tmp;
if(usec >= 1000){ /* if "big" number, spread normalization to seconds */
tmo = usec / 1000; /* start to normalize for usec to ticks per sec */
- tmo *= CONFIG_SYS_HZ; /* find number of "ticks" to wait to achieve target */
+ tmo *= CONFIG_SYS_HZ; /* find number of "ticks" to wait to achieve target */
tmo /= 1000; /* finish normalize. */
}else{ /* else small number, don't kill it prior to HZ multiply */
tmo = usec * CONFIG_SYS_HZ;