]> git.sur5r.net Git - u-boot/commitdiff
common: move board_info.c prototypes in init.h
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 13 Mar 2018 12:57:03 +0000 (13:57 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 16 Mar 2018 18:56:59 +0000 (14:56 -0400)
Move function prototype for common/init/board_init.c
from common.h to init.h

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
include/common.h
include/init.h

index 6e7110c3f8d689add07fe1a7a364f7b0be458660..308750527097c85d6d6cf91e42e3f321aaeba4e4 100644 (file)
@@ -66,6 +66,7 @@ typedef void (interrupt_handler_t)(void *);
  * common/board_f.c
  * common/init/board_init.c
  * common/board_r.c
+ * common/board_info.c
  */
 #include <init.h>
 
@@ -96,8 +97,6 @@ int run_command_repeatable(const char *cmd, int flag);
  */
 int run_command_list(const char *cmd, int len, int flag);
 
-int checkboard(void);
-int show_board_info(void);
 int checkflash(void);
 int checkdram(void);
 extern u8 __dtb_dt_begin[];    /* embedded device tree blob */
index 89e48f2689a05e042aae0bc6a09493f21214c2b4..d54d519a69c2a69cd80a68f23b002c30d0746cde 100644 (file)
@@ -163,6 +163,9 @@ int misc_init_r(void);
 int init_func_vid(void);
 #endif
 
+/* common/board_info.c */
+int checkboard(void);
+int show_board_info(void);
 
 #endif /* __ASSEMBLY__ */
 /* Put only stuff here that the assembler can digest */