alder_lake_bios/Intel/AlderLake/AlderLakeChipsetPkg/UefiSetupUtilityDxe/SetupUtilityDxe.inf

454 lines
16 KiB
INI

## @file
#
#******************************************************************************
#* 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 = SetupUtility
FILE_GUID = FE3542FE-C1D3-4EF8-657C-8048606FF670
MODULE_TYPE = DXE_DRIVER
ENTRY_POINT = SetupUtilityInit
STRGATHER_RESERVE_SIZE = 0x1000
[Sources]
../../$(PLATFORM_FULL_PACKAGE)/Setup/Advanced.vfr
Advance/Advance.c
Advance/H2OAdvanceForm.hfr
Advance/IdeConfig.c
Advance/SioConflict.c
Advance/DisplaySelection.c
Main/PlatformInfo.c
Main/GetVbiosVersion.c
Main/GetEcVersion.c
Main/GetPchReversionId.c
Main/GetMeVersion.c
Main/GetCpuMiscInfo.c
Main/GetLanPhyReversion.c
Main/GetGopVersion.c
Power/Power.c
Power/PowerVfr.vfr
SetupVfrStrings.uni
SetupUtility.c
SetupFuncs.c
GenericCallback.c
Images/SetupImage.idf
#
# below items are came from Intel.
#
#Intel Setup
../../$(PLATFORM_FULL_PACKAGE)/Setup/Setup.uni
#Firmware Configuration
../../$(PLATFORM_FULL_PACKAGE)/Setup/FwConfig.uni
#Sa
../../$(PLATFORM_FULL_PACKAGE)/Setup/SaSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/SaSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/SaSetup.c
../../$(PLATFORM_FULL_PACKAGE)/Setup/SaPcieSetupSinglePortMenu.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/SaPcieSetupSinglePort.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/SaPcieStringPool.hfr
#[-start-200420-IB17800056-modify]#
../../$(PLATFORM_FULL_PACKAGE)/Setup/ItbtPcieSetupSinglePort.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/ItbtPcieStringPool.hfr
#[-end-200420-IB17800056-modify]#
../../$(PLATFORM_FULL_PACKAGE)/Setup/CpuUsbSingleSsPort.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/CpuUsbStringPool.hfr
#Pcie
../../$(PLATFORM_FULL_PACKAGE)/Setup/PcieSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/PcieSetup.hfr
#Pch
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchPcieSetupSinglePortMenu.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchPcieSetupSinglePort.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PcieEq.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchPcieStringPool.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchIshStringPool.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchUfsSingleController.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchUfsStringPool.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchSetup.c
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchUsbSingleHsPort.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchUsbSingleSsPort.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchUsbStringPool.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PmcFivrSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PchThcStringPool.hfr
#CPU
../../$(PLATFORM_FULL_PACKAGE)/Setup/CpuSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/CpuSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/CpuSetup.c
#ME
../../$(PLATFORM_FULL_PACKAGE)/Setup/MeSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/MeSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/MeSetup.c
../../$(PLATFORM_FULL_PACKAGE)/Setup/AmtSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/AmtSetup.hfr
#Platform
#[-start-200902-IB17800095-modify]#
../../$(PLATFORM_FULL_PACKAGE)/Platform/PlatformSetup/Dxe/PlatformSetup.c
../../$(PLATFORM_FULL_PACKAGE)/Platform/PlatformSetup/Dxe/PlatformSetup.h
#[-end-200902-IB17800095-modify]#
../../$(PLATFORM_FULL_PACKAGE)/Setup/PlatformSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/PlatformSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PlatformSetup.c
#add ICC
../../$(PLATFORM_FULL_PACKAGE)/Setup/IccSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/IccSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/IccSetup.c
#OverClockInit
../../$(PLATFORM_FULL_PACKAGE)/Setup/OverClockSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/OverClockSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/OverClockSetup.c
#PciBus
../../$(PLATFORM_FULL_PACKAGE)/Setup/PciBusSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/PciBusSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/PciBusSetup.c
#Acpi
../../$(PLATFORM_FULL_PACKAGE)/Setup/AcpiSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/AcpiSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/AcpiSetup.c
#Connectivity
../../$(PLATFORM_FULL_PACKAGE)/Setup/ConnectivitySetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/ConnectivitySetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/ConnectivitySetup.c
#Hhm
../../$(PLATFORM_FULL_PACKAGE)/Setup/HhmSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/HhmSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/EcSetup.c
#StatusCode
../../$(PLATFORM_FULL_PACKAGE)/Setup/StatusCodeSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/StatusCodeSetup.hfr
#Debug
../../$(PLATFORM_FULL_PACKAGE)/Setup/DebugSetup.c
../../$(PLATFORM_FULL_PACKAGE)/Setup/DebugSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/DebugSetup.hfr
#Thunderbolt(TM)
../../$(PLATFORM_FULL_PACKAGE)/Setup/TbtSetup.uni
../../$(PLATFORM_FULL_PACKAGE)/Setup/iTbtStringPool.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/dTbtStringPool.hfr
#[-start-200420-IB17800056-modify]#
../../$(PLATFORM_FULL_PACKAGE)/Setup/IntegratedTbtOptions.hfr
#[-end-200420-IB17800056-modify]#
../../$(PLATFORM_FULL_PACKAGE)/Setup/DiscreteTbtOptions.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/TbtSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/TbtSetup.c
#Fusa
../../$(PLATFORM_FULL_PACKAGE)/Setup/FusaSetup.hfr
../../$(PLATFORM_FULL_PACKAGE)/Setup/FusaSetup.uni
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
SecurityPkg/SecurityPkg.dec
UefiCpuPkg/UefiCpuPkg.dec
$(PROJECT_PKG)/Project.dec
$(CHIPSET_REF_CODE_PKG)/$(CHIPSET_REF_CODE_DEC_NAME).dec
$(CHIPSET_PKG)/$(CHIPSET_PKG).dec
InsydeModulePkg/InsydeModulePkg.dec
InsydeOemServicesPkg/InsydeOemServicesPkg.dec
IntelSiliconPkg/IntelSiliconPkg.dec
SndwFeaturePkg/SndwFeaturePkg.dec
$(CHIPSET_REF_CODE_PKG)/SiPkg.dec
SecurityPkg/SecurityPkg.dec
ClientOneSiliconPkg/SiPkg.dec
UefiCpuPkg/UefiCpuPkg.dec
$(PLATFORM_FULL_PACKAGE)/PlatformPkg.dec
AlderLakeBoardPkg/BoardPkg.dec # new add
Features/Audio/NhltFeaturePkg/NhltFeaturePkg.dec
MinPlatformPkg/MinPlatformPkg.dec
#[-start-200902-IB17800095-add]#
AcpiDebugFeaturePkg/AcpiDebugFeaturePkg.dec
#[-end-200902-IB17800095-add]#
BoardModulePkg/BoardModulePkg.dec
[LibraryClasses]
UefiDriverEntryPoint
UefiBootServicesTableLib
UefiRuntimeServicesTableLib
SetupUtilityLib
BaseMemoryLib
DxeOemSvcChipsetLibDefault
OemGraphicsLib
HobLib
BaseLib
CmosLib
DxeMeLib
EcMiscLib
BaseOemSvcChipsetLibDefault
BaseSetupDefaultLib
PcdLib
DxeOemSvcKernelLibDefault
PciExpressLib
PttHeciLib
CpuPlatformLib
CmosAccessLib
StdLib
MultiConfigBaseLib
VariableSupportLib
MmPciLib
GpioLib
PchInfoLib
PchCycleDecodingLib
PchPcieRpLib
CpuMailboxLib
DxeServicesTableLib
GbeLib
TsnLib
#PchFiaLib
DebugLib
PciLib
BootGuardLib
AslUpdateLib
DxeAmtHeciLib
TbtCommonLib
DTbtCommonLib
ConfigBlockLib
GbeMdiLib
PmcLib
TimerLib
DxeAsfLib
MeFwStsLib
ThcLib
CpuRegbarAccessLib
BoardIdsLib
SpiAccessLib
IshInfoLib
EcLib
GraphicsInfoLib
RngLib
GraphicsInfoFruLib
CnviLib
#[-start-200420-IB17800056-modify]#
PchPciBdfLib
TccLib
#[-end-200420-IB17800056-modify]#
DxeTbtSecurityLib
DxeBootStateLib
#[-start-200902-IB17800095-add]#
IoLib
MemoryAllocationLib
SataSocLib
#[-end-200902-IB17800095-add]#
[Guids]
gEfiGenericVariableGuid
gEfiPowerOnPwSCUHobGuid
gSetupDefaultHobGuid
gXTUInfoHobGuid
gEfiHobListGuid
gEfiDiskInfoIdeInterfaceGuid
gEfiDiskInfoAhciInterfaceGuid
gTxtInfoHobGuid
gMeBiosPayloadHobGuid
# gPchGlobalResetWithEcGuid
gIccGuid
gTbtInfoHobGuid
gMeSetupVariableGuid
gMeInfoSetupGuid
gOcSetupVariableGuid
gChipsetSetupDafultGuid
gSaSetupVariableGuid
gMeSetupVariableGuid
gCpuSetupVariableGuid
gPchSetupVariableGuid
gSiSetupVariableGuid
gGraphicsDxeConfigGuid
gSystemConfigurationGuid
gDTbtInfoHobGuid ## CONSUMES
gEfiDiskInfoNvmeInterfaceGuid
gPchPcieStorageDetectHobGuid
gWdtPersistentDataGuid
gScsInfoHobGuid
gSgxSetupVariableGuid
gEfiHiiPlatformSetupFormsetGuid
gPchInfoHobGuid
gEfiTpmDeviceInstanceTpm12Guid
gEfiTpmDeviceInstanceTpm20DtpmGuid
gTcssHobGuid
gChipsetInitHobGuid
gIpuDataHobGuid ## CONSUMES
gSaConfigHobGuid
gCpuPcieHobGuid
gPchDmiHobGuid
gSaDataHobGuid
gVmdInfoHobGuid
gPchRstHobGuid
gCpuDataHobGuid
gH2OBdsCpSendFormAfterGuid
gCpuDmiHobGuid
gDebugTokenDataHobGuid ## CONSUMES
gPdtExistGuid ## CONSUMES
gSetupEnterGuid ## CONSUMES
gEfiConsoleInDeviceGuid ## CONSUMES
gBoardInfoVariableGuid ## CONSUMES
#[-start-200902-IB17800095-add]#
gSiMemoryInfoDataGuid ## CONSUMES
gCpuInitDataHobGuid
#[-end-200902-IB17800095-add]#
gPchSetupVariableGuid ## CONSUMES
gHybridStorageHobGuid ## CONSUMES
[Protocols]
gSetupMouseProtocolGuid
gEfiCpuIo2ProtocolGuid
gAlertStandardFormatProtocolGuid
gEfiSetupUtilityProtocolGuid
#[-start-190709-16990077-add]#
gH2OMeStatusProtocolGuid
#[-end-190709-16990077-add]#
gEfiFormBrowser2ProtocolGuid
gEfiSetupUtilityBrowserProtocolGuid
gMemInfoProtocolGuid
gH2ODialogProtocolGuid
gEfiDataHubProtocolGuid
gGopPolicyProtocolGuid
gEfiSetupUtilityApplicationProtocolGuid
gOemServicesProtocolGuid
gEfiTcgProtocolGuid
gHeciProtocolGuid
gDxeMePolicyGuid
gGopComponentName2ProtocolGuid
gEdkiiFormBrowserEx2ProtocolGuid
gH2OFormBrowserProtocolGuid
gCpuInfoProtocolGuid
gEfiMpServiceProtocolGuid
gEfiPciIoProtocolGuid
gEfiDiskInfoProtocolGuid
gEfiDevicePathProtocolGuid
gSaPolicyProtocolGuid
gEfiVariableWriteArchProtocolGuid
gPlatformConfigChangeProtocolGuid ## SOMETIMES_PRODUCES
gEdkiiPlatformSpecificResetFilterProtocolGuid ## CONSUMES
gOneClickRecoveryProtocolGuid ## CONSUMES
gEfiPciEnumerationCompleteProtocolGuid ## CONSUMES
#[-start-190604-IB11270236-remove]#
# gEfiAlertStandardFormatProtocolGuid
#[-end-190604-IB11270236-remove]#
#[-start-200902-IB17800095-add]#
gEfiPciRootBridgeIoProtocolGuid ## CONSUMES
gEfiPs2PolicyProtocolGuid ## PRODUCES
gDxePolicyProtocolGuid ## PRODUCES
#[-end-200902-IB17800095-add]#
#[-start-201127-IB17510127-add]#
gAmtWrapperProtocolGuid
#[-end-201127-IB17510127-add]#
gBdsAllDriversConnectedProtocolGuid
[Pcd]
gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLang
gChipsetPkgTokenSpaceGuid.PcdTXTSupported
gInsydeTokenSpaceGuid.PcdH2OTpmSupported
gInsydeTokenSpaceGuid.PcdPortNumberMapTable
gInsydeTokenSpaceGuid.PcdPlatformBootTimeOut
gInsydeTokenSpaceGuid.PcdH2OUsbSupported
gChipsetPkgTokenSpaceGuid.PcdAmdPowerXpressSupported
gChipsetPkgTokenSpaceGuid.PcdPttSupported
gChipsetPkgTokenSpaceGuid.PcdSetupConfigSize
gChipsetPkgTokenSpaceGuid.PcdDisableScuAggressiveLpmSupportForPchH
gInsydeTokenSpaceGuid.PcdLegacyBootTypeOrder
gSiPkgTokenSpaceGuid.PcdSerialIoUartNumber
# gChipsetPkgTokenSpaceGuid.PcdH2OConsoleRedirectionClassGuid
gSiPkgTokenSpaceGuid.PcdOverclockEnable
gBoardModuleTokenSpaceGuid.PcdDockAttached
gBoardModuleTokenSpaceGuid.PcdBoardType
gBoardModuleTokenSpaceGuid.PcdPlatformType
gBoardModuleTokenSpaceGuid.PcdSkuType
gBoardModuleTokenSpaceGuid.PcdPlatformFlavor
gBoardModuleTokenSpaceGuid.PcdBoardRev
gBoardModuleTokenSpaceGuid.PcdBoardBomId
gBoardModuleTokenSpaceGuid.PcdEcPresent
gBoardModuleTokenSpaceGuid.PcdEcEspiFlashSharingMode
gBoardModuleTokenSpaceGuid.PcdBoardName
gInsydeTokenSpaceGuid.PcdH2OBoardId
gBoardModuleTokenSpaceGuid.PcdBoardId
gBoardModuleTokenSpaceGuid.PcdFuncBoardHookPlatformSetupOverride
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid
gBoardModuleTokenSpaceGuid.PcdITbtRootPortNumber
gBoardModuleTokenSpaceGuid.PcdDTbtControllerNumber
gPlatformModuleTokenSpaceGuid.PcdSmbiosOemTypeFirmwareVersionInfo ## CONSUMES
gSiPkgTokenSpaceGuid.PcdBtgTxtLegacyPkgEnable ## CONSUMES
gSiPkgTokenSpaceGuid.PcdMchBaseAddress
gSiPkgTokenSpaceGuid.PcdBiosGuardEnable
gSiPkgTokenSpaceGuid.PcdMrcTraceMessageSupported ## CONSUMES
gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable
gBoardModuleTokenSpaceGuid.PcdTcssPdType ## CONSUMES
gBoardModuleTokenSpaceGuid.PcdUsbcEcPdNegotiation ## CONSUMES
gBoardModuleTokenSpaceGuid.PcdEcPeciMode ## CONSUMES
#SA USB Config
gBoardModuleTokenSpaceGuid.PcdCpuXhciPortSupportMap
gPlatformModuleTokenSpaceGuid.PcdExtendedBiosRegionSupport ## CONSUMES
gBoardModuleTokenSpaceGuid.PcdDpMuxGpio ## CONSUMES
gPlatformModuleTokenSpaceGuid.PcdDTbtToPcieRegister
gPlatformModuleTokenSpaceGuid.PcdPcieToDTbtRegister
#[-start-200902-IB17800095-add]#
gEfiMdeModulePkgTokenSpaceGuid.PcdAtaSmartEnable ## PRODUCES
gEfiMdeModulePkgTokenSpaceGuid.PcdFastPS2Detection ## PRODUCES
gAcpiDebugFeaturePkgTokenSpaceGuid.PcdAcpiDebugFeatureActive ## PRODUCES
gPlatformModuleTokenSpaceGuid.PcdRuntimeOverclockEnable ## PRODUCES
gPlatformModuleTokenSpaceGuid.PcdAhciMaxPorts ## PRODUCES
#[-end-200902-IB17800095-add]#
gInsydeTokenSpaceGuid.PcdH2ODdtSupported
[FeaturePcd]
#[-start-211130-IB17800148-add]#
gBoardModuleTokenSpaceGuid.PcdIntelXmlCliFeatureEnable
#[-end-211130-IB17800148-add]#
gChipsetPkgTokenSpaceGuid.PcdMeUnconfigOnRtcSupported
gInsydeTokenSpaceGuid.PcdMultiConfigSupported
gInsydeTokenSpaceGuid.PcdH2OFormBrowserLocalMetroDESupported
gInsydeTokenSpaceGuid.PcdH2OBdsCpSendFormAfterSupported
gChipsetPkgTokenSpaceGuid.PcdHybridGraphicsSupported
gChipsetPkgTokenSpaceGuid.PcdDebugUsePchComPort
gChipsetPkgTokenSpaceGuid.PcdNvidiaOptimusSupported
gChipsetPkgTokenSpaceGuid.PcdHgNvidiaDdsFeatureSupport
[FixedPcd]
gPlatformModuleTokenSpaceGuid.PcdDmiBaseAddress
gSiPkgTokenSpaceGuid.PcdEmbeddedEnable ## CONSUMES
gPlatformModuleTokenSpaceGuid.PcdUpServerEnable
gSiPkgTokenSpaceGuid.PcdAmtEnable
gSiPkgTokenSpaceGuid.PcdITbtEnable
#[-start-200420-IB17800056-remove]#
#gPlatformModuleTokenSpaceGuid.PcdDTbtToPcieRegister
#gPlatformModuleTokenSpaceGuid.PcdPcieToDTbtRegister
#[-end-200420-IB17800056-remove]#
gSiPkgTokenSpaceGuid.PcdITbtToPcieRegister ## CONSUMES
gSiPkgTokenSpaceGuid.PcdPcieToITbtRegister ## CONSUMES
#[-start-200420-IB17800066-add]#
gSiPkgTokenSpaceGuid.PcdAdlLpSupport
#[-end-200420-IB17800066-add]#
gPlatformModuleTokenSpaceGuid.PcdOneClickRecoveryEnable ## CONSUMES
gPlatformModuleTokenSpaceGuid.PcdRemotePlatformEraseSupport ## CONSUMES
gPlatformModuleTokenSpaceGuid.PcdDTbtEnable
#[-start-200903-IB17040149-add]#
gChipsetPkgTokenSpaceGuid.PcdModifyVmdPortConfigViaScuDefault
#[-end-200903-IB17040149-add]#
[BuildOptions]
MSFT:*_*_*_CC_FLAGS = -D __HOB__H__ /Od # to avod efi_HOB_GENERIC_HERDER refdifine on XTUInfoHob.h
MSFT:*_*_*_VFRPP_FLAGS = -DSETUP_IMAGE_SUPPORT /FI$(MODULE_NAME)IdfDefs.h
GCC:*_*_*_VFRPP_FLAGS = -DSETUP_IMAGE_SUPPORT --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)IdfDefs.h
[Depex]
gH2OChipsetServicesProtocolGuid AND
gMemInfoProtocolGuid AND
gEfiVariableArchProtocolGuid AND
gEfiVariableWriteArchProtocolGuid AND
gEfiBdsArchProtocolGuid