[PATCH 0/6] sparc: Simplify clock drivers and CPU counter

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Sep 15 14:40:07 UTC 2023


Sebastian Huber (6):
  bsps/leon3: Optional IRQ(A)MP timestamp support
  sparc: Move CPU counter implementation
  bsps/leon3: Make GPTIMER fall back mandatory
  bsps/leon3: Simplify clock and CPU counter
  bsps/leon3: Use custom CPU counter implementation
  bsps/leon3: Use DSU time tag for GR712RC

 bsps/include/bsp/fatal.h                      |   1 -
 bsps/sparc/erc32/clock/ckinit.c               |   9 +-
 .../sparc/include/bsp/sparc-counter.h         |  67 +++---
 bsps/sparc/leon2/clock/ckinit.c               |   8 +-
 bsps/sparc/leon3/clock/ckinit.c               | 163 ++------------
 bsps/sparc/leon3/include/bsp/leon3.h          |  37 ++-
 bsps/sparc/leon3/start/cpucounter.c           | 210 ++++++++++++++----
 .../sparc/shared/start}/sparc-counter-asm.S   |  54 ++---
 cpukit/score/cpu/sparc/cpu_asm.S              |   6 +-
 .../score/cpu/sparc/include/rtems/score/cpu.h |  26 +--
 .../cpu/sparc/include/rtems/score/cpuimpl.h   |   7 +
 spec/build/bsps/sparc/erc32/bsperc32.yml      |   2 +
 spec/build/bsps/sparc/leon2/obj.yml           |   2 +
 spec/build/bsps/sparc/leon3/grp.yml           |   2 +
 spec/build/bsps/sparc/leon3/optdsubase.yml    |  18 ++
 spec/build/cpukit/cpusparc.yml                |   2 -
 16 files changed, 319 insertions(+), 295 deletions(-)
 rename cpukit/score/cpu/sparc/include/rtems/score/sparcimpl.h => bsps/sparc/include/bsp/sparc-counter.h (59%)
 rename {cpukit/score/cpu/sparc => bsps/sparc/shared/start}/sparc-counter-asm.S (83%)
 create mode 100644 spec/build/bsps/sparc/leon3/optdsubase.yml

-- 
2.35.3



More information about the devel mailing list