[PATCH] spec: Update location of cadence I2C

Kinsey Moore kinsey.moore at oarcorp.com
Thu Dec 9 01:08:56 UTC 2021


When the cadence I2C code was moved to a shared directory, the
references were updated but the install locations weren't. This updates
the install locations to match what out-of-tree applications expect.
---
 spec/build/bsps/aarch64/xilinx-zynqmp/objcadencei2c.yml | 4 +++-
 spec/build/bsps/arm/xilinx-zynq/obj.yml                 | 6 ++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/objcadencei2c.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/objcadencei2c.yml
index fd9d51dfa9..fa269d61ad 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/objcadencei2c.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/objcadencei2c.yml
@@ -9,10 +9,12 @@ enabled-by: true
 includes: []
 install:
 - destination: ${BSP_INCLUDEDIR}/bsp
+  source:
+  - bsps/aarch64/xilinx-zynqmp/include/bsp/i2c.h
+- destination: ${BSP_INCLUDEDIR}/dev/i2c
   source:
   - bsps/include/dev/i2c/cadence-i2c-regs.h
   - bsps/include/dev/i2c/cadence-i2c.h
-  - bsps/aarch64/xilinx-zynqmp/include/bsp/i2c.h
 links: []
 source:
 - bsps/shared/dev/i2c/cadence-i2c.c
diff --git a/spec/build/bsps/arm/xilinx-zynq/obj.yml b/spec/build/bsps/arm/xilinx-zynq/obj.yml
index bc675cd38c..dcac09126b 100644
--- a/spec/build/bsps/arm/xilinx-zynq/obj.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/obj.yml
@@ -14,10 +14,12 @@ install:
   - bsps/arm/xilinx-zynq/include/tm27.h
 - destination: ${BSP_INCLUDEDIR}/bsp
   source:
-  - 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
+- destination: ${BSP_INCLUDEDIR}/dev/i2c
+  source:
+  - bsps/include/dev/i2c/cadence-i2c-regs.h
+  - bsps/include/dev/i2c/cadence-i2c.h
 links: []
 source:
 - bsps/arm/shared/cache/cache-l2c-310.c
-- 
2.30.2



More information about the devel mailing list