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

Michal Simek michal.simek at amd.com
Fri Feb 9 09:18:22 CET 2024



On 2/7/24 12:30, Michal Simek wrote:
> 
> 
> 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.

:-) this is already upstreamed.
Applied with also
Fixes: 2c8a09219cdb ("arm64: zynqmp: Add multiboot support for SPL/SPI offset 
calculation")

Thanks,
Michal



More information about the U-Boot mailing list