[PATCH v2 3/4] xilinx: versal: Add missing header

Ashok Reddy Soma ashok.reddy.soma at amd.com
Fri Jan 20 06:36:16 CET 2023


From: Algapally Santosh Sagar <santoshsagar.algapally at amd.com>

Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'do_go_exec' [-Wmissing-prototypes].

Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally at amd.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma at amd.com>
---

Changes in v2:
 - Changed subject from missing prototype to missing header
 - Moved include file in alphabetical order

 board/xilinx/versal/board.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c
index f9f5457ed2..4cdc2ecd1d 100644
--- a/board/xilinx/versal/board.c
+++ b/board/xilinx/versal/board.c
@@ -4,6 +4,7 @@
  * Michal Simek <michal.simek at xilinx.com>
  */
 
+#include <command.h>
 #include <common.h>
 #include <cpu_func.h>
 #include <env.h>
-- 
2.17.1



More information about the U-Boot mailing list