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

Venkatesh Yadav Abbarapu venkatesh.abbarapu at amd.com
Thu Jan 11 04:00:29 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>
---
Changes in v2:
- Fixed the copyright and other minor syntax issues.
---
 arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h | 5 +++++
 1 file changed, 5 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..0f7a47bf24
--- /dev/null
+++ b/arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h
@@ -0,0 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2024, Advanced Micro Devices, Inc.
+ *  Michal Simek <michal.simek at amd.com>
+ */
-- 
2.25.1



More information about the U-Boot mailing list