EmbeddedPkg[all]  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FdtLoadLib.h File Reference

Functions

EFI_STATUS InstallFdtFromSemihosting (IN CONST CHAR16 *FileName)
 
EFI_STATUS InstallFdtFromFv (IN CONST EFI_GUID *FileName)
 

Detailed Description

Copyright (c) 2011-2014, ARM Limited. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Function Documentation

EFI_STATUS InstallFdtFromFv ( IN CONST EFI_GUID *  FileName)

Load and Install FDT from Firmware Volume

Parameters
FilenameGuid of the FDT blob to load from firmware volume
Returns
EFI_SUCCESS Fdt Blob was successfully installed into the configuration table from firmware volume
EFI_NOT_FOUND Failed to locate the file in firmware volume
EFI_OUT_OF_RESOURCES Failed to allocate memory to contain the blob
EFI_STATUS InstallFdtFromSemihosting ( IN CONST CHAR16 *  FileName)

Load and Install FDT from Semihosting

Parameters
FilenameName of the file to load from semihosting
Returns
EFI_SUCCESS Fdt Blob was successfully installed into the configuration table from semihosting
EFI_NOT_FOUND Fail to locate the file in semihosting
EFI_OUT_OF_RESOURCES Fail to allocate memory to contain the blob