[U-Boot] [PATCH 26/36] rockchip: rk1108: remove rockchip timer for sys timer
Alexander Kochetkov
al.kochet at gmail.com
Tue Mar 27 16:21:48 UTC 2018
The question is: does rk3066 and rk3188 have arch timer? If no, than removing rk_timer
will break u-boot for these chips.
And my comment was about global timer, not arch timer. And I failed to enable arch
timer for rk3188 in the kernel.
Alexander.
> 27 марта 2018 г., в 19:07, Alexander Kochetkov <al.kochet at gmail.com> написал(а):
>
>>
>> 27 марта 2018 г., в 12:29, Kever Yang <kever.yang at rock-chips.com> написал(а):
>>
>> We use ARM arch timer instead.
>
> Hi, Kever!
>
> Just let you know, that arch timer rate on rk3066 and rk3188 depends on CPU frequency.
> I’ve made patch[1] for fixing that in kernel.
> If u-boot do arm clock changes after timer initialization, timer can provide inaccurate delays.
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/clocksource/rockchip_timer.c?id=5e0a39d0f727b35c8b7ef56ba0724c8ceb006297
>
> Alexander.
More information about the U-Boot
mailing list