summaryrefslogtreecommitdiff
path: root/include/filetype.h
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2023-01-30 08:27:06 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-01-31 09:19:47 +0100
commit4f917480418fc86f5ceda0c2f204ad2b221a8bee (patch)
treed22f28796838668d304b4d9ac6b4951285708028 /include/filetype.h
parente87d6f664a70e88ab5ad8af291c23e50b708f7f9 (diff)
downloadbarebox-4f917480418fc86f5ceda0c2f204ad2b221a8bee.tar.gz
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 <ahmad@a3f.at> Link: https://lore.barebox.org/20230130072707.2423294-4-ahmad@a3f.at Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/filetype.h')
-rw-r--r--include/filetype.h1
1 files changed, 1 insertions, 0 deletions
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,
};