]> git.sur5r.net Git - u-boot/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)
commitdafa84d27c5f9d160b431665e09697bd392daca9
treefd642e53a8910338bf7c2ce4f7274cd1fdeb050f
parent6f6b7cfa89e5aa3b643196a4ccc8b1ba5d6fa7a4
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]