hc
2024-03-22 a0752693d998599af469473b8dc239ef973a012f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
## @file
# Implements a Tunnel Mountain specific flash update program.  This will allow
# users to update all regions of the flash as needed in a given update.
#
# Copyright (c) 2006  - 2014, Intel Corporation. All rights reserved.<BR>
#                                                                                  
# SPDX-License-Identifier: BSD-2-Clause-Patent
#                                                                                  
#
#
##
 
[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = FirmwareUpdate
  FILE_GUID                      = AEFAF26C-FB6D-4fef-AF7A-9D78FF201FCA
  MODULE_TYPE                    = UEFI_APPLICATION
  VERSION_STRING                 = 1.0
  ENTRY_POINT                    = ShellCEntryLib
 
#
# The following information is for reference only and not required by the build tools.
#
#  VALID_ARCHITECTURES           = X64
#
 
[Sources]
  FirmwareUpdateStrings.uni
  FirmwareUpdate.c
  FirmwareUpdate.h
 
[Packages]
  MdeModulePkg/MdeModulePkg.dec
  MdePkg/MdePkg.dec
  Vlv2TbltDevicePkg/PlatformPkg.dec
  Vlv2DeviceRefCodePkg/Vlv2DeviceRefCodePkg.dec
  ShellPkg/ShellPkg.dec
 
[LibraryClasses]
  BaseLib
  BaseMemoryLib
  CacheMaintenanceLib
  DebugLib
  FileHandleLib
  #FlashDeviceLib
  #SpiFlashCommonLib
  MemoryAllocationLib
  PcdLib
  ShellCEntryLib
  ShellLib
  UefiApplicationEntryPoint
  UefiBootServicesTableLib
  UefiLib
  UefiRuntimeServicesTableLib
 
[Protocols]
  gEfiLoadedImageProtocolGuid                   # PROTOCOL ALWAYS_CONSUMED
  gEfiFirmwareVolumeBlockProtocolGuid           # PROTOCOL ALWAYS_CONSUMED
  gEfiSpiProtocolGuid
 
[Pcd]
  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize   ## CONSUMES
 
[FixedPcd]
#  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
#  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
#  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
#  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
#  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
#  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
 
  gPlatformModuleTokenSpaceGuid.PcdFlashChipBase
  gPlatformModuleTokenSpaceGuid.PcdFlashChipSize
  gPlatformModuleTokenSpaceGuid.PcdFlashDescriptorBase
  gPlatformModuleTokenSpaceGuid.PcdFlashDescriptorSize
  gPlatformModuleTokenSpaceGuid.PcdTxeRomBase
  gPlatformModuleTokenSpaceGuid.PcdTxeRomSize
  gPlatformModuleTokenSpaceGuid.PcdBiosRomBase
  gPlatformModuleTokenSpaceGuid.PcdBiosRomSize
 
[BuildOptions]
  MSFT:*_*_X64_CC_FLAGS       = /Od 
  INTEL:*_*_X64_CC_FLAGS       = /Od