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
This commit is contained in:
Olivier Martin
2014-08-26 10:21:48 +00:00
committed by oliviermartin
parent 22044caa2c
commit 5b38a703b2
3 changed files with 118 additions and 1 deletions

View File

@ -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 */