summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2018-03-13 15:57:03 +0300
committerTom Rini <trini@konsulko.com>2018-03-16 21:56:59 +0300
commitfc22ee215a1385ddaefd01e01975b6a67d9d8072 (patch)
treef8550afac590ed4eac6c21950659036d646e75dc
parente2c219cd7103761826f4ca99c905f547ade34c97 (diff)
downloadu-boot-fc22ee215a1385ddaefd01e01975b6a67d9d8072.tar.xz
common: move board_info.c prototypes in init.h
Move function prototype for common/init/board_init.c from common.h to init.h Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
-rw-r--r--include/common.h3
-rw-r--r--include/init.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index 6e7110c3f8..3087505270 100644
--- a/include/common.h
+++ b/include/common.h
@@ -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 */
diff --git a/include/init.h b/include/init.h
index 89e48f2689..d54d519a69 100644
--- a/include/init.h
+++ b/include/init.h
@@ -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 */