]>
Commit | Line | Data |
---|---|---|
46002a4a ZS |
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 | # | |
9dc8036d | 7 | # SPDX-License-Identifier: BSD-2-Clause-Patent |
46002a4a ZS |
8 | # |
9 | # | |
10 | # | |
11 | ## | |
12 | ||
13 | [Defines] | |
14 | INF_VERSION = 0x00010005 | |
15 | BASE_NAME = FirmwareUpdate | |
16 | FILE_GUID = AEFAF26C-FB6D-4fef-AF7A-9D78FF201FCA | |
17 | MODULE_TYPE = UEFI_APPLICATION | |
18 | VERSION_STRING = 1.0 | |
19 | ENTRY_POINT = ShellCEntryLib | |
20 | ||
21 | # | |
22 | # The following information is for reference only and not required by the build tools. | |
23 | # | |
24 | # VALID_ARCHITECTURES = X64 | |
25 | # | |
26 | ||
27 | [Sources] | |
28 | FirmwareUpdateStrings.uni | |
29 | FirmwareUpdate.c | |
30 | FirmwareUpdate.h | |
31 | ||
32 | [Packages] | |
33 | MdeModulePkg/MdeModulePkg.dec | |
34 | MdePkg/MdePkg.dec | |
35 | Vlv2TbltDevicePkg/PlatformPkg.dec | |
36 | Vlv2DeviceRefCodePkg/Vlv2DeviceRefCodePkg.dec | |
37 | ShellPkg/ShellPkg.dec | |
38 | ||
39 | [LibraryClasses] | |
40 | BaseLib | |
41 | BaseMemoryLib | |
42 | CacheMaintenanceLib | |
43 | DebugLib | |
44 | FileHandleLib | |
45 | #FlashDeviceLib | |
46 | #SpiFlashCommonLib | |
47 | MemoryAllocationLib | |
48 | PcdLib | |
49 | ShellCEntryLib | |
50 | ShellLib | |
51 | UefiApplicationEntryPoint | |
52 | UefiBootServicesTableLib | |
53 | UefiLib | |
54 | UefiRuntimeServicesTableLib | |
55 | ||
56 | [Protocols] | |
57 | gEfiLoadedImageProtocolGuid # PROTOCOL ALWAYS_CONSUMED | |
58 | gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL ALWAYS_CONSUMED | |
59 | gEfiSpiProtocolGuid | |
60 | ||
61 | [Pcd] | |
62 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize ## CONSUMES | |
63 | ||
64 | [FixedPcd] | |
65 | # gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize | |
66 | # gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase | |
67 | # gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize | |
68 | # gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase | |
69 | # gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize | |
70 | # gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase | |
71 | ||
72 | gPlatformModuleTokenSpaceGuid.PcdFlashChipBase | |
73 | gPlatformModuleTokenSpaceGuid.PcdFlashChipSize | |
74 | gPlatformModuleTokenSpaceGuid.PcdFlashDescriptorBase | |
75 | gPlatformModuleTokenSpaceGuid.PcdFlashDescriptorSize | |
76 | gPlatformModuleTokenSpaceGuid.PcdTxeRomBase | |
77 | gPlatformModuleTokenSpaceGuid.PcdTxeRomSize | |
78 | gPlatformModuleTokenSpaceGuid.PcdBiosRomBase | |
79 | gPlatformModuleTokenSpaceGuid.PcdBiosRomSize | |
80 | ||
81 | [BuildOptions] | |
82 | MSFT:*_*_X64_CC_FLAGS = /Od | |
3cbfba02 | 83 | INTEL:*_*_X64_CC_FLAGS = /Od |