313 lines
12 KiB
Plaintext
313 lines
12 KiB
Plaintext
## @file
|
|
# Platform description.
|
|
#
|
|
# Copyright (c) 2017 - 2020, 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]
|
|
#
|
|
# Set platform specific package/folder name, same as passed from PREBUILD script.
|
|
# PLATFORM_PACKAGE would be the same as PLATFORM_NAME as well as package build folder
|
|
# DEFINE only takes effect at R9 DSC and FDF.
|
|
#
|
|
DEFINE PLATFORM_PACKAGE = MinPlatformPkg
|
|
DEFINE PLATFORM_SI_PACKAGE = ClientOneSiliconPkg
|
|
DEFINE C1S_PRODUCT_PATH = ClientOneSiliconPkg/Product/TigerLake
|
|
DEFINE PLATFORM_SI_BIN_PACKAGE = AlderLakePlatSamplePkg
|
|
DEFINE PLATFORM_FSP_BIN_PACKAGE = AlderLakeFspBinPkg
|
|
DEFINE PLATFORM_BOARD_PACKAGE = AlderLakeOpenBoardPkg
|
|
DEFINE BOARD = AlderLakeSimics
|
|
DEFINE PROJECT = $(PLATFORM_BOARD_PACKAGE)/$(BOARD)
|
|
|
|
DEFINE SI_PACKAGE_1 = ClientOneSiliconPkg
|
|
|
|
[PcdsFixedAtBuild]
|
|
#
|
|
# Silicon default features setting
|
|
#
|
|
!include $(C1S_PRODUCT_PATH)/TigerLakeSiliconPkgConfig.dsc
|
|
|
|
#
|
|
# Platform On/Off features are defined here
|
|
#
|
|
!include OpenBoardPkgConfig.dsc
|
|
|
|
################################################################################
|
|
#
|
|
# Defines Section - statements that will be processed to create a Makefile.
|
|
#
|
|
################################################################################
|
|
[Defines]
|
|
PLATFORM_NAME = $(PLATFORM_BOARD_PACKAGE)
|
|
PLATFORM_GUID = 465B0A0B-7AC1-443b-8F67-7B8DEC145F90
|
|
PLATFORM_VERSION = 0.1
|
|
DSC_SPECIFICATION = 0x00010005
|
|
OUTPUT_DIRECTORY = Build/$(PROJECT)
|
|
SUPPORTED_ARCHITECTURES = IA32|X64
|
|
BUILD_TARGETS = DEBUG|RELEASE
|
|
SKUID_IDENTIFIER = ALL
|
|
|
|
|
|
FLASH_DEFINITION = $(PROJECT)/OpenBoardPkg.fdf
|
|
|
|
FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0
|
|
DEFINE TOP_MEMORY_ADDRESS = 0x0
|
|
|
|
#
|
|
# Default value for OpenBoardPkg.fdf use
|
|
#
|
|
DEFINE BIOS_SIZE_OPTION = SIZE_70
|
|
|
|
################################################################################
|
|
#
|
|
# SKU Identification section - list of all SKU IDs supported by this
|
|
# Platform.
|
|
#
|
|
################################################################################
|
|
[SkuIds]
|
|
0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
|
|
1|BoardIdTigerLakeSimics
|
|
|
|
################################################################################
|
|
#
|
|
# Library Class section - list of all Library Classes needed by this Platform.
|
|
#
|
|
################################################################################
|
|
|
|
!include $(PLATFORM_PACKAGE)/Include/Dsc/CoreCommonLib.dsc
|
|
!include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiLib.dsc
|
|
!include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeLib.dsc
|
|
|
|
[LibraryClasses.common]
|
|
|
|
PeiLib|$(PLATFORM_PACKAGE)/Library/PeiLib/PeiLib.inf
|
|
ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiReportFvLib.inf
|
|
|
|
PciHostBridgeLib|$(PLATFORM_PACKAGE)/Pci/Library/PciHostBridgeLibSimple/PciHostBridgeLibSimple.inf
|
|
PciSegmentInfoLib|$(PLATFORM_PACKAGE)/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.inf
|
|
PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
|
|
|
|
PlatformHookLib|$(PROJECT)/Library/BasePlatformHookLib/BasePlatformHookLib.inf
|
|
|
|
FspWrapperHobProcessLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperHobProcessLib/PeiFspWrapperHobProcessLib.inf
|
|
PlatformSecLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecFspWrapperPlatformSecLib.inf
|
|
|
|
FspWrapperApiLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf
|
|
FspWrapperApiTestLib|IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/PeiFspWrapperApiTestLib.inf
|
|
|
|
FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformLib.inf
|
|
SiliconPolicyInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/SiliconPolicyInitLibNull/SiliconPolicyInitLibNull.inf
|
|
SiliconPolicyUpdateLib|$(PLATFORM_BOARD_PACKAGE)/FspWrapper/Library/PeiSiliconPolicyUpdateLibFsp/PeiSiliconPolicyUpdateLibFsp.inf
|
|
|
|
ConfigBlockLib|IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLib.inf
|
|
SiliconInitLib|$(PLATFORM_BOARD_PACKAGE)/Library/SiliconInitLib/SiliconInitLib.inf
|
|
MmioInitLib|$(PLATFORM_BOARD_PACKAGE)/Library/BaseMmioInitLib/BaseMmioInitLib.inf
|
|
|
|
BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/BoardInitLibNull/BoardInitLibNull.inf
|
|
TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
|
|
|
|
PciSegmentLib|$(PLATFORM_SI_PACKAGE)/Library/BasePciSegmentMultiSegLibPci/BasePciSegmentMultiSegLibPci.inf
|
|
PciExpressLib|$(PLATFORM_SI_PACKAGE)/Library/BasePciExpressMultiSegLib/BasePciExpressMultiSegLib.inf
|
|
PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
|
|
|
|
#
|
|
# Silicon Init Package
|
|
#
|
|
!include $(C1S_PRODUCT_PATH)/SiPkgCommonLib.dsc
|
|
|
|
[LibraryClasses.common.PEIM]
|
|
ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.inf
|
|
|
|
[LibraryClasses.IA32]
|
|
#
|
|
# PEI phase common
|
|
#
|
|
FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformLib.inf
|
|
!if $(TARGET) == DEBUG
|
|
TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/PeiTestPointCheckLib.inf
|
|
!endif
|
|
TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/PeiTestPointLib.inf
|
|
MultiBoardInitSupportLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/PeiMultiBoardInitSupportLib.inf
|
|
BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/PeiMultiBoardInitSupportLib.inf
|
|
EcLib|$(PLATFORM_BOARD_PACKAGE)/Library/BaseEcLib/BaseEcLib.inf
|
|
EcHwLib|$(PLATFORM_BOARD_PACKAGE)/Library/BaseEcHwLib/BaseEcHwLib.inf
|
|
EcMiscLib|$(PLATFORM_BOARD_PACKAGE)/Library/BaseEcMiscLib/BaseEcMiscLib.inf
|
|
|
|
#
|
|
# Silicon Init Package
|
|
#
|
|
!include $(C1S_PRODUCT_PATH)/SiPkgPeiLib.dsc
|
|
|
|
#
|
|
# Use Null library instance to skip MTRR initialization from MinPlatformPkg PlatformInit modules.
|
|
# MTRR configuration will be done by FSP or PlatformInitAdvanced modules.
|
|
#
|
|
SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrrLibNull.inf
|
|
|
|
[LibraryClasses.IA32.SEC]
|
|
TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SecTestPointCheckLib.inf
|
|
TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
|
|
SecBoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/SecBoardInitLibNull/SecBoardInitLibNull.inf
|
|
|
|
[LibraryClasses.X64]
|
|
#
|
|
# DXE phase common
|
|
#
|
|
FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/DxeFspWrapperPlatformLib/DxeFspWrapperPlatformLib.inf
|
|
!if $(TARGET) == DEBUG
|
|
TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/DxeTestPointCheckLib.inf
|
|
!endif
|
|
TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/DxeTestPointLib.inf
|
|
MultiBoardInitSupportLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/DxeMultiBoardInitSupportLib.inf
|
|
BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/DxeMultiBoardInitSupportLib.inf
|
|
MultiBoardAcpiSupportLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/DxeMultiBoardAcpiSupportLib.inf
|
|
BoardAcpiTableLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/DxeMultiBoardAcpiSupportLib.inf
|
|
|
|
SiliconPolicyInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/SiliconPolicyInitLibNull/SiliconPolicyInitLibNull.inf
|
|
SiliconPolicyUpdateLib|$(PLATFORM_BOARD_PACKAGE)/Policy/Library/DxeSiliconPolicyUpdateLib/DxeSiliconPolicyUpdateLib.inf
|
|
|
|
#
|
|
# Silicon Init Package
|
|
#
|
|
!include $(C1S_PRODUCT_PATH)/SiPkgDxeLib.dsc
|
|
|
|
[LibraryClasses.X64.DXE_SMM_DRIVER]
|
|
SpiFlashCommonLib|$(PLATFORM_BOARD_PACKAGE)/Library/SmmSpiFlashCommonLib/SmmSpiFlashCommonLib.inf
|
|
!if $(TARGET) == DEBUG
|
|
TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SmmTestPointCheckLib.inf
|
|
!endif
|
|
TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/SmmTestPointLib.inf
|
|
MultiBoardAcpiSupportLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/SmmMultiBoardAcpiSupportLib.inf
|
|
BoardAcpiEnableLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/SmmMultiBoardAcpiSupportLib.inf
|
|
|
|
[LibraryClasses.X64.DXE_RUNTIME_DRIVER]
|
|
ResetSystemLib|$(PLATFORM_SI_PACKAGE)/Pch/Library/BaseResetSystemLib/BaseResetSystemLib.inf
|
|
|
|
!include OpenBoardPkgPcd.dsc
|
|
|
|
[Components.IA32]
|
|
|
|
#
|
|
# Common
|
|
#
|
|
!include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiInclude.dsc
|
|
|
|
#
|
|
# FSP wrapper SEC Core
|
|
#
|
|
UefiCpuPkg/SecCore/SecCore.inf {
|
|
<LibraryClasses>
|
|
PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
|
}
|
|
|
|
#
|
|
# Silicon
|
|
#
|
|
!include $(C1S_PRODUCT_PATH)/SiPkgPei.dsc
|
|
|
|
#
|
|
# Platform
|
|
#
|
|
$(PLATFORM_PACKAGE)/PlatformInit/ReportFv/ReportFvPei.inf
|
|
$(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf {
|
|
<LibraryClasses>
|
|
NULL|$(PROJECT)/Library/BoardInitLib/PeiMultiBoardInitPreMemLib.inf
|
|
}
|
|
IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf
|
|
|
|
$(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf {
|
|
<LibraryClasses>
|
|
NULL|$(PROJECT)/Library/BoardInitLib/PeiMultiBoardInitPostMemLib.inf
|
|
}
|
|
|
|
$(PLATFORM_PACKAGE)/Services/StallServicePei/StallServicePei.inf
|
|
|
|
IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf
|
|
|
|
#
|
|
# Security
|
|
#
|
|
|
|
!if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable == TRUE
|
|
$(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf
|
|
!endif
|
|
|
|
[Components.X64]
|
|
|
|
#
|
|
# Common
|
|
#
|
|
!include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeInclude.dsc
|
|
|
|
UefiCpuPkg/CpuDxe/CpuDxe.inf
|
|
MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
|
|
|
|
MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
|
|
MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
|
|
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
|
|
MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
|
|
MdeModulePkg/Universal/Console/GraphicsOutputDxe/GraphicsOutputDxe.inf
|
|
|
|
ShellBinPkg/UefiShell/UefiShell.inf
|
|
|
|
#
|
|
# Silicon
|
|
#
|
|
!include $(C1S_PRODUCT_PATH)/SiPkgDxe.dsc
|
|
|
|
#
|
|
# Platform
|
|
#
|
|
$(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyDxe/SiliconPolicyDxe.inf
|
|
$(PLATFORM_PACKAGE)/PlatformInit/PlatformInitDxe/PlatformInitDxe.inf
|
|
IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf
|
|
|
|
$(PLATFORM_PACKAGE)/FspWrapper/SaveMemoryConfig/SaveMemoryConfig.inf
|
|
|
|
$(PLATFORM_PACKAGE)/Test/TestPointStubDxe/TestPointStubDxe.inf
|
|
$(PLATFORM_PACKAGE)/Test/TestPointDumpApp/TestPointDumpApp.inf
|
|
|
|
#
|
|
# OS Boot
|
|
#
|
|
!if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
|
|
$(PLATFORM_PACKAGE)/Acpi/AcpiTables/AcpiPlatform.inf {
|
|
<LibraryClasses>
|
|
NULL|$(PROJECT)/Library/BoardAcpiLib/DxeMultiBoardAcpiSupportLib.inf
|
|
}
|
|
$(PLATFORM_BOARD_PACKAGE)/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf {
|
|
<LibraryClasses>
|
|
NULL|$(PROJECT)/Library/BoardAcpiLib/DxeMultiBoardAcpiSupportLib.inf
|
|
}
|
|
$(PLATFORM_PACKAGE)/Acpi/AcpiSmm/AcpiSmm.inf {
|
|
<LibraryClasses>
|
|
NULL|$(PROJECT)/Library/BoardAcpiLib/SmmMultiBoardAcpiSupportLib.inf
|
|
}
|
|
|
|
$(PLATFORM_PACKAGE)/Flash/SpiFvbService/SpiFvbServiceSmm.inf
|
|
$(PLATFORM_PACKAGE)/PlatformInit/PlatformInitSmm/PlatformInitSmm.inf
|
|
|
|
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
|
|
|
|
!endif
|
|
|
|
#
|
|
# Security
|
|
#
|
|
$(PLATFORM_PACKAGE)/Hsti/HstiIbvPlatformDxe/HstiIbvPlatformDxe.inf
|
|
|
|
!if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable == TRUE
|
|
$(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf
|
|
!endif
|
|
|
|
!include $(C1S_PRODUCT_PATH)/SiPkgBuildOption.dsc
|
|
!include OpenBoardPkgBuildOption.dsc
|