summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/Include
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2014-08-26 10:21:48 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-26 10:21:48 +0000
commit5b38a703b2f0d2cda329cbca63d087a4a9509b46 (patch)
tree28ac0e93eb16f59178296b3613dc0c0d014219d3 /EmbeddedPkg/Include
parent22044caa2cf9a484a01c6290fa5bcee5f157c8b4 (diff)
downloadedk2-5b38a703b2f0d2cda329cbca63d087a4a9509b46.tar.gz
edk2-5b38a703b2f0d2cda329cbca63d087a4a9509b46.tar.bz2
edk2-5b38a703b2f0d2cda329cbca63d087a4a9509b46.zip
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.h15
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 */