mvebu - switch to orion-timer

Stefan Roese sr at denx.de
Wed Aug 24 07:20:24 CEST 2022


Hi Pali,

On 24.08.22 00:33, Pali Rohár wrote:
> Hello Stefan! Now when U-Boot contains new orion-timer.c driver, which
> Michael wrote, I think that it mvebu platform should switch to use it.
> Because build process for armada boards prints deprecation warning that
> new timer is not being used. Could you look at it, if it is possible to
> do global switch for mach-mvebu and mach-kirkwood? I think it does not
> make sense to do per-board switching as it is de-facto platform related
> code.

Yes, I also though about this.

But...

In Linux we have 2 different timer clocksource drivers for Orion /
Kirkwood and Armada XP / 370 etc:

drivers/clocksource/timer-orion.c
drivers/clocksource/timer-armada-370-xp.c

I did not check, if and why this is necessary to handle those chips
via different drivers yet. Perhaps later this week. Or someone of
you beats me with this. ;)

Thanks,
Stefan


More information about the U-Boot mailing list