aboutsummaryrefslogtreecommitdiff
path: root/board/xilinx
diff options
context:
space:
mode:
authorAlgapally Santosh Sagar <santoshsagar.algapally@amd.com>2023-01-19 22:36:14 -0700
committerMichal Simek <michal.simek@amd.com>2023-01-27 08:42:47 +0100
commitfb737f1ed86c87a64e6626975cf51dd70a405cd2 (patch)
tree08cf2ea908f5685c6a7a718e15f2ea011480565d /board/xilinx
parentcd04c959267500ca7011e94de9218547ab4ca910 (diff)
downloadu-boot-fb737f1ed86c87a64e6626975cf51dd70a405cd2.zip
u-boot-fb737f1ed86c87a64e6626975cf51dd70a405cd2.tar.gz
u-boot-fb737f1ed86c87a64e6626975cf51dd70a405cd2.tar.bz2
xilinx: common: Include header file to fix warning
Prototype is missing for board_get_usable_ram_top, which is pointed by below sparse warning. Include init.h header file to fix this. warning: no previous prototype for 'board_get_usable_ram_top' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com> Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com> Link: https://lore.kernel.org/r/20230120053617.32463-2-ashok.reddy.soma@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'board/xilinx')
-rw-r--r--board/xilinx/common/board.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c
index 823d703..52a3814 100644
--- a/board/xilinx/common/board.c
+++ b/board/xilinx/common/board.c
@@ -11,6 +11,7 @@
#include <efi_loader.h>
#include <env.h>
#include <image.h>
+#include <init.h>
#include <lmb.h>
#include <log.h>
#include <asm/global_data.h>