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
1 changed files with 1 additions and 4 deletions
|
@ -138,8 +138,5 @@ ulong get_timer(ulong base)
|
||||||
*/
|
*/
|
||||||
ulong get_tbclk(void)
|
ulong get_tbclk(void)
|
||||||
{
|
{
|
||||||
ulong tbclk;
|
return timer_freq;
|
||||||
|
|
||||||
tbclk = CONFIG_SYS_HZ;
|
|
||||||
return tbclk;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue