ArmPkg: only attempt buildin MmCommunicationDxe for AArch64
[mirror_edk2.git] / EmbeddedPkg / Include / Library / FdtLoadLib.h
CommitLineData
1e9b2bdd
AB
1/** @file\r
2*\r
3* Copyright (c) 2011-2014, ARM Limited. All rights reserved.\r
4*\r
878b807a 5* SPDX-License-Identifier: BSD-2-Clause-Patent\r
1e9b2bdd
AB
6*\r
7**/\r
8\r
9#ifndef _FDT_LOAD_LIB_H_\r
10#define _FDT_LOAD_LIB_H_\r
11\r
12/**\r
13 Load and Install FDT from Semihosting\r
14\r
15 @param Filename Name of the file to load from semihosting\r
16\r
17 @return EFI_SUCCESS Fdt Blob was successfully installed into the configuration table\r
18 from semihosting\r
19 @return EFI_NOT_FOUND Fail to locate the file in semihosting\r
20 @return EFI_OUT_OF_RESOURCES Fail to allocate memory to contain the blob\r
21**/\r
22EFI_STATUS\r
23InstallFdtFromSemihosting (\r
24 IN CONST CHAR16* FileName\r
25 );\r
26\r
27/**\r
28 Load and Install FDT from Firmware Volume\r
29\r
30 @param Filename Guid of the FDT blob to load from firmware volume\r
31\r
32 @return EFI_SUCCESS Fdt Blob was successfully installed into the configuration table\r
33 from firmware volume\r
34 @return EFI_NOT_FOUND Failed to locate the file in firmware volume\r
35 @return EFI_OUT_OF_RESOURCES Failed to allocate memory to contain the blob\r
36**/\r
37EFI_STATUS\r
38InstallFdtFromFv (\r
39 IN CONST EFI_GUID *FileName\r
40 );\r
41\r
42#endif\r