summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-05-08 17:13:56 +0900
committerMichal Simek <michal.simek@xilinx.com>2014-05-14 07:52:36 +0200
commitf05862d7bdba1912d041df1e1434af82d47e64d2 (patch)
tree68a02bed6c966265a8cadb0b70cbc22aad56f2a5 /board
parent841426ad9f19b7bcf4add8329484ebad672daa9c (diff)
downloadu-boot-imx-f05862d7bdba1912d041df1e1434af82d47e64d2.zip
u-boot-imx-f05862d7bdba1912d041df1e1434af82d47e64d2.tar.gz
u-boot-imx-f05862d7bdba1912d041df1e1434af82d47e64d2.tar.bz2
zynq: add empty xil_io.h to avoid compile error
ps7_init.c exported by hw project has #include "xil_io.h" line but U-Boot does not have "xil_io.h". So we get an error on SPL build: ps7_init.c:12581:20: fatal error: xil_io.h: No such file or directory We can delete the include directive in ps7_init.c to avoid this error. But it is painful to do this every time we export ps7_init.c file. Instead, we can put an empty xil_io.h in the same directory so we can directly copy ps7_init.c as is. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Tom Rini <trini@ti.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board')
-rw-r--r--board/xilinx/zynq/xil_io.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/board/xilinx/zynq/xil_io.h b/board/xilinx/zynq/xil_io.h
new file mode 100644
index 0000000..e59a977
--- /dev/null
+++ b/board/xilinx/zynq/xil_io.h
@@ -0,0 +1,13 @@
+/*
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef XIL_IO_H /* prevent circular inclusions */
+#define XIL_IO_H
+
+/*
+ * This empty file is here because ps7_init.c exported by hw project
+ * has #include "xil_io.h" line.
+ */
+
+#endif /* XIL_IO_H */