mirror of
https://github.com/u-boot/u-boot.git
synced 2025-01-23 11:13:57 +08:00
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>
This commit is contained in:
parent
0ca6c526f6
commit
c982d866ea
@ -138,8 +138,5 @@ ulong get_timer(ulong base)
|
||||
*/
|
||||
ulong get_tbclk(void)
|
||||
{
|
||||
ulong tbclk;
|
||||
|
||||
tbclk = CONFIG_SYS_HZ;
|
||||
return tbclk;
|
||||
return timer_freq;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user