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 NorFlashVariableDep.c 30 31 [Packages] 32 MdePkg/MdePkg.dec 33 MdeModulePkg/MdeModulePkg.dec 34 ArmPlatformPkg/ArmPlatformPkg.dec 35 36 [LibraryClasses] 37 IoLib 38 BaseLib 39 DebugLib 40 HobLib 41 NorFlashPlatformLib 42 UefiLib 43 UefiDriverEntryPoint 44 UefiBootServicesTableLib 45 UefiRuntimeLib 46 DxeServicesTableLib 47 48 [Guids] 49 gEfiSystemNvDataFvGuid 50 gEfiVariableGuid 51 gEfiEventVirtualAddressChangeGuid 52 53 [Protocols] 54 gEfiBlockIoProtocolGuid 55 gEfiDevicePathProtocolGuid 56 gEfiFirmwareVolumeBlockProtocolGuid 57 gEfiDiskIoProtocolGuid 58 59 [Pcd.common] 60 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase 61 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize 62 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase 63 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize 64 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase 65 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize 66 67 gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked 68 69 [Depex] 70 # 71 # NorFlashDxe must be loaded before VariableRuntimeDxe in case empty flash needs populating with default values 72 # 73 BEFORE gVariableRuntimeDxeFileGuid 74