aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>2024-02-07 14:03:28 +0530
committerMichal Simek <michal.simek@amd.com>2024-02-12 09:28:32 +0100
commitdb23e67bbd231c02b3a1cdf900b45efda45410d4 (patch)
tree36e63f9ed20ef69f577d038a748bff3bd69cddc0
parenta0a24194bcb02b8efab0ec3c783b42e8c828c2b6 (diff)
downloadu-boot-db23e67bbd231c02b3a1cdf900b45efda45410d4.zip
u-boot-db23e67bbd231c02b3a1cdf900b45efda45410d4.tar.gz
u-boot-db23e67bbd231c02b3a1cdf900b45efda45410d4.tar.bz2
xilinx: zynqmp: Add the missing function prototype
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>
-rw-r--r--board/xilinx/zynqmp/zynqmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index 9f50090..ba49eb7 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>