]> git.dujemihanovic.xyz Git - u-boot.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)
commit78d57d63d7f3711b2f66ba7b39560e5250df0115
treeac4c9eb5527c5e65005bde3979deac51722aa09c
parentcb1cb7146fbe1630ab5ae8c8b1043d8021c20a4d
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