projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ca6c52
)
AT91 Fix: return value of get_tbclk
author
Jens Scharsig
<js_at_ng@scharsoft.de>
Sat, 7 Aug 2010 17:49:42 +0000
(19:49 +0200)
committer
Reinhard Meyer
<u-boot@emk-elektronik.de>
Tue, 31 Aug 2010 08:38:35 +0000
(10:38 +0200)
* Fix: return value of get_tbclk
* this fixes issue with prematurely restart/retry, if BOOT_RETRY_TIMEOUT is used
Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
arch/arm/cpu/arm926ejs/at91/timer.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/arm926ejs/at91/timer.c
b/arch/arm/cpu/arm926ejs/at91/timer.c
index d21eebfb4eb1766cc43909c7f2e3046aab615d1e..8efc34bcf12061d81244e6736c45b38b54e32b17 100644
(file)
--- a/
arch/arm/cpu/arm926ejs/at91/timer.c
+++ b/
arch/arm/cpu/arm926ejs/at91/timer.c
@@
-138,8
+138,5
@@
ulong get_timer(ulong base)
*/
ulong get_tbclk(void)
{
- ulong tbclk;
-
- tbclk = CONFIG_SYS_HZ;
- return tbclk;
+ return timer_freq;
}