[PATCH v2 4/9] bsps/leon3: Simplify clock and CPU counter

Martin Åberg maberg at gaisler.com
Thu Oct 19 11:13:39 UTC 2023


OK

On 2023-09-21 17:19, Sebastian Huber wrote:
> Share the timecounter instance between the clock and the CPU counter.
> This greatly simplifies the clock driver since we have to do the device
> selection only in one place, the CPU counter support.
> 
> Update #4954.
> ---
>   bsps/sparc/leon3/clock/ckinit.c      | 130 +++++----------------------
>   bsps/sparc/leon3/include/bsp/leon3.h |   9 ++
>   bsps/sparc/leon3/start/cpucounter.c  |  46 +++++++---
>   3 files changed, 62 insertions(+), 123 deletions(-)


-- 
Best regards,

Martin Åberg
Software Engineer
Frontgrade Gaisler
martin.aberg at gaisler.com

Frontgrade Gaisler AB, Kungsgatan 12, SE-411 19 GÖTEBORG, Sweden.
+46 (0) 31 775 8650, www.gaisler.com


More information about the devel mailing list