[PATCH 02/47] bsp/tms570: Remove empty <bsp/tms570-rti.h>

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Dec 21 14:37:35 UTC 2023


---
 bsps/arm/tms570/clock/clock.c               |  2 +-
 bsps/arm/tms570/include/bsp/system-clocks.h |  2 +-
 bsps/arm/tms570/include/bsp/tms570-rti.h    | 46 ---------------------
 spec/build/bsps/arm/tms570/obj.yml          |  1 -
 4 files changed, 2 insertions(+), 49 deletions(-)
 delete mode 100644 bsps/arm/tms570/include/bsp/tms570-rti.h

diff --git a/bsps/arm/tms570/clock/clock.c b/bsps/arm/tms570/clock/clock.c
index aad56e2bd0..64daa213ac 100644
--- a/bsps/arm/tms570/clock/clock.c
+++ b/bsps/arm/tms570/clock/clock.c
@@ -28,7 +28,7 @@
 #include <rtems.h>
 #include <bsp.h>
 #include <bsp/irq.h>
-#include <bsp/tms570-rti.h>
+#include <bsp/tms570.h>
 #include <rtems/timecounter.h>
 
 static struct timecounter tms570_rti_tc;
diff --git a/bsps/arm/tms570/include/bsp/system-clocks.h b/bsps/arm/tms570/include/bsp/system-clocks.h
index afd72482ee..e251ef7ea8 100644
--- a/bsps/arm/tms570/include/bsp/system-clocks.h
+++ b/bsps/arm/tms570/include/bsp/system-clocks.h
@@ -25,7 +25,7 @@
 #ifndef LIBBSP_ARM_TMS570_SYSTEM_CLOCKS_H
 #define LIBBSP_ARM_TMS570_SYSTEM_CLOCKS_H
 
-#include <bsp/tms570-rti.h>
+#include <bsp/tms570.h>
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/bsps/arm/tms570/include/bsp/tms570-rti.h b/bsps/arm/tms570/include/bsp/tms570-rti.h
deleted file mode 100644
index c19fafa9e1..0000000000
--- a/bsps/arm/tms570/include/bsp/tms570-rti.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * @file
- *
- * @ingroup RTEMSBSPsARMTMS570
- *
- * @brief Real Time Interrupt module (RTI) header file.
- */
-
-/*
- * Copyright (c) 2014 Premysl Houdek <kom541000 at gmail.com>
- *
- * Google Summer of Code 2014 at
- * Czech Technical University in Prague
- * Zikova 1903/4
- * 166 36 Praha 6
- * Czech Republic
- *
- * Based on LPC24xx and LPC1768 BSP
- * by embedded brains GmbH & Co. KG and others
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#ifndef LIBBSP_ARM_TMS570_RTI_H
-#define LIBBSP_ARM_TMS570_RTI_H
-
-#ifndef ASM
-
-#include <stdint.h>
-#include <bsp/tms570.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-/** @} */
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* ASM */
-
-#endif /* LIBBSP_ARM_TMS570_IRQ_H */
diff --git a/spec/build/bsps/arm/tms570/obj.yml b/spec/build/bsps/arm/tms570/obj.yml
index 95ecb37963..d51612faf6 100644
--- a/spec/build/bsps/arm/tms570/obj.yml
+++ b/spec/build/bsps/arm/tms570/obj.yml
@@ -18,7 +18,6 @@ install:
   - bsps/arm/tms570/include/bsp/tms570-pinmux.h
   - bsps/arm/tms570/include/bsp/tms570-pins.h
   - bsps/arm/tms570/include/bsp/tms570-pom.h
-  - bsps/arm/tms570/include/bsp/tms570-rti.h
   - bsps/arm/tms570/include/bsp/tms570-sci-driver.h
   - bsps/arm/tms570/include/bsp/tms570-sci.h
   - bsps/arm/tms570/include/bsp/tms570-vim.h
-- 
2.35.3



More information about the devel mailing list