1#/** @file
2#
3#    Copyright (c) 2011-2015, ARM Limited. All rights reserved.
4#    Copyright (c) 2015, Hisilicon Limited. All rights reserved.
5#    Copyright (c) 2015, Linaro Limited. All rights reserved.
6#
7#    This program and the accompanying materials
8#    are licensed and made available under the terms and conditions of the BSD License
9#    which accompanies this distribution. The full text of the license may be found at
10#    http://opensource.org/licenses/bsd-license.php
11#
12#    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13#    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14#
15#**/
16
17[Defines]
18  INF_VERSION                    = 0x00010005
19  BASE_NAME                      = FlashFvbDxe
20  FILE_GUID                      = 93E34C7E-B50E-11DF-9223-2443DFD72085
21  MODULE_TYPE                    = DXE_RUNTIME_DRIVER
22  VERSION_STRING                 = 1.0
23  ENTRY_POINT                    = FlashFvbInitialize
24
25[Sources.common]
26  FlashFvbDxe.c
27  FlashBlockIoDxe.c
28
29
30[Packages]
31  MdePkg/MdePkg.dec
32  MdeModulePkg/MdeModulePkg.dec
33  ArmPlatformPkg/ArmPlatformPkg.dec
34  OpenPlatformPkg/Chips/Hisilicon/HisiPkg.dec
35
36[LibraryClasses]
37  IoLib
38  BaseLib
39  DebugLib
40  HobLib
41  UefiLib
42  UefiDriverEntryPoint
43  UefiBootServicesTableLib
44  UefiRuntimeLib
45
46[Guids]
47  gEfiSystemNvDataFvGuid
48  gEfiVariableGuid
49
50[Protocols]
51  gEfiBlockIoProtocolGuid
52  gEfiDevicePathProtocolGuid
53  gEfiFirmwareVolumeBlockProtocolGuid
54  gHisiSpiFlashProtocolGuid
55
56[Pcd.common]
57  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
58  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
59  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
60  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
61  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
62  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
63
64  gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked
65
66[Depex]
67  gHisiSpiFlashProtocolGuid
68
69[BuildOptions]
70