summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJens Scharsig <js_at_ng@scharsoft.de>2010-08-07 19:49:42 +0200
committerReinhard Meyer <u-boot@emk-elektronik.de>2010-08-31 10:38:35 +0200
commitc982d866eaee5e8469af9e22eb8f51c63adcfafa (patch)
tree27698ac7fe21a6b6f157ec5ac1597ac95c8b8aec /arch
parent0ca6c526f61fd07190cda3e8328e6ea4e35a8d81 (diff)
AT91 Fix: return value of get_tbclk
* 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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/arm926ejs/at91/timer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/cpu/arm926ejs/at91/timer.c b/arch/arm/cpu/arm926ejs/at91/timer.c
index d21eebfb4eb..8efc34bcf12 100644
--- 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;
}