EmbeddedPkg: Add LoadFile2 for linux initrd

Add support under a pcd feature for using the new interface to pass
initrd to the linux kernel instead of via device tree.
This feature is also enabled if ACPI tables are present, and will skip
locating and installation of device tree.

Signed-off-by: Jeff Brasen <jbrasen@nvidia.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
This commit is contained in:
Jeff Brasen
2021-09-13 23:18:51 +00:00
committed by mergify[bot]
parent c0cd26f43c
commit 7ea7f9c077
3 changed files with 202 additions and 22 deletions

View File

@@ -39,6 +39,11 @@
[Protocols]
gAndroidBootImgProtocolGuid
gEfiLoadedImageProtocolGuid
gEfiLoadFile2ProtocolGuid
[Guids]
gEfiAcpiTableGuid
gFdtTableGuid
[FeaturePcd]
gEmbeddedTokenSpaceGuid.PcdAndroidBootLoadFile2