x86: Move qemu CPU fixup function into its own file
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:55 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:25 +0000 (11:44 +0800)
commitbaaeb92c21370cc4717d4841906677f95ece55a3
treeb36dc803e3ef9dc13510d362bcd54548d645098f
parent7e589bc19b4e9becd5bf825cd072abf1980fff91
x86: Move qemu CPU fixup function into its own file

This function is specific to qemu so it seems best to keep it separate
from the generic code.

Move it out to a new file and update the condition to use if() instead of
 #ifdef

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/Makefile
arch/x86/cpu/mp_init.c
arch/x86/cpu/qfw_cpu.c [new file with mode: 0644]
include/qfw.h