alder_lake_bios/Intel/AlderLake/AlderLakeOpenBoardPkg/Library/SmmSpiFlashCommonLib/SmmSpiFlashCommonLib.inf

57 lines
1.6 KiB
INI

### @file
# SMM Library instance of Spi Flash Common Library Class
#
# Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials are licensed and made available under
# the terms and conditions of the BSD License which accompanies this distribution.
# The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
###
[Defines]
INF_VERSION = 0x00010017
BASE_NAME = SmmSpiFlashCommonLib
FILE_GUID = 9632D96E-E849-4217-9217-DC500B8AAE47
VERSION_STRING = 1.0
MODULE_TYPE = DXE_SMM_DRIVER
LIBRARY_CLASS = SpiFlashCommonLib|DXE_SMM_DRIVER
CONSTRUCTOR = SmmSpiFlashCommonLibConstructor
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64
#
[LibraryClasses]
IoLib
MemoryAllocationLib
BaseLib
UefiLib
SmmServicesTableLib
BaseMemoryLib
DebugLib
[Packages]
MdePkg/MdePkg.dec
ClientOneSiliconPkg/SiPkg.dec
AlderLakeOpenBoardPkg/OpenBoardPkg.dec
[Pcd]
gSiPkgTokenSpaceGuid.PcdBiosAreaBaseAddress ## CONSUMES
gSiPkgTokenSpaceGuid.PcdBiosSize ## CONSUMES
[Sources]
SpiFlashCommonSmmLib.c
SpiFlashCommon.c
[Protocols]
gPchSmmSpiProtocolGuid ## CONSUMES
[Depex.X64.DXE_SMM_DRIVER]
gPchSmmSpiProtocolGuid