]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mach-zynqmp: handoff: Add missing header
authorAlgapally Santosh Sagar <santoshsagar.algapally@amd.com>
Fri, 19 May 2023 11:38:16 +0000 (17:08 +0530)
committerMichal Simek <michal.simek@amd.com>
Mon, 12 Jun 2023 11:24:31 +0000 (13:24 +0200)
Add missing prototype to fix the sparse warning.
warning: no previous prototype for 'bl2_plat_get_bl31_params'
[-Wmissing-prototypes]

Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20230519113816.22083-3-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm/mach-zynqmp/handoff.c

index b9e0c6c536bef98724e3848bfccb6846ec372cd5..511b241462f9900d7aeb99b76aed58e9abca1e08 100644 (file)
@@ -9,6 +9,7 @@
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
+#include <spl.h>
 
 /*
  * atfhandoffparams