audk/OvmfPkg/PlatformPei
Gerd Hoffmann c802f8935c OvmfPkg/Microvm/fdt: add empty fdt
FdtClient is unhappy without a device tree, so add an empty fdt
which we can use in case etc/fdt is not present in fw_cfg.

On ARM machines a device tree is mandatory for hardware detection,
that's why FdtClient fails hard.

On microvm the device tree is only used to detect virtio-mmio devices
(this patch series) and the pcie host (future series).  So edk2 can
continue with limited functionality in case no device tree is present:
no storage, no network, but serial console and direct kernel boot
works.

qemu release 6.2 & newer will provide a device tree for microvm.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3689
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
2021-12-13 12:16:32 +00:00
..
AmdSev.c OvmfPkg/PlatformPei: mark cpuid and secrets memory reserved in EFI map 2021-12-09 06:28:10 +00:00
ClearCache.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Cmos.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Cmos.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FeatureControl.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Fv.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MemDetect.c OvmfPkg: Handle Cloud Hypervisor host bridge 2021-12-11 14:26:05 +00:00
MemTypeInfo.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Platform.c OvmfPkg/Microvm/fdt: add empty fdt 2021-12-13 12:16:32 +00:00
Platform.h OvmfPkg/PlatformPei: mark cpuid and secrets memory reserved in EFI map 2021-12-09 06:28:10 +00:00
PlatformPei.inf OvmfPkg/Microvm/fdt: load fdt from fw_cfg 2021-12-13 12:16:32 +00:00