cmd: qfw: bring ACPI generation code into qfw core
authorMiao Yan <yanmiaobest@gmail.com>
Mon, 23 May 2016 02:37:20 +0000 (19:37 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:18:00 +0000 (15:18 +0800)
commiteece493a7ac14f5049a8bd7031ba37e2c6e2460a
treed5ae65dfef3c6fd0d4ab43b5b8316b257f91b15c
parentd6ccb14e5a8f3b782f9f09b88d5ca6695039a5f6
cmd: qfw: bring ACPI generation code into qfw core

Loading ACPI table from QEMU's fw_cfg interface is not x86 specific
(ARM64 may also make use of it). So move the code to common place.

Signed-off-by: Miao Yan <yanmiaobest@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/qemu/acpi_table.c
drivers/misc/qfw.c