]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: r5: Include the sys_r5_proto.h header for future use
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Thu, 11 Jan 2024 03:00:29 +0000 (08:30 +0530)
committerMichal Simek <michal.simek@amd.com>
Fri, 12 Jan 2024 08:29:17 +0000 (09:29 +0100)
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@amd.com>
Link: https://lore.kernel.org/r/20240111030029.2565827-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm/mach-zynqmp-r5/include/mach/sys_r5_proto.h [new file with mode: 0644]

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 (file)
index 0000000..0f7a47b
--- /dev/null
@@ -0,0 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2024, Advanced Micro Devices, Inc.
+ *  Michal Simek <michal.simek@amd.com>
+ */