summaryrefslogtreecommitdiff
path: root/board/xilinx
diff options
context:
space:
mode:
authorAlgapally Santosh Sagar <santoshsagar.algapally@amd.com>2023-05-23 08:56:26 +0300
committerMichal Simek <michal.simek@amd.com>2023-06-12 14:24:31 +0300
commit6fe46936a3ea64a1c075661be3794e6ffbc3087e (patch)
treeab62faf3b80849a76c5dfef92cf54e37565ebd60 /board/xilinx
parent2bfe253d317726b3429e246d34c322b831e16183 (diff)
downloadu-boot-6fe46936a3ea64a1c075661be3794e6ffbc3087e.tar.xz
board: xilinx: Add missing prototypes
Add missing prototypes to fix the below sparse warnings 1. warning: no previous prototype for 'soc_name_decode' [-Wmissing-prototypes] 2. warning: no previous prototype for 'soc_detection' [-Wmissing-prototypes] 3. warning: no previous prototype for 'board_name_decode' [-Wmissing-prototypes] 4. warning: no previous prototype for 'board_detection' [-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/20230523055626.14742-1-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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/xilinx/common/board.h b/board/xilinx/common/board.h
index 69e642429b..922c9d557a 100644
--- a/board/xilinx/common/board.h
+++ b/board/xilinx/common/board.h
@@ -11,4 +11,11 @@ int board_late_init_xilinx(void);
int xilinx_read_eeprom(void);
+char *board_name_decode(void);
+
+bool board_detection(void);
+
+char *soc_name_decode(void);
+
+bool soc_detection(void);
#endif /* BOARD_XILINX_COMMON_BOARD_H */