[PATCH] xilinx: zynqmp: Add the missing function prototype

Michal Simek michal.simek at amd.com
Wed Feb 7 12:30:26 CET 2024



On 2/7/24 09:33, Venkatesh Yadav Abbarapu wrote:
> Add missing prototype to fix the below sparse warning
> warning: no previous prototype for 'spl_spi_get_uboot_offs'
> 	 [-Wmissing-prototypes]
> 
> Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
> ---
>   board/xilinx/zynqmp/zynqmp.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
> index 9f50090720..ba49eb7be2 100644
> --- a/board/xilinx/zynqmp/zynqmp.c
> +++ b/board/xilinx/zynqmp/zynqmp.c
> @@ -18,6 +18,7 @@
>   #include <ahci.h>
>   #include <scsi.h>
>   #include <soc.h>
> +#include <spl.h>
>   #include <malloc.h>
>   #include <memalign.h>
>   #include <wdt.h>


good. Please send it to upstream.
M


More information about the U-Boot mailing list