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