x86: qemu: split qfw command interface and qfw core
authorMiao Yan <yanmiaobest@gmail.com>
Mon, 23 May 2016 02:37:14 +0000 (19:37 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:18:00 +0000 (15:18 +0800)
commitfcf5c04193b48c3f5e2d337a85d28c4026f90ac3
treee12caae1c4b0c8be7b91e45af6470b69910afec8
parentd3ad06239291d89c1c598248d577cde5470ac1ee
x86: qemu: split qfw command interface and qfw core

This patch splits qfw command interface and qfw core function into two
files, and introduces a new Kconfig option (CONFIG_QFW) for qfw core.

Now when qfw command interface is enabled, it will automatically select
qfw core. This patch also makes the ACPI table generation select
CONFIG_QFW.

Signed-off-by: Miao Yan <yanmiaobest@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/Kconfig
arch/x86/cpu/mp_init.c
arch/x86/cpu/qemu/Makefile
arch/x86/cpu/qemu/qemu.c
cmd/Kconfig
cmd/Makefile
cmd/qemu_fw_cfg.c [deleted file]
cmd/qfw.c [new file with mode: 0644]
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/qemu_fw_cfg.c [new file with mode: 0644]