This series adds DMA support to QEMU FW_CFG also on the read size,
allows a completely dma-less PIO mode and adds support for parsing
the QEMU options for: -kernel, -initrd, -uuid and -append.
Ahmad Fatoum (6):
firmware: qemu_fw_cfg: use wider PIO reads if applicable
param: support uuid/guid parameter type
lib: smbios: add support for setting product UUID
common: boards: qemu: process some standard fw_cfg keys
firmware: qemu_fw_cfg: add proper DMA and PIO bidirectional operating
modes
ARM: configs: multi: enable QEMU FW_CFG
arch/arm/configs/multi_v5_v6_defconfig | 2 +
arch/arm/configs/multi_v7_defconfig | 2 +
arch/arm/configs/multi_v8_defconfig | 2 +
common/boards/Kconfig | 8 +
common/boards/Makefile | 1 +
common/boards/qemu/Makefile | 4 +
.../defaultenv-qemu_fw_cfg/boot/qemu_fw_cfg | 12 +
common/boards/qemu/fw_cfg.c | 208 ++++++++++++
common/globalvar.c | 40 +++
common/misc.c | 14 +
drivers/firmware/Kconfig | 1 +
drivers/firmware/qemu_fw_cfg.c | 297 +++++++++++-------
include/barebox-info.h | 4 +
include/globalvar.h | 12 +
include/linux/sprintf.h | 3 +
include/param.h | 39 +++
lib/parameter.c | 95 ++++++
lib/smbios.c | 18 +-
lib/vsprintf.c | 2 +-
19 files changed, 648 insertions(+), 116 deletions(-)
create mode 100644 common/boards/qemu/Makefile
create mode 100755 common/boards/qemu/defaultenv-qemu_fw_cfg/boot/qemu_fw_cfg
create mode 100644 common/boards/qemu/fw_cfg.c
--
2.47.3