[PATCH v2 1/8] timer: orion-timer: Use timer_conv_64() to fix timer wrap around

Michael Walle michael at walle.cc
Fri Sep 2 09:44:21 CEST 2022


Am 2022-09-02 08:25, schrieb Stefan Roese:
> While testing on some Kirkwood platforms it was noticed that the timer
> did not function correctly all the time. The driver did not correctly
> handle 32bit timer value wrap arounds. Using the timer_conv_64()
> conversion function fixes this issue.

Fixes: e9e73d78a8fb ("timer: add orion-timer support")

Ahh. Sorry about that. I've missed that conversation which is also
in lib/time.c in a different call tree.

Maybe this can be picked to master (if this series is going into
next)?

-michael


More information about the U-Boot mailing list