[rtems commit] dev/clock: Move bcm2835-system-timer driver to shared space

Joel Sherrill joel at rtems.org
Thu Apr 11 15:24:05 UTC 2024


Module:    rtems
Branch:    master
Commit:    4814f82ba48023308b64d20c759589fbf91fdb83
Changeset: http://git.rtems.org/rtems/commit/?id=4814f82ba48023308b64d20c759589fbf91fdb83

Author:    Ning Yang <yangn0 at qq.com>
Date:      Wed Apr 10 14:05:03 2024 +0800

dev/clock: Move bcm2835-system-timer driver to shared space

This patch moves the bcm2835 system timer driver in the arm/raspberrypi directory to the shared directory and adjusts arm/raspberrypi BSP.

---

 .../clock/clockdrv.c => shared/dev/clock/bcm2835-system-timer.c}        | 0
 spec/build/bsps/arm/raspberrypi/obj.yml                                 | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/arm/raspberrypi/clock/clockdrv.c b/bsps/shared/dev/clock/bcm2835-system-timer.c
similarity index 100%
rename from bsps/arm/raspberrypi/clock/clockdrv.c
rename to bsps/shared/dev/clock/bcm2835-system-timer.c
diff --git a/spec/build/bsps/arm/raspberrypi/obj.yml b/spec/build/bsps/arm/raspberrypi/obj.yml
index ec5c82a8fb..ea370829df 100644
--- a/spec/build/bsps/arm/raspberrypi/obj.yml
+++ b/spec/build/bsps/arm/raspberrypi/obj.yml
@@ -26,7 +26,6 @@ install:
   - bsps/arm/raspberrypi/include/bsp/vc.h
 links: []
 source:
-- bsps/arm/raspberrypi/clock/clockdrv.c
 - bsps/arm/raspberrypi/console/console-config.c
 - bsps/arm/raspberrypi/console/fb.c
 - bsps/arm/raspberrypi/console/fbcons.c
@@ -47,6 +46,7 @@ source:
 - bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
 - bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
 - bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/shared/dev/clock/bcm2835-system-timer.c
 - bsps/shared/dev/cpucounter/cpucounterfrequency.c
 - bsps/shared/dev/cpucounter/cpucounterread.c
 - bsps/shared/dev/getentropy/getentropy-cpucounter.c



More information about the vc mailing list