• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /** @file
2 *
3 *  Copyright (c) 2015, Hisilicon Limited. All rights reserved.
4 *  Copyright (c) 2015, Linaro Limited. All rights reserved.
5 *
6 *  This program and the accompanying materials
7 *  are licensed and made available under the terms and conditions of the BSD License
8 *  which accompanies this distribution.  The full text of the license may be found at
9 *  http://opensource.org/licenses/bsd-license.php
10 *
11 *  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 *  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 *
14 **/
15 
16 
17 
18 #ifndef _FDTUPDATELIB_H_
19 #define _FDTUPDATELIB_H_
20 
21 #define ADD_FILE_LENGTH  0x400
22 
23 typedef struct
24 {
25   UINT32 BaseHigh;
26   UINT32 BaseLow;
27   UINT32 LengthHigh;
28   UINT32 LengthLow;
29 }PHY_MEM_REGION;
30 
31 typedef struct
32 {
33   UINT8 data0;
34   UINT8 data1;
35   UINT8 data2;
36   UINT8 data3;
37   UINT8 data4;
38   UINT8 data5;
39 }MAC_ADDRESS;
40 
41 extern  EFI_STATUS EFIFdtUpdate(UINTN FdtFileAddr);
42 
43 #endif
44 
45 
46