1#/** @file
2#
3#  Component description file for NorFlashAuthenticatedDxe module
4#
5#  Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>
6#  Copyright (c) 2015, Linaro Ltd. All rights reserved.<BR>
7#  Copyright (c) 2015, Intel Corporation. All rights reserved.
8#
9#  This program and the accompanying materials
10#  are licensed and made available under the terms and conditions of the BSD License
11#  which accompanies this distribution.  The full text of the license may be found at
12#  http://opensource.org/licenses/bsd-license.php
13#
14#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16#
17#**/
18
19[Defines]
20  INF_VERSION                    = 0x00010005
21  BASE_NAME                      = NorFlashAuthenticatedDxe
22  FILE_GUID                      = 10B86CEA-F2FE-456A-B1C7-4F506CA46005
23  MODULE_TYPE                    = DXE_RUNTIME_DRIVER
24  VERSION_STRING                 = 1.0
25  ENTRY_POINT                    = NorFlashInitialise
26
27[Sources.common]
28  NorFlashDxe.c
29  NorFlashFvbDxe.c
30  NorFlashBlockIoDxe.c
31  NorFlashAuthenticatedVariableDep.c
32
33[Packages]
34  MdePkg/MdePkg.dec
35  MdeModulePkg/MdeModulePkg.dec
36  ArmPlatformPkg/ArmPlatformPkg.dec
37  SecurityPkg/SecurityPkg.dec
38
39[LibraryClasses]
40  IoLib
41  BaseLib
42  DebugLib
43  HobLib
44  NorFlashPlatformLib
45  UefiLib
46  UefiDriverEntryPoint
47  UefiBootServicesTableLib
48  UefiRuntimeLib
49  DxeServicesTableLib
50
51[Guids]
52  gEfiSystemNvDataFvGuid
53  gEfiAuthenticatedVariableGuid
54  gEfiEventVirtualAddressChangeGuid
55
56[Protocols]
57  gEfiBlockIoProtocolGuid
58  gEfiDevicePathProtocolGuid
59  gEfiFirmwareVolumeBlockProtocolGuid
60  gEfiDiskIoProtocolGuid
61
62[Pcd.common]
63  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
64  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
65  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
66  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
67  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
68  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
69
70  gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked
71
72[Depex]
73  #
74  # NorFlashAuthenticatedDxe must be loaded before VariableRuntimeDxe
75  # in case empty flash needs populating with default values
76  #
77  BEFORE gVariableRuntimeDxeFileGuid
78