From 4f917480418fc86f5ceda0c2f204ad2b221a8bee Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 30 Jan 2023 08:27:06 +0100 Subject: firmware: add QEMU FW CFG driver Quoting the QEMU Docs[1]: The QEMU Firmware Configuration (fw_cfg) Device allows the guest to retrieve various data items (blobs) that can influence how the firmware configures itself, or may contain tables to be installed for the guest OS. Examples include device boot order, ACPI and SMBIOS tables, virtual machine UUID, SMP and NUMA information, kernel/initrd images for direct (Linux) kernel booting, etc. The driver added here is mostly based on the Linux driver. [1]: https://www.qemu.org/docs/master/specs/fw_cfg.html Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20230130072707.2423294-4-ahmad@a3f.at Signed-off-by: Sascha Hauer --- include/filetype.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/filetype.h') diff --git a/include/filetype.h b/include/filetype.h index 00d54e48d5..1a7d145555 100644 --- a/include/filetype.h +++ b/include/filetype.h @@ -58,6 +58,7 @@ enum filetype { filetype_mxs_sd_image, filetype_rockchip_rkns_image, filetype_fip, + filetype_qemu_fw_cfg, filetype_max, }; -- cgit v1.2.1