[PATCH 3/3] bsps/xilinx_zynq: Add Xilinx AXI SPI driver to autotools build

Jan Sommer jan.sommer at dlr.de
Wed Mar 10 20:14:48 UTC 2021


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 37ce6d6c73..3d95f144d4 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 87950a3e66..f2db456170 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 393e8e8bd3..e4be0567ab 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
-- 
2.17.1



More information about the devel mailing list