]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: zynqmp: Add the missing function prototype
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Wed, 7 Feb 2024 08:33:28 +0000 (14:03 +0530)
committerMichal Simek <michal.simek@amd.com>
Mon, 12 Feb 2024 08:28:32 +0000 (09:28 +0100)
Add missing prototype to fix the below sparse warning
warning: no previous prototype for 'spl_spi_get_uboot_offs'
 [-Wmissing-prototypes]

Fixes: 2c8a09219cdb ("arm64: zynqmp: Add multiboot support for SPL/SPI offset calculation")
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20240207083328.1673752-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
board/xilinx/zynqmp/zynqmp.c

index 9f50090720259cc16e0096262f092726b1f8aca6..ba49eb7be22962698c4d82a7df15ab7dfd0c7d67 100644 (file)
@@ -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>