ArmPlatformPkg/Drivers/NorFlashDxe: Directly implement DiskIO protocol
[mirror_edk2.git] / ArmPlatformPkg / Drivers / NorFlashDxe / NorFlashDxe.inf
1 #/** @file
2 #
3 # Component description file for NorFlashDxe module
4 #
5 # Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>
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 = ArmVeNorFlashDxe
20 FILE_GUID = 93E34C7E-B50E-11DF-9223-2443DFD72085
21 MODULE_TYPE = DXE_RUNTIME_DRIVER
22 VERSION_STRING = 1.0
23 ENTRY_POINT = NorFlashInitialise
24
25 [Sources.common]
26 NorFlashDxe.c
27 NorFlashFvbDxe.c
28 NorFlashBlockIoDxe.c
29
30 [Packages]
31 MdePkg/MdePkg.dec
32 MdeModulePkg/MdeModulePkg.dec
33 ArmPlatformPkg/ArmPlatformPkg.dec
34
35 [LibraryClasses]
36 IoLib
37 BaseLib
38 DebugLib
39 HobLib
40 NorFlashPlatformLib
41 UefiLib
42 UefiDriverEntryPoint
43 UefiBootServicesTableLib
44 UefiRuntimeLib
45 DxeServicesTableLib
46
47 [Guids]
48 gEfiSystemNvDataFvGuid
49 gEfiVariableGuid
50 gEfiEventVirtualAddressChangeGuid
51
52 [Protocols]
53 gEfiBlockIoProtocolGuid
54 gEfiDevicePathProtocolGuid
55 gEfiFirmwareVolumeBlockProtocolGuid
56 gEfiDiskIoProtocolGuid
57
58 [Pcd.common]
59 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
60 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
61 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
62 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
63 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
64 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
65
66 gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked
67
68 [Depex]
69 #
70 # NorFlashDxe must be loaded before VariableRuntimeDxe in case empty flash needs populating with default values
71 #
72 BEFORE gVariableRuntimeDxeFileGuid