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

2023-10-19 Thread Martin Ã…berg
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

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

2023-09-21 Thread Sebastian Huber
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/