summaryrefslogtreecommitdiff
path: root/Silicon/Intel/IntelSiliconPkg/Library/SmmSpiFlashCommonLib/SmmSpiFlashCommonLib.inf
blob: 650144228cce486c2525391b538d3d1b91b20033 (plain)
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
## @file
# SMM Library instance of Spi Flash Common Library Class
#
#  Copyright (c) 2021 - 2024, Intel Corporation. All rights reserved.<BR>
#  SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

[Defines]
  INF_VERSION                    = 0x00010017
  BASE_NAME                      = SmmSpiFlashCommonLib
  FILE_GUID                      = 99721728-C39D-4600-BD38-71E8238FEEF2
  VERSION_STRING                 = 1.0
  MODULE_TYPE                    = BASE
  LIBRARY_CLASS                  = SpiFlashCommonLib|DXE_SMM_DRIVER MM_STANDALONE
  CONSTRUCTOR                    = SmmSpiFlashCommonLibConstructor
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64
#

[LibraryClasses]
  BaseLib
  BaseMemoryLib
  DebugLib
  IoLib
  MemoryAllocationLib
  MmServicesTableLib

[Packages]
  MdePkg/MdePkg.dec
  IntelSiliconPkg/IntelSiliconPkg.dec

[Pcd]
  gIntelSiliconPkgTokenSpaceGuid.PcdBiosAreaBaseAddress   ## CONSUMES
  gIntelSiliconPkgTokenSpaceGuid.PcdBiosSize              ## CONSUMES

[Guids]
  gFlashRegionBiosGuid

[Sources]
  SmmSpiFlashCommonLib.c
  SpiFlashCommon.c

[Protocols]
  gPchSmmSpi2ProtocolGuid                                 ## CONSUMES

[Depex.X64.DXE_SMM_DRIVER]
  gPchSmmSpi2ProtocolGuid

[Depex.X64.MM_STANDALONE]
  gPchSmmSpi2ProtocolGuid