159 lines
4.5 KiB
INI
159 lines
4.5 KiB
INI
## @file
|
|
# Implement the PEIM of PeiChipsetSvc.
|
|
#
|
|
# ***************************************************************************
|
|
# * Copyright (c) 2015 - 2021, Insyde Software Corp. All Rights Reserved.
|
|
# *
|
|
# * You may not reproduce, distribute, publish, display, perform, modify, adapt,
|
|
# * transmit, broadcast, present, recite, release, license or otherwise exploit
|
|
# * any part of this publication in any form, by any means, without the prior
|
|
# * written permission of Insyde Software Corporation.
|
|
# *
|
|
# ******************************************************************************
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = ChipsetSvcPei
|
|
FILE_GUID = FB3D20EE-CB5D-45ee-BBAE-C5AAA9C0FDFA
|
|
MODULE_TYPE = PEIM
|
|
VERSION_STRING = 1.0
|
|
ENTRY_POINT = ChipsetSvcPeiEntryPoint
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
$(PROJECT_PKG)/Project.dec
|
|
$(CHIPSET_PKG)/$(CHIPSET_PKG).dec
|
|
InsydeModulePkg/InsydeModulePkg.dec
|
|
$(CHIPSET_REF_CODE_PKG)/$(CHIPSET_REF_CODE_DEC_NAME).dec
|
|
PerformancePkg/PerformancePkg.dec
|
|
UefiCpuPkg/UefiCpuPkg.dec
|
|
SecurityPkg/SecurityPkg.dec
|
|
InsydeOemServicesPkg/InsydeOemServicesPkg.dec
|
|
SecurityPkg/SecurityPkg.dec
|
|
UefiCpuPkg/UefiCpuPkg.dec
|
|
AlderLakePlatSamplePkg/PlatformPkg.dec
|
|
|
|
[Sources]
|
|
ChipsetSvcPei.c
|
|
EnableFdWrites.c
|
|
LegacyRegionAccessCtrl.c
|
|
GetSleepState.c
|
|
HdaInitHook.c
|
|
PlatformStage1Init.c
|
|
Stage1MemoryDiscoverCallback.c
|
|
PlatformStage2Init.c
|
|
Stage2MemoryDiscoverCallback.c
|
|
ModifyMemoryRange.c
|
|
SetSetupVariableDefault.c
|
|
InitPortConfig.c
|
|
|
|
[LibraryClasses]
|
|
PeimEntryPoint
|
|
PeiServicesLib
|
|
MemoryAllocationLib
|
|
PciLib
|
|
BaseLib
|
|
IoLib
|
|
CmosLib
|
|
HobLib
|
|
PeiServicesTablePointerLib
|
|
BaseOemSvcKernelLibDefault
|
|
PostCodeLib
|
|
# PchPlatformLib
|
|
GbeLib
|
|
PchPcrLib
|
|
PchCycleDecodingLib
|
|
PchInfoLib
|
|
PciExpressLib
|
|
BaseCryptLib
|
|
BaseMemoryLib
|
|
MmPciLib
|
|
BaseInsydeChipsetLib
|
|
CpuPlatformLib
|
|
PeiInsydeChipsetLib
|
|
BaseOemSvcChipsetLibDefault
|
|
MtrrLib
|
|
PciCf8Lib
|
|
VariableLib
|
|
PeiMeLib
|
|
H2OCpLib
|
|
DebugLib
|
|
PeiCapsuleLib
|
|
SataSocLib
|
|
CpuPcieInfoFruLib
|
|
#[-start-220217-QINGLIN0158-add]#
|
|
!if ($(S370_SUPPORT_ENABLE) == YES)
|
|
CnviLib
|
|
!endif
|
|
#[-end-220217-QINGLIN0158-add]#
|
|
|
|
[Ppis]
|
|
gH2OChipsetServicesPpiGuid
|
|
gWdtPpiGuid
|
|
gEcpPeiAtaControllerPpiGuid
|
|
gSiPolicyPpiGuid
|
|
gEfiPeiMemoryDiscoveredPpiGuid
|
|
gEfiPeiStallPpiGuid
|
|
gEfiPeiResetPpiGuid
|
|
gPeiS3RestoreAcpiCallbackPpiGuid
|
|
gEfiEndOfPeiSignalPpiGuid
|
|
# gPeiCachePpiGuid
|
|
# gEmuPeiPpiGuid
|
|
gSiPolicyPpiGuid
|
|
gWdtPpiGuid
|
|
gHeciPpiGuid
|
|
|
|
[Guids]
|
|
gMtrrDataInfoGuid
|
|
gH2OPeiCpSetBootModeBeforeGuid
|
|
gH2OPeiCpInitChipsetPolicyGuid
|
|
gH2OHybridGraphicsVariableGuid
|
|
gSecureFlashInfoGuid
|
|
gXTUInfoHobGuid
|
|
gAcpiVariableSetGuid
|
|
gChipsetPkgTokenSpaceGuid
|
|
gSiMemoryS3DataGuid
|
|
|
|
[Pcd]
|
|
gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
|
|
gPerformancePkgTokenSpaceGuid.PcdPerfPkgAcpiIoPortBaseAddress
|
|
gChipsetPkgTokenSpaceGuid.PcdPchGpioBaseAddress
|
|
gChipsetPkgTokenSpaceGuid.PcdTxtPublicBase
|
|
gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress
|
|
gChipsetPkgTokenSpaceGuid.PcdPciExpressSize
|
|
gChipsetPkgTokenSpaceGuid.PcdFlashFvBackupBase
|
|
gChipsetPkgTokenSpaceGuid.PcdFlashFvBackupSize
|
|
gInsydeTokenSpaceGuid.PcdFlashFvRecoveryBase
|
|
gInsydeTokenSpaceGuid.PcdFlashFvRecoverySize
|
|
gInsydeTokenSpaceGuid.PcdFlashFvMainBase
|
|
gInsydeTokenSpaceGuid.PcdFlashFvMainSize
|
|
gInsydeTokenSpaceGuid.PcdFlashAreaSize
|
|
gInsydeTokenSpaceGuid.PcdFlashAreaBaseAddress
|
|
gInsydeTokenSpaceGuid.PcdH2OChipsetUsbPortEnable
|
|
gInsydeTokenSpaceGuid.PcdH2OChipsetUsb3PortEnable
|
|
gInsydeTokenSpaceGuid.PcdH2OChipsetPciePortEnable
|
|
gInsydeTokenSpaceGuid.PcdH2OChipsetSataPortEnable
|
|
gChipsetPkgTokenSpaceGuid.PcdSetupConfigSize
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid
|
|
gChipsetPkgTokenSpaceGuid.PcdSaTsegSize
|
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress
|
|
gChipsetPkgTokenSpaceGuid.PcdH2OPcieNonCpuPortNumber
|
|
|
|
[FeaturePcd]
|
|
gChipsetPkgTokenSpaceGuid.PcdEcSharedFlashSupported
|
|
gChipsetPkgTokenSpaceGuid.PcdEcIdlePerWriteBlockSupported
|
|
gChipsetPkgTokenSpaceGuid.PcdEcSharedFlashSupported
|
|
gChipsetPkgTokenSpaceGuid.PcdEcIdlePerWriteBlockSupported
|
|
gChipsetPkgTokenSpaceGuid.PcdTXTSupported
|
|
gChipsetPkgTokenSpaceGuid.PcdNvidiaOptimusSupported
|
|
gInsydeTokenSpaceGuid.PcdUseFastCrisisRecovery
|
|
gInsydeTokenSpaceGuid.PcdH2OPeiCpSetBootModeBeforeSupported
|
|
gInsydeTokenSpaceGuid.PcdH2OPeiCpInitChipsetPolicySupported
|
|
gChipsetPkgTokenSpaceGuid.PcdDisableCacheSupportInEnableFdWrites
|
|
gChipsetPkgTokenSpaceGuid.PcdPttSupported
|
|
|
|
[Depex]
|
|
TRUE
|