FirmwareUpdate.inf 2.5 KB

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