]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Move MP code into mp_init
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 14:48:08 +0000 (08:48 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Jul 2020 01:46:42 +0000 (09:46 +0800)
commitc772981249800c85557278aee6a549641f5bd53f
treeac4c9eb5527c5e65005bde3979deac51722aa09c
parent6df670ce8bea22b0f19c9c70483fcf36a59c209e
x86: Move MP code into mp_init

At present the 'flight plan' for CPUs is passed into mp_init. But it is
always the same. Move it into the mp_init file so everything is in one
place. Also drop the SMI function since it does nothing. If we implement
SMIs, more refactoring will be needed anyway.

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/i386/cpu.c
arch/x86/cpu/mp_init.c
arch/x86/include/asm/mp.h