]> Git Repo - u-boot.git/commitdiff
AT91 Fix: return value of get_tbclk
authorJens Scharsig <[email protected]>
Sat, 7 Aug 2010 17:49:42 +0000 (19:49 +0200)
committerReinhard Meyer <[email protected]>
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 <[email protected]>
arch/arm/cpu/arm926ejs/at91/timer.c

index d21eebfb4eb1766cc43909c7f2e3046aab615d1e..8efc34bcf12061d81244e6736c45b38b54e32b17 100644 (file)
@@ -138,8 +138,5 @@ ulong get_timer(ulong base)
  */
 ulong get_tbclk(void)
 {
-       ulong tbclk;
-
-       tbclk = CONFIG_SYS_HZ;
-       return tbclk;
+       return timer_freq;
 }
This page took 0.03479 seconds and 4 git commands to generate.