[U-Boot] [PATCH 0/4] common: move startup function prototypes in init.h

Patrick Delaunay patrick.delaunay at st.com
Mon Mar 12 08:47:15 UTC 2018


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.



Patrick Delaunay (4):
  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

 include/common.h | 128 +++----------------------------------------------------
 include/init.h   | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 128 insertions(+), 122 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list