[PATCH] bsps/zynqmp: Use correct include path

Kinsey Moore kinsey.moore at oarcorp.com
Wed Mar 15 20:23:17 UTC 2023


The existing include path only works from inside the RTEMS build. This
fixes the include path to work both in the RTEMS build and with builds
of external apps since this file gets installed with the BSP.
---
 bsps/aarch64/xilinx-zynqmp/include/bsp/jffs2_xqspipsu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/aarch64/xilinx-zynqmp/include/bsp/jffs2_xqspipsu.h b/bsps/aarch64/xilinx-zynqmp/include/bsp/jffs2_xqspipsu.h
index ac957bb686..5f05308a1f 100644
--- a/bsps/aarch64/xilinx-zynqmp/include/bsp/jffs2_xqspipsu.h
+++ b/bsps/aarch64/xilinx-zynqmp/include/bsp/jffs2_xqspipsu.h
@@ -36,7 +36,7 @@
 #ifndef LIBBSP_XILINX_ZYNQMP_JFFS2_XQSPIPSU_H
 #define LIBBSP_XILINX_ZYNQMP_JFFS2_XQSPIPSU_H
 
-#include "xqspipsu.h"
+#include <dev/spi/xqspipsu.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.30.2



More information about the devel mailing list