1 ## @file 2 # Implements a Tunnel Mountain specific flash update program. This will allow 3 # users to update all regions of the flash as needed in a given update. 4 # 5 # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> 6 # 8 # This program and the accompanying materials are licensed and made available under 10 # the terms and conditions of the BSD License that accompanies this distribution. 12 # The full text of the license may be found at 14 # http://opensource.org/licenses/bsd-license.php. 16 # 18 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 20 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 22 # 24 # 25 # 26 ## 27 28 [Defines] 29 INF_VERSION = 0x00010005 30 BASE_NAME = FirmwareUpdate 31 FILE_GUID = AEFAF26C-FB6D-4fef-AF7A-9D78FF201FCA 32 MODULE_TYPE = UEFI_APPLICATION 33 VERSION_STRING = 1.0 34 ENTRY_POINT = ShellCEntryLib 35 36 # 37 # The following information is for reference only and not required by the build tools. 38 # 39 # VALID_ARCHITECTURES = X64 40 # 41 42 [Sources] 43 FirmwareUpdateStrings.uni 44 FirmwareUpdate.c 45 FirmwareUpdate.h 46 47 [Packages] 48 MdeModulePkg/MdeModulePkg.dec 49 MdePkg/MdePkg.dec 50 IA32FamilyCpuPkg/IA32FamilyCpuPkg.dec 51 Vlv2TbltDevicePkg/PlatformPkg.dec 52 Vlv2DeviceRefCodePkg/Vlv2DeviceRefCodePkg.dec 53 ShellPkg/ShellPkg.dec 54 55 [LibraryClasses] 56 BaseLib 57 BaseMemoryLib 58 CacheMaintenanceLib 59 DebugLib 60 FileHandleLib 61 #FlashDeviceLib 62 #SpiFlashCommonLib 63 MemoryAllocationLib 64 PcdLib 65 ShellCEntryLib 66 ShellLib 67 UefiApplicationEntryPoint 68 UefiBootServicesTableLib 69 UefiLib 70 UefiRuntimeServicesTableLib 71 72 [Protocols] 73 gEfiLoadedImageProtocolGuid # PROTOCOL ALWAYS_CONSUMED 74 gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL ALWAYS_CONSUMED 75 gEfiSpiProtocolGuid 76 77 [Pcd] 78 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize ## CONSUMES 79 80 [FixedPcd] 81 # gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize 82 # gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase 83 # gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize 84 # gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase 85 # gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize 86 # gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase 87 88 gPlatformModuleTokenSpaceGuid.PcdFlashChipBase 89 gPlatformModuleTokenSpaceGuid.PcdFlashChipSize 90 gPlatformModuleTokenSpaceGuid.PcdFlashDescriptorBase 91 gPlatformModuleTokenSpaceGuid.PcdFlashDescriptorSize 92 gPlatformModuleTokenSpaceGuid.PcdTxeRomBase 93 gPlatformModuleTokenSpaceGuid.PcdTxeRomSize 94 gPlatformModuleTokenSpaceGuid.PcdBiosRomBase 95 gPlatformModuleTokenSpaceGuid.PcdBiosRomSize 96 97 [BuildOptions] 98 MSFT:*_*_X64_CC_FLAGS = /Od 99 INTEL:*_*_X64_CC_FLAGS = /Od