[PATCH] xilinx: r5: Include the sys_r5_proto.h header for future use
Michal Simek
michal.simek at amd.com
Wed Jan 10 09:22:26 CET 2024
On 1/8/24 11:53, Venkatesh Yadav Abbarapu wrote:
> 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+ */
2.0 only please
> +/*
> + *(C) Copyright 2024, Advanced Micro Devices, Inc.
* Copyright (C) 2024, Advanced Micro Devices, Inc.
> + * Michal Simek <michal.simek at xilinx.com>
please remove line above - not needed and should be amd.com email anyway.
> + */
> +
> +#ifndef _ASM_ARCH_SYS_R5_PROTO_H
> +#define _ASM_ARCH_SYS_R5_PROTO_H
> +
> +#endif /* _ASM_ARCH_SYS_R5_PROTO_H */
You can remove lines above because enough to have just that file itself.
Thanks,
Michal
More information about the U-Boot
mailing list