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