diff options
author | Wolfgang Denk <wd@denx.de> | 2010-05-21 23:13:18 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-05-21 23:13:18 +0200 |
commit | 92381c41c718d260476d5c636c473f50e3b5a79c (patch) | |
tree | 544aab273d3127137fa34aeebab6f5b54ae45659 /arch/arm/cpu/arm926ejs/omap | |
parent | 3f786bb8542ee85ea898152b40b1f0d98f0801df (diff) | |
download | u-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/omap')
-rw-r--r-- | arch/arm/cpu/arm926ejs/omap/timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/arm926ejs/omap/timer.c b/arch/arm/cpu/arm926ejs/omap/timer.c index 2ac38c4..7d4b6e6 100644 --- a/arch/arm/cpu/arm926ejs/omap/timer.c +++ b/arch/arm/cpu/arm926ejs/omap/timer.c @@ -79,14 +79,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; |