summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Clark <stephen.clark@oarcorp.com>2021-08-23 12:53:42 -0500
committerJoel Sherrill <joel@rtems.org>2021-09-09 14:19:57 -0500
commit73c182a5ed7a112f6f2cf0dea657bd6b96b77bae (patch)
tree28361ad3e6f111f61524e48780f8695ed7bfd5b0
parent82a61afd8ccd695a5517451a0c8f9c4c2f9e373a (diff)
downloadrtems-73c182a5ed7a112f6f2cf0dea657bd6b96b77bae.tar.bz2
bsps/zynq: Moved general i2c files to shared directories
Certain files related to the Zynq BSP's I2C driver are useable by the ZynqMP BSP as well. Moved these files to shared directory in anticipation of I2C support for ZynqMP.
Diffstat (limited to '')
-rw-r--r--bsps/include/dev/i2c/cadence-i2c-regs.h (renamed from bsps/arm/xilinx-zynq/include/bsp/cadence-i2c-regs.h)0
-rw-r--r--bsps/include/dev/i2c/cadence-i2c.h (renamed from bsps/arm/xilinx-zynq/include/bsp/cadence-i2c.h)0
-rw-r--r--bsps/shared/dev/i2c/cadence-i2c.c (renamed from bsps/arm/xilinx-zynq/i2c/cadence-i2c.c)4
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/obj.yml6
4 files changed, 5 insertions, 5 deletions
diff --git a/bsps/arm/xilinx-zynq/include/bsp/cadence-i2c-regs.h b/bsps/include/dev/i2c/cadence-i2c-regs.h
index 7d7c3b284a..7d7c3b284a 100644
--- a/bsps/arm/xilinx-zynq/include/bsp/cadence-i2c-regs.h
+++ b/bsps/include/dev/i2c/cadence-i2c-regs.h
diff --git a/bsps/arm/xilinx-zynq/include/bsp/cadence-i2c.h b/bsps/include/dev/i2c/cadence-i2c.h
index aff97237a4..aff97237a4 100644
--- a/bsps/arm/xilinx-zynq/include/bsp/cadence-i2c.h
+++ b/bsps/include/dev/i2c/cadence-i2c.h
diff --git a/bsps/arm/xilinx-zynq/i2c/cadence-i2c.c b/bsps/shared/dev/i2c/cadence-i2c.c
index 07379992ce..91774fb926 100644
--- a/bsps/arm/xilinx-zynq/i2c/cadence-i2c.c
+++ b/bsps/shared/dev/i2c/cadence-i2c.c
@@ -25,8 +25,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <bsp/cadence-i2c.h>
-#include <bsp/cadence-i2c-regs.h>
+#include <dev/i2c/cadence-i2c.h>
+#include <dev/i2c/cadence-i2c-regs.h>
#include <rtems/irq-extension.h>
#include <rtems/score/assert.h>
diff --git a/spec/build/bsps/arm/xilinx-zynq/obj.yml b/spec/build/bsps/arm/xilinx-zynq/obj.yml
index e81decaa3d..8a11a45dd3 100644
--- a/spec/build/bsps/arm/xilinx-zynq/obj.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/obj.yml
@@ -14,8 +14,8 @@ install:
- bsps/arm/xilinx-zynq/include/tm27.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- - bsps/arm/xilinx-zynq/include/bsp/cadence-i2c-regs.h
- - bsps/arm/xilinx-zynq/include/bsp/cadence-i2c.h
+ - bsps/include/dev/i2c/cadence-i2c-regs.h
+ - bsps/include/dev/i2c/cadence-i2c.h
- bsps/arm/xilinx-zynq/include/bsp/i2c.h
- bsps/arm/xilinx-zynq/include/bsp/irq.h
links: []
@@ -28,7 +28,7 @@ source:
- bsps/arm/xilinx-zynq/console/console-config.c
- bsps/arm/xilinx-zynq/console/console-init.c
- bsps/arm/xilinx-zynq/console/debug-console.c
-- bsps/arm/xilinx-zynq/i2c/cadence-i2c.c
+- bsps/shared/dev/i2c/cadence-i2c.c
- bsps/arm/xilinx-zynq/start/bspreset.c
- bsps/arm/xilinx-zynq/start/bspstart.c
- bsps/arm/xilinx-zynq/start/bspstarthooks.c