[rtems commit] bsp/tms570: correct inclusion of header files for build with HW init.

Pavel Pisa ppisa at rtems.org
Wed Nov 14 22:47:22 UTC 2018


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

Author:    Pavel Pisa <pisa at cmp.felk.cvut.cz>
Date:      Wed Nov 14 23:46:43 2018 +0100

bsp/tms570: correct inclusion of header files for build with HW init.

The build fails when TMS570_USE_HWINIT_STARTUP=1 option is set.

---

 bsps/arm/tms570/start/bspstarthooks-hwinit.c       | 6 +++---
 bsps/arm/tms570/start/fail_notification.c          | 2 +-
 bsps/arm/tms570/start/init_emif_sdram.c            | 2 +-
 bsps/arm/tms570/start/init_esm.c                   | 2 +-
 bsps/arm/tms570/start/init_pinmux.c                | 2 +-
 bsps/arm/tms570/start/init_system.c                | 4 ++--
 bsps/arm/tms570/start/tms570_selftest.c            | 4 ++--
 bsps/arm/tms570/start/tms570_selftest_par_can.c    | 4 ++--
 bsps/arm/tms570/start/tms570_selftest_par_mibspi.c | 4 ++--
 bsps/arm/tms570/start/tms570_selftest_par_std.c    | 4 ++--
 bsps/arm/tms570/start/tms570_selftest_parity.c     | 4 ++--
 bsps/arm/tms570/start/tms570_tcram_tests.c         | 4 ++--
 12 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/bsps/arm/tms570/start/bspstarthooks-hwinit.c b/bsps/arm/tms570/start/bspstarthooks-hwinit.c
index 21f4c7d..660c87f 100644
--- a/bsps/arm/tms570/start/bspstarthooks-hwinit.c
+++ b/bsps/arm/tms570/start/bspstarthooks-hwinit.c
@@ -3,9 +3,9 @@
 #include <bsp/start.h>
 #include <bsp/tms570.h>
 
-#include "tms570_selftest.h"
-#include "tms570_selftest_parity.h"
-#include "tms570_hwinit.h"
+#include <bsp/tms570_selftest.h>
+#include <bsp/tms570_selftest_parity.h>
+#include <bsp/tms570_hwinit.h>
 
 void bsp_start_hook_0_done( void );
 
diff --git a/bsps/arm/tms570/start/fail_notification.c b/bsps/arm/tms570/start/fail_notification.c
index d07a6fb..00276e2 100644
--- a/bsps/arm/tms570/start/fail_notification.c
+++ b/bsps/arm/tms570/start/fail_notification.c
@@ -1,7 +1,7 @@
 #include <stdint.h>
 #include <stdbool.h>
 #include <bsp/tms570.h>
-#include "tms570_selftest.h"
+#include <bsp/tms570_selftest.h>
 
 void bsp_selftest_fail_notification( uint32_t flag )
 {
diff --git a/bsps/arm/tms570/start/init_emif_sdram.c b/bsps/arm/tms570/start/init_emif_sdram.c
index b074980..6ce0ccb 100644
--- a/bsps/arm/tms570/start/init_emif_sdram.c
+++ b/bsps/arm/tms570/start/init_emif_sdram.c
@@ -8,7 +8,7 @@
 
 #include <stdint.h>
 #include <bsp/tms570.h>
-#include "tms570_hwinit.h"
+#include <bsp/tms570_hwinit.h>
 
 void tms570_emif_sdram_init( void )
 {
diff --git a/bsps/arm/tms570/start/init_esm.c b/bsps/arm/tms570/start/init_esm.c
index 23989d2..63bd756 100644
--- a/bsps/arm/tms570/start/init_esm.c
+++ b/bsps/arm/tms570/start/init_esm.c
@@ -8,7 +8,7 @@
 
 #include <stdint.h>
 #include <bsp/tms570.h>
-#include "tms570_hwinit.h"
+#include <bsp/tms570_hwinit.h>
 
 /**
  * @brief Error signaling module initialization (HCG:esmInit)
diff --git a/bsps/arm/tms570/start/init_pinmux.c b/bsps/arm/tms570/start/init_pinmux.c
index a0ef95c..8585d66 100644
--- a/bsps/arm/tms570/start/init_pinmux.c
+++ b/bsps/arm/tms570/start/init_pinmux.c
@@ -22,7 +22,7 @@
 #include <bsp/tms570.h>
 #include <bsp/tms570-pinmux.h>
 #include <rtems.h>
-#include "tms570_hwinit.h"
+#include <bsp/tms570_hwinit.h>
 
 /*
  * To check that content is right generated use
diff --git a/bsps/arm/tms570/start/init_system.c b/bsps/arm/tms570/start/init_system.c
index a0633be..7611d83 100644
--- a/bsps/arm/tms570/start/init_system.c
+++ b/bsps/arm/tms570/start/init_system.c
@@ -41,8 +41,8 @@
 #include <stdbool.h>
 #include <bsp/tms570.h>
 #include <bsp/tms570-pinmux.h>
-#include "tms570_selftest.h"
-#include "tms570_hwinit.h"
+#include <bsp/tms570_selftest.h>
+#include <bsp/tms570_hwinit.h>
 
 /**
  * @brief Setup all system PLLs (HCG:setupPLL)
diff --git a/bsps/arm/tms570/start/tms570_selftest.c b/bsps/arm/tms570/start/tms570_selftest.c
index d0711c1..c33f6ac 100644
--- a/bsps/arm/tms570/start/tms570_selftest.c
+++ b/bsps/arm/tms570/start/tms570_selftest.c
@@ -43,8 +43,8 @@
 #include <stdbool.h>
 #include <stddef.h>
 #include <bsp/tms570.h>
-#include "tms570_selftest.h"
-#include "tms570_hwinit.h"
+#include <bsp/tms570_selftest.h>
+#include <bsp/tms570_hwinit.h>
 
 /**
  * @brief Checks to see if the EFUSE Stuck at zero test is completed successfully (HCG:efcStuckZeroTest).
diff --git a/bsps/arm/tms570/start/tms570_selftest_par_can.c b/bsps/arm/tms570/start/tms570_selftest_par_can.c
index 41501c8..5cafd66 100644
--- a/bsps/arm/tms570/start/tms570_selftest_par_can.c
+++ b/bsps/arm/tms570/start/tms570_selftest_par_can.c
@@ -24,8 +24,8 @@
 #include <stdint.h>
 #include <stddef.h>
 #include <bsp/tms570.h>
-#include "tms570_selftest.h"
-#include "tms570_selftest_parity.h"
+#include <bsp/tms570_selftest.h>
+#include <bsp/tms570_selftest_parity.h>
 
 /**
  * @brief run test to check that parity protection works for CAN modules RAM
diff --git a/bsps/arm/tms570/start/tms570_selftest_par_mibspi.c b/bsps/arm/tms570/start/tms570_selftest_par_mibspi.c
index 2f693da..3b9724d 100644
--- a/bsps/arm/tms570/start/tms570_selftest_par_mibspi.c
+++ b/bsps/arm/tms570/start/tms570_selftest_par_mibspi.c
@@ -24,8 +24,8 @@
 #include <stdint.h>
 #include <stddef.h>
 #include <bsp/tms570.h>
-#include "tms570_selftest.h"
-#include "tms570_selftest_parity.h"
+#include <bsp/tms570_selftest.h>
+#include <bsp/tms570_selftest_parity.h>
 
 /**
  * @brief run test to check that parity protection works for MibSPI modules RAM
diff --git a/bsps/arm/tms570/start/tms570_selftest_par_std.c b/bsps/arm/tms570/start/tms570_selftest_par_std.c
index a9b20b5..53dff31 100644
--- a/bsps/arm/tms570/start/tms570_selftest_par_std.c
+++ b/bsps/arm/tms570/start/tms570_selftest_par_std.c
@@ -24,8 +24,8 @@
 #include <stdint.h>
 #include <stddef.h>
 #include <bsp/tms570.h>
-#include "tms570_selftest.h"
-#include "tms570_selftest_parity.h"
+#include <bsp/tms570_selftest.h>
+#include <bsp/tms570_selftest_parity.h>
 
 /**
  * @brief run test to check that parity protection works for modules with common setup structure.
diff --git a/bsps/arm/tms570/start/tms570_selftest_parity.c b/bsps/arm/tms570/start/tms570_selftest_parity.c
index 188c65e..2ee3bea 100644
--- a/bsps/arm/tms570/start/tms570_selftest_parity.c
+++ b/bsps/arm/tms570/start/tms570_selftest_parity.c
@@ -22,8 +22,8 @@
 #include <stddef.h>
 #include <bsp/tms570.h>
 #include <rtems.h>
-#include "tms570_selftest.h"
-#include "tms570_selftest_parity.h"
+#include <bsp/tms570_selftest.h>
+#include <bsp/tms570_selftest_parity.h>
 
 /* HCG:het1ParityCheck */
 const tms570_selftest_par_desc_t
diff --git a/bsps/arm/tms570/start/tms570_tcram_tests.c b/bsps/arm/tms570/start/tms570_tcram_tests.c
index d0c7bbf..ce5dd68 100644
--- a/bsps/arm/tms570/start/tms570_tcram_tests.c
+++ b/bsps/arm/tms570/start/tms570_tcram_tests.c
@@ -56,8 +56,8 @@
 
 #include <stdint.h>
 #include <bsp/tms570.h>
-#include "tms570_selftest.h"
-#include "tms570_hwinit.h"
+#include <bsp/tms570_selftest.h>
+#include <bsp/tms570_hwinit.h>
 
 #define tcramA1bitError (*(volatile uint32_t *)(0x08400000U))
 #define tcramA2bitError (*(volatile uint32_t *)(0x08400010U))



More information about the vc mailing list