From: Patrick Delaunay Date: Tue, 13 Mar 2018 13:56:59 +0100 Subject: [U-Boot] [PATCH v2 0/5] common: move startup function prototypes in init.h Message-ID: <1520945824-10620-1-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 I push this serie after Masahiro Yamada's comment on patch "common: add a prototype for mach_cpu_init()" The serie depends on v3 of this patch for the added file init.h I just moved the function used in: common/board_f.c common/init/board_init.c common/board_r.c common/board_info.c and solve the checkpatch issue. It is a step for common.h cleanup and I don't add documentation for the moved functions. I don't know if other functions need to be moved: $(BOARD)/$(BOARD).c ? $(CPU)/start.S ? or if the order of the new file init.h is correct. Changes in v2: - solve compilation error: add weak for arch_reserve_stacks in board_f.c as it is no more present in init.h Patrick Delaunay (5): common: move board_f.c prototypes in init.h common: move board_init.c prototypes in init.h common: move board_r.c prototypes in init.h common: move board_info.c prototypes in init.h common: move init_helpers.h prototypes in init.h arch/x86/lib/spl.c | 1 - common/board_f.c | 3 +- common/board_r.c | 1 - include/common.h | 128 +++--------------------------------------------- include/init.h | 129 +++++++++++++++++++++++++++++++++++++++++++++++++ include/init_helpers.h | 18 ------- 6 files changed, 136 insertions(+), 144 deletions(-) delete mode 100644 include/init_helpers.h -- 2.7.4