TianoCore EDK2 master
Loading...
Searching...
No Matches
FdtLoadLib.h File Reference

Go to the source code of this file.

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

Definition in file FdtLoadLib.h.

Function Documentation

◆ InstallFdtFromFv()

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

◆ InstallFdtFromSemihosting()

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