[U-Boot] [U-Boot, v2, 03/15] arm: armv7: solve issue for timer_rate_hz in arch timer

Tom Rini trini at konsulko.com
Mon Mar 19 22:35:42 UTC 2018


On Mon, Mar 12, 2018 at 10:46:06AM +0100, Patrick Delaunay wrote:

> The current value timer_rate_hz causes a problem with function
> timer_get_us() from lib time and then an issue with
> readx_poll_timeout() function.
> 
> With corrected value for tbclk() = timer_rate_hz = CONFIG_SYS_HZ_CLOCK
> the weak functions in lib timer can be used:
> - get_timer()
> - __udelay()
> So the specific function in this file are removed.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180319/6f6df2fb/attachment.sig>


More information about the U-Boot mailing list