]>
git.proxmox.com Git - mirror_edk2.git/blob - EmbeddedPkg/Include/Library/FdtLoadLib.h
3 * Copyright (c) 2011-2014, ARM Limited. All rights reserved.
5 * This program and the accompanying materials
6 * are licensed and made available under the terms and conditions of the BSD License
7 * which accompanies this distribution. The full text of the license may be found at
8 * http://opensource.org/licenses/bsd-license.php
10 * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _FDT_LOAD_LIB_H_
16 #define _FDT_LOAD_LIB_H_
19 Load and Install FDT from Semihosting
21 @param Filename Name of the file to load from semihosting
23 @return EFI_SUCCESS Fdt Blob was successfully installed into the configuration table
25 @return EFI_NOT_FOUND Fail to locate the file in semihosting
26 @return EFI_OUT_OF_RESOURCES Fail to allocate memory to contain the blob
29 InstallFdtFromSemihosting (
30 IN CONST CHAR16
* FileName
34 Load and Install FDT from Firmware Volume
36 @param Filename Guid of the FDT blob to load from firmware volume
38 @return EFI_SUCCESS Fdt Blob was successfully installed into the configuration table
40 @return EFI_NOT_FOUND Failed to locate the file in firmware volume
41 @return EFI_OUT_OF_RESOURCES Failed to allocate memory to contain the blob
45 IN CONST EFI_GUID
*FileName