From: Patrick Delaunay Date: Tue, 13 Mar 2018 13:57:03 +0100 Subject: [U-Boot] [PATCH v2 4/5] common: move board_info.c prototypes in init.h In-Reply-To: <1520945824-10620-1-git-send-email-patrick.delaunay@st.com> References: <1520945824-10620-1-git-send-email-patrick.delaunay@st.com> Message-ID: <1520945824-10620-5-git-send-email-patrick.delaunay@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Move function prototype for common/init/board_init.c from common.h to init.h Signed-off-by: Patrick Delaunay --- Changes in v2: None include/common.h | 3 +-- include/init.h | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/common.h b/include/common.h index 7d181da..a0633f3 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 @@ -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 89e48f2..d54d519 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 */ -- 2.7.4