[PATCH] xilinx: r5: Include the sys_r5_proto.h header for future use

Venkatesh Yadav Abbarapu venkatesh.abbarapu at amd.com
Mon Jan 8 11:53:39 CET 2024


Currently when using "W=1" with xilinx_zynqmp_r5_defconfig, getting
below warnings.
cc1.real: warning: ./arch/arm/mach-zynqmp-r5/include:
		No such file or directory [-Wmissing-include-dirs]
Fix W=1 missing-include-dirs warnings by including the headers and
sys_r5_proto.h file which can be used.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
---
 arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h

diff --git a/arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h b/arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h
new file mode 100644
index 0000000000..3f75658c15
--- /dev/null
+++ b/arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ *(C) Copyright 2024, Advanced Micro Devices, Inc.
+ * Michal Simek <michal.simek at xilinx.com>
+ */
+
+#ifndef _ASM_ARCH_SYS_R5_PROTO_H
+#define _ASM_ARCH_SYS_R5_PROTO_H
+
+#endif /* _ASM_ARCH_SYS_R5_PROTO_H */
-- 
2.25.1



More information about the U-Boot mailing list