]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: mp_init: Avoid declarations in header files
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 14:48:09 +0000 (08:48 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Jul 2020 01:46:43 +0000 (09:46 +0800)
commite624858407039ffeb4e4007bb2677d8e4fa6536c
treefdea602aae298cc5767462c3495c7121b1be726a
parent78d57d63d7f3711b2f66ba7b39560e5250df0115
x86: mp_init: Avoid declarations in header files

The functions used by the flight plan are declared in the header file but
are not used in any other file.

Move the flight plan steps down to just above where it is used so that we
can make these function static.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/mp_init.c
arch/x86/include/asm/mp.h