[rtems commit] bsp/gen5200: Use public include path
Sebastian Huber
sebh at rtems.org
Fri Jan 5 10:59:14 UTC 2018
Module: rtems
Branch: master
Commit: caeaae2673b28cbe38a834437a5eb9c53aca6d4a
Changeset: http://git.rtems.org/rtems/commit/?id=caeaae2673b28cbe38a834437a5eb9c53aca6d4a
Author: Chris Johns <chrisj at rtems.org>
Date: Thu Jan 4 08:50:56 2018 +0100
bsp/gen5200: Use public include path
Update #3254.
---
c/src/lib/libbsp/powerpc/gen5200/bestcomm/bestcomm_api.c | 10 +++++-----
c/src/lib/libbsp/powerpc/gen5200/bestcomm/bestcomm_glue.c | 14 +++++++-------
c/src/lib/libbsp/powerpc/gen5200/bestcomm/dma_image.c | 2 +-
.../lib/libbsp/powerpc/gen5200/bestcomm/dma_image.reloc.c | 2 +-
c/src/lib/libbsp/powerpc/gen5200/bestcomm/load_task.c | 10 +++++-----
c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_ata.c | 3 +--
.../libbsp/powerpc/gen5200/bestcomm/tasksetup_bdtable.c | 8 ++++----
.../libbsp/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_0.c | 3 +--
.../libbsp/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_1.c | 3 +--
.../libbsp/powerpc/gen5200/bestcomm/tasksetup_fec_rx_bd.c | 3 +--
.../libbsp/powerpc/gen5200/bestcomm/tasksetup_fec_tx_bd.c | 2 +-
.../libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_0.c | 3 +--
.../libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_1.c | 3 +--
.../libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_2.c | 3 +--
.../libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_3.c | 3 +--
.../powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_0.c | 3 +--
.../powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_1.c | 3 +--
.../libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_rx_bd.c | 3 +--
.../libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_tx_bd.c | 3 +--
c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_lpc.c | 3 +--
.../lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_pci_rx.c | 3 +--
.../lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_pci_tx.c | 3 +--
c/src/lib/libbsp/powerpc/gen5200/console/console.c | 2 +-
c/src/lib/libbsp/powerpc/gen5200/i2c/mpc5200mbus.c | 6 +++---
c/src/lib/libbsp/powerpc/gen5200/i2c/mpc5200mbus.h | 5 +++--
c/src/lib/libbsp/powerpc/gen5200/ide/idecfg.c | 2 +-
c/src/lib/libbsp/powerpc/gen5200/ide/pcmcia_ide.c | 2 +-
c/src/lib/libbsp/powerpc/gen5200/mscan/mscan.c | 2 +-
c/src/lib/libbsp/powerpc/gen5200/mscan/mscan_int.h | 2 +-
c/src/lib/libbsp/powerpc/gen5200/nvram/nvram.c | 4 ++--
c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c | 4 ++--
31 files changed, 54 insertions(+), 68 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/bestcomm_api.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/bestcomm_api.c
index 171882b..ead2046 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/bestcomm_api.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/bestcomm_api.c
@@ -39,11 +39,11 @@
* inline in capi/bestcomm_api.h.
*/
-#include "include/ppctypes.h"
-#include "bestcomm_api.h"
-#include "task_api/bestcomm_cntrl.h"
-#include "task_api/bestcomm_api_mem.h"
-#include "task_api/tasksetup_bdtable.h"
+#include <bsp/bestcomm/include/ppctypes.h>
+#include <bsp/bestcomm/bestcomm_api.h>
+#include <bsp/bestcomm/task_api/bestcomm_cntrl.h>
+#include <bsp/bestcomm/task_api/bestcomm_api_mem.h>
+#include <bsp/bestcomm/task_api/tasksetup_bdtable.h>
/***********************************************************************
*/
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/bestcomm_glue.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/bestcomm_glue.c
index c313771..9e0d946 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/bestcomm_glue.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/bestcomm_glue.c
@@ -20,13 +20,13 @@
#include <rtems.h>
#include <bsp.h>
#include <bsp/irq.h>
-#include "../include/mpc5200.h"
-#include "include/ppctypes.h" /* uint32, et. al. */
-#include "dma_image.h"
-#include "task_api/bestcomm_cntrl.h"
-#include "bestcomm_api.h"
-#include "bestcomm_glue.h"
-#include "include/mgt5200/sdma.h"
+#include <bsp/mpc5200.h>
+#include <bsp/bestcomm/include/ppctypes.h> /* uint32, et. al. */
+#include <bsp/bestcomm/dma_image.h>
+#include <bsp/bestcomm/task_api/bestcomm_cntrl.h>
+#include <bsp/bestcomm/bestcomm_api.h>
+#include <bsp/bestcomm/bestcomm_glue.h>
+#include <bsp/bestcomm/include/mgt5200/sdma.h>
#include <rtems/score/heapimpl.h>
extern const uint32 taskTableBytes;
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/dma_image.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/dma_image.c
index 60a0f55..3ca468b 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/dma_image.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/dma_image.c
@@ -22,7 +22,7 @@
*
******************************************************************************/
-#include "dma_image.h"
+#include <bsp/bestcomm/dma_image.h>
TASK_PCI_TX_api_t TASK_PCI_TX_storage;
TASK_PCI_TX_api_t *TASK_PCI_TX_api=&TASK_PCI_TX_storage;
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/dma_image.reloc.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/dma_image.reloc.c
index 8e4aa8c..ca02c21 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/dma_image.reloc.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/dma_image.reloc.c
@@ -23,7 +23,7 @@
******************************************************************************/
-#include "include/ppctypes.h"
+#include <bsp/bestcomm/include/ppctypes.h>
uint32 taskTableBytes = 0x00001500; /* Number of bytes in image */
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/load_task.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/load_task.c
index c663295..c9bbb2d 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/load_task.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/load_task.c
@@ -26,12 +26,12 @@
#include <string.h>
#endif
-#include "include/ppctypes.h"
-#include "include/mgt5200/sdma.h"
-#include "include/mgt5200/mgt5200.h"
+#include <bsp/bestcomm/include/ppctypes.h>
+#include <bsp/bestcomm/include/mgt5200/sdma.h>
+#include <bsp/bestcomm/include/mgt5200/mgt5200.h>
-#include "dma_image.h"
-#include "bestcomm_api.h"
+#include <bsp/bestcomm/dma_image.h>
+#include <bsp/bestcomm/bestcomm_api.h>
#ifdef __MWERKS__
__declspec(section ".text") extern const uint32 taskTable;
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_ata.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_ata.c
index 6b5bea1..47744c1 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_ata.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_ata.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_bdtable.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_bdtable.c
index ee8e093..035422d 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_bdtable.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_bdtable.c
@@ -24,10 +24,10 @@
#include <assert.h>
-#include "bestcomm_api.h"
-#include "bestcomm_glue.h"
-#include "task_api/tasksetup_bdtable.h"
-#include "include/mgt5200/mgt5200.h"
+#include <bsp/bestcomm/bestcomm_api.h>
+#include <bsp/bestcomm/bestcomm_glue.h>
+#include <bsp/bestcomm/task_api/tasksetup_bdtable.h>
+#include <bsp/bestcomm/include/mgt5200/mgt5200.h>
#ifdef __MWERKS__
__declspec(section ".text") extern const uint32 taskTable;
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_0.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_0.c
index dea2412..5a6c238 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_0.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_0.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_1.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_1.c
index d9635b0..8c79247 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_1.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_1.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_fec_rx_bd.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_fec_rx_bd.c
index 38c0759..0105f7f 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_fec_rx_bd.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_fec_rx_bd.c
@@ -34,5 +34,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_fec_tx_bd.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_fec_tx_bd.c
index 6335b96..9bf5c37 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_fec_tx_bd.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_fec_tx_bd.c
@@ -35,4 +35,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_0.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_0.c
index 9ad82fd..12d5537 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_0.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_0.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_1.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_1.c
index 1b6c5da..139104f 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_1.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_1.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_2.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_2.c
index adeda49..17612b3 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_2.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_2.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_3.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_3.c
index 7f13b41..8f96f5a 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_3.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_3.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_0.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_0.c
index ab309bf..b05db10 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_0.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_0.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_1.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_1.c
index 742261b..f5e0109 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_1.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_1.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_rx_bd.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_rx_bd.c
index 83a71cc..dc81ad6 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_rx_bd.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_rx_bd.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_tx_bd.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_tx_bd.c
index 341873b..2ca073e 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_tx_bd.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_gen_tx_bd.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_lpc.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_lpc.c
index eff8a27..725080a 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_lpc.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_lpc.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_pci_rx.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_pci_rx.c
index ecf017d..80f20b9 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_pci_rx.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_pci_rx.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_pci_tx.c b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_pci_tx.c
index 4b13319..37db9a6 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_pci_tx.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/bestcomm/tasksetup_pci_tx.c
@@ -33,5 +33,4 @@
#define INCR_DST 0
#define TYPE_DST FLEX_T
-#include "task_api/tasksetup_general.h"
-
+#include <bsp/bestcomm/task_api/tasksetup_general.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/console/console.c b/c/src/lib/libbsp/powerpc/gen5200/console/console.c
index 76dcc0c..d732503 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/console/console.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/console/console.c
@@ -99,7 +99,7 @@
#include <string.h>
#include <rtems.h>
-#include "../include/mpc5200.h"
+#include <bsp/mpc5200.h>
#include <bsp.h>
#include <bsp/irq.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/i2c/mpc5200mbus.c b/c/src/lib/libbsp/powerpc/gen5200/i2c/mpc5200mbus.c
index cfb4cd0..d020206 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/i2c/mpc5200mbus.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/i2c/mpc5200mbus.c
@@ -30,10 +30,10 @@
*
* http://www.rtems.org/license/LICENSE.
*/
-#include "mpc5200mbus.h"
-#include "../include/mpc5200.h"
+#include "../i2c/mpc5200mbus.h"
+#include <bsp/mpc5200.h>
#include <bsp/irq.h>
-#include "../include/i2c.h"
+#include <i2c.h>
/* Events of I2C machine */
typedef enum i2c_event {
diff --git a/c/src/lib/libbsp/powerpc/gen5200/i2c/mpc5200mbus.h b/c/src/lib/libbsp/powerpc/gen5200/i2c/mpc5200mbus.h
index 9a58681..fb3c214 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/i2c/mpc5200mbus.h
+++ b/c/src/lib/libbsp/powerpc/gen5200/i2c/mpc5200mbus.h
@@ -34,8 +34,9 @@
#ifndef __MPC5200BSP_MPC5200MBUS_H__
#define __MPC5200BSP_MPC5200MBUS_H__
-#include "../include/mpc5200.h"
-#include "../include/i2c.h"
+#include <bsp/mpc5200.h>
+#include <i2c.h>
+
/* States of I2C machine */
typedef enum mpc5200mbus_i2c_state {
diff --git a/c/src/lib/libbsp/powerpc/gen5200/ide/idecfg.c b/c/src/lib/libbsp/powerpc/gen5200/ide/idecfg.c
index 428cea6..8cd26be 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/ide/idecfg.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/ide/idecfg.c
@@ -19,7 +19,7 @@
#include <rtems.h>
#include <bsp.h>
#include <bsp/irq.h>
-#include "../include/mpc5200.h"
+#include <bsp/mpc5200.h>
#include "./pcmcia_ide.h"
#include <libchip/ide_ctrl.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/ide/pcmcia_ide.c b/c/src/lib/libbsp/powerpc/gen5200/ide/pcmcia_ide.c
index e1e9e7d..9683ae3 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/ide/pcmcia_ide.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/ide/pcmcia_ide.c
@@ -81,7 +81,7 @@
#include <rtems/score/sysstate.h>
#include <bsp.h>
#include <bsp/irq.h>
-#include "../include/mpc5200.h"
+#include <bsp/mpc5200.h>
#include "./pcmcia_ide.h"
#include <libchip/ide_ctrl.h>
diff --git a/c/src/lib/libbsp/powerpc/gen5200/mscan/mscan.c b/c/src/lib/libbsp/powerpc/gen5200/mscan/mscan.c
index ae85c10..e36b622 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/mscan/mscan.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/mscan/mscan.c
@@ -24,7 +24,7 @@
#include <rtems/libio.h>
#include <string.h>
-#include "../include/bsp.h"
+#include <bsp.h>
#include <bsp/fatal.h>
#include <bsp/irq.h>
#include "../mscan/mscan_int.h"
diff --git a/c/src/lib/libbsp/powerpc/gen5200/mscan/mscan_int.h b/c/src/lib/libbsp/powerpc/gen5200/mscan/mscan_int.h
index 8cb93d3..7bac194 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/mscan/mscan_int.h
+++ b/c/src/lib/libbsp/powerpc/gen5200/mscan/mscan_int.h
@@ -28,7 +28,7 @@ extern "C" {
#include <bsp/mscan-base.h>
-#include "../mscan/mscan.h"
+#include <bsp/mscan.h>
#define MSCAN_RX_BUFF_NUM 4
#define MSCAN_TX_BUFF_NUM 3
diff --git a/c/src/lib/libbsp/powerpc/gen5200/nvram/nvram.c b/c/src/lib/libbsp/powerpc/gen5200/nvram/nvram.c
index 8e17420..99192ac 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/nvram/nvram.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/nvram/nvram.c
@@ -83,8 +83,8 @@
#include <string.h>
#include <stdio.h>
#include <bsp.h>
-#include "../include/mpc5200.h"
-#include "nvram.h"
+#include <bsp/mpc5200.h>
+#include <bsp/nvram.h>
#include "m93cxx.h"
/*
diff --git a/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c b/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c
index 396059c..adbd706 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/slicetimer/slicetimer.c
@@ -107,8 +107,8 @@
#include <rtems/libio.h>
#include <bsp/irq.h>
-#include "../include/mpc5200.h"
-#include "../slicetimer/slicetimer.h"
+#include <bsp/mpc5200.h>
+#include <bsp/slicetimer.h>
#include <stdio.h>
uint32_t value0 = 0;
More information about the vc
mailing list