]> git.baikalelectronics.ru Git - uboot.git/commit
common: add a prototype for mach_cpu_init()
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 9 Mar 2018 17:28:12 +0000 (18:28 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 16 Mar 2018 18:54:14 +0000 (14:54 -0400)
commit81fcd395515bb1032d10ef9dbbf9ac695cb74591
treefd642e53a8910338bf7c2ce4f7274cd1fdeb050f
parent39858a7592dd66c10e5254f046c18dd81af47e10
common: add a prototype for mach_cpu_init()

Add a new file init.h with the prototype for arch_cpu_init
Add a prototype for mach_cpu_init() to avoid a warning:
no previous prototype for ‘mach_cpu_init’

It is a first step to move all the functions prototype
used during U-Boot initialization (board_f.c / board_r.c)
from common.h to init.h

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/common.h
include/init.h [new file with mode: 0644]