diff options
author | Jeff Brasen <jbrasen@nvidia.com> | 2021-09-13 23:18:51 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-09-23 18:36:39 +0000 |
commit | 7ea7f9c07757b9445c24b23acf4c2e8e60b30b7e (patch) | |
tree | 385d26ddcfae2c67a4a1e5e466c4fd489f3c0ffb /EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.inf | |
parent | c0cd26f43c278781bf9a24a8268104292494f655 (diff) | |
download | edk2-7ea7f9c07757b9445c24b23acf4c2e8e60b30b7e.tar.gz |
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>
Diffstat (limited to 'EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.inf')
-rw-r--r-- | EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.inf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.inf b/EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.inf index bfed4ba9dc..8eefeef4f9 100644 --- a/EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.inf +++ b/EmbeddedPkg/Library/AndroidBootImgLib/AndroidBootImgLib.inf @@ -39,6 +39,11 @@ [Protocols]
gAndroidBootImgProtocolGuid
gEfiLoadedImageProtocolGuid
+ gEfiLoadFile2ProtocolGuid
[Guids]
+ gEfiAcpiTableGuid
gFdtTableGuid
+
+[FeaturePcd]
+ gEmbeddedTokenSpaceGuid.PcdAndroidBootLoadFile2
|