[U-Boot] [PATCH 00/12] cleanup QEMU fw_cfg code
Miao Yan
yanmiaobest at gmail.com
Fri May 13 08:29:32 CEST 2016
This patchset cleans the QEMU fw_cfg code:
*) split qfw core and qfw command interface
*) split x86 specific operations from qfw core
*) move x86 ACPI generation code into qfw core as this can also
be used by others like ARM64
*) various cleanups
Miao Yan (12):
x86: qemu: fix ACPI Kconfig options
cmd: qfw: add API to iterate firmware list
cmd: qfw: remove qemu_fwcfg_free_files()
cmd: qfw: make fwcfg_present and fwcfg_dma_present public
x86: qemu: split qfw command interface and qfw core
x86: qemu: move x86 specific operations out of qfw core
x86: qemu: add comment about qfw register endianness
cmd: qfw: rename qemu_fw_cfg.[c|h] to qfw.[c|h]
cmd: qfw: workaround qfw build issue
cmd: qfw: do not depend on x86
cmd: qfw: bring ACPI generation code into qfw core
x86: qemu: rename qemu/acpi_table.c
arch/x86/Kconfig | 10 +-
arch/x86/cpu/mp_init.c | 8 +-
arch/x86/cpu/qemu/Makefile | 4 +-
arch/x86/cpu/qemu/acpi_table.c | 243 --------------------------
arch/x86/cpu/qemu/cpu.c | 2 +-
arch/x86/cpu/qemu/e820.c | 43 +++++
arch/x86/cpu/qemu/qemu.c | 52 +++++-
arch/x86/lib/Makefile | 2 +-
cmd/Kconfig | 2 +-
cmd/Makefile | 2 +-
cmd/cmd_qfw.c | 195 +++++++++++++++++++++
cmd/qemu_fw_cfg.c | 343 ------------------------------------
common/Kconfig | 1 +
drivers/misc/Kconfig | 6 +
drivers/misc/Makefile | 1 +
drivers/misc/qfw.c | 387 +++++++++++++++++++++++++++++++++++++++++
include/qemu_fw_cfg.h | 162 -----------------
include/qfw.h | 176 +++++++++++++++++++
18 files changed, 871 insertions(+), 768 deletions(-)
delete mode 100644 arch/x86/cpu/qemu/acpi_table.c
create mode 100644 arch/x86/cpu/qemu/e820.c
create mode 100644 cmd/cmd_qfw.c
delete mode 100644 cmd/qemu_fw_cfg.c
create mode 100644 drivers/misc/qfw.c
delete mode 100644 include/qemu_fw_cfg.h
create mode 100644 include/qfw.h
--
1.9.1
More information about the U-Boot
mailing list