diff options
author | Jens Scharsig <js_at_ng@scharsoft.de> | 2010-08-07 19:49:42 +0200 |
---|---|---|
committer | Reinhard Meyer <u-boot@emk-elektronik.de> | 2010-08-31 10:38:35 +0200 |
commit | c982d866eaee5e8469af9e22eb8f51c63adcfafa (patch) | |
tree | 27698ac7fe21a6b6f157ec5ac1597ac95c8b8aec /arch/arm/cpu | |
parent | 0ca6c526f61fd07190cda3e8328e6ea4e35a8d81 (diff) | |
download | u-boot-imx-c982d866eaee5e8469af9e22eb8f51c63adcfafa.zip u-boot-imx-c982d866eaee5e8469af9e22eb8f51c63adcfafa.tar.gz u-boot-imx-c982d866eaee5e8469af9e22eb8f51c63adcfafa.tar.bz2 |
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/arm/cpu')
-rw-r--r-- | arch/arm/cpu/arm926ejs/at91/timer.c | 5 |
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 d21eebf..8efc34b 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; } |