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>
master
Patrick Delaunay 6 years ago committed by Tom Rini
parent e2c219cd71
commit fc22ee215a
  1. 3
      include/common.h
  2. 3
      include/init.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 */

@ -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 */

Loading…
Cancel
Save