[rtems commit] bsps/xilinx_zynq: Add Xilinx AXI SPI driver to autotools build

Jan Sommer jan at rtems.org
Tue Mar 30 15:03:35 UTC 2021


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

Author:    Jan Sommer <jan.sommer at dlr.de>
Date:      Wed Dec  2 13:42:00 2020 +0100

bsps/xilinx_zynq: Add Xilinx AXI SPI driver to autotools build

Closes #4321

---

 bsps/headers.am                                | 2 ++
 c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am   | 1 +
 c/src/lib/libbsp/arm/xilinx-zynqmp/Makefile.am | 1 +
 3 files changed, 4 insertions(+)

diff --git a/bsps/headers.am b/bsps/headers.am
index de2263a..ee82952 100644
--- a/bsps/headers.am
+++ b/bsps/headers.am
@@ -43,6 +43,8 @@ include_dev_spidir = $(includedir)/dev/spi
 include_dev_spi_HEADERS =
 include_dev_spi_HEADERS += ../../bsps/include/dev/spi/cadence-spi-regs.h
 include_dev_spi_HEADERS += ../../bsps/include/dev/spi/cadence-spi.h
+include_dev_spi_HEADERS += ../../bsps/include/dev/spi/xilinx-axi-spi-regs.h
+include_dev_spi_HEADERS += ../../bsps/include/dev/spi/xilinx-axi-spi.h
 
 include_grlibdir = $(includedir)/grlib
 include_grlib_HEADERS =
diff --git a/c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am b/c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am
index 87950a3..f2db456 100644
--- a/c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am
+++ b/c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am
@@ -74,6 +74,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/xilinx-zynq/i2c/cadence-i2c.
 
 # SPI
 librtemsbsp_a_SOURCES +=  ../../../../../../bsps/shared/dev/spi/cadence-spi.c
+librtemsbsp_a_SOURCES +=  ../../../../../../bsps/shared/dev/spi/xilinx-axi-spi.c
 
 # Cache
 librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-l2c-310.c
diff --git a/c/src/lib/libbsp/arm/xilinx-zynqmp/Makefile.am b/c/src/lib/libbsp/arm/xilinx-zynqmp/Makefile.am
index 393e8e8..e4be056 100644
--- a/c/src/lib/libbsp/arm/xilinx-zynqmp/Makefile.am
+++ b/c/src/lib/libbsp/arm/xilinx-zynqmp/Makefile.am
@@ -70,6 +70,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/clock/arm-generic-tim
 
 # SPI
 librtemsbsp_a_SOURCES +=  ../../../../../../bsps/shared/dev/spi/cadence-spi.c
+librtemsbsp_a_SOURCES +=  ../../../../../../bsps/shared/dev/spi/xilinx-axi-spi.c
 
 # Cache
 librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c



More information about the vc mailing list