diff options
author | Olivier Martin <olivier.martin@arm.com> | 2014-08-26 10:21:48 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-08-26 10:21:48 +0000 |
commit | 5b38a703b2f0d2cda329cbca63d087a4a9509b46 (patch) | |
tree | 28ac0e93eb16f59178296b3613dc0c0d014219d3 /EmbeddedPkg/Include | |
parent | 22044caa2cf9a484a01c6290fa5bcee5f157c8b4 (diff) | |
download | edk2-platforms-5b38a703b2f0d2cda329cbca63d087a4a9509b46.tar.xz |
EmbeddedPkg/FdtLib: Added support to load FDT from Firmware Volume
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15908 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg/Include')
-rw-r--r-- | EmbeddedPkg/Include/libfdt_env.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/EmbeddedPkg/Include/libfdt_env.h b/EmbeddedPkg/Include/libfdt_env.h index 18a8450b92..c4dc83c024 100644 --- a/EmbeddedPkg/Include/libfdt_env.h +++ b/EmbeddedPkg/Include/libfdt_env.h @@ -94,4 +94,19 @@ InstallFdtFromSemihosting ( IN CONST CHAR16* FileName
);
+/**
+ Load and Install FDT from Firmware Volume
+
+ @param Filename Guid of the FDT blob to load from firmware volume
+
+ @return EFI_SUCCESS Fdt Blob was successfully installed into the configuration table
+ from firmware volume
+ @return EFI_NOT_FOUND Failed to locate the file in firmware volume
+ @return EFI_OUT_OF_RESOURCES Failed to allocate memory to contain the blob
+**/
+EFI_STATUS
+InstallFdtFromFv (
+ IN CONST EFI_GUID *FileName
+ );
+
#endif /* _LIBFDT_ENV_H */
|