]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
ArmPlatformPkg/NorFlashDxe: Fix coding mistakes that would prevent Runtime mode
[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
1e57a462 45\r
46[Guids]\r
47 gEfiSystemNvDataFvGuid\r
48 gEfiVariableGuid\r
49\r
50[Protocols]\r
51 gEfiBlockIoProtocolGuid\r
52 gEfiDevicePathProtocolGuid\r
53 gEfiFirmwareVolumeBlockProtocolGuid\r
54 \r
55[Pcd.common]\r
56 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase\r
57 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize\r
58 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase\r
59 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize\r
60 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase\r
61 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize\r
62 \r
63 gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked\r
64\r
65[Depex]\r
66 #\r
67 # NorFlashDxe must be loaded before VariableRuntimeDxe in case empty flash needs populating with default values\r
68 # \r
69 BEFORE gVariableRuntimeDxeFileGuid \r