1## @file
2#  Component description file for the Coffee Lake silicon package DSC file.
3#
4# Copyright (c) 2019 - 2020 Intel Corporation. All rights reserved. <BR>
5#
6# SPDX-License-Identifier: BSD-2-Clause-Patent
7#
8##
9
10[PcdsFeatureFlag]
11gSiPkgTokenSpaceGuid.PcdTraceHubEnable               |FALSE
12gSiPkgTokenSpaceGuid.PcdSmmVariableEnable            |TRUE
13gSiPkgTokenSpaceGuid.PcdAtaEnable                    |FALSE
14gSiPkgTokenSpaceGuid.PcdSiCsmEnable                  |FALSE
15gSiPkgTokenSpaceGuid.PcdUseHpetTimer                 |TRUE
16gSiPkgTokenSpaceGuid.PcdSgEnable                     |TRUE
17gSiPkgTokenSpaceGuid.PcdAcpiEnable                   |FALSE
18gSiPkgTokenSpaceGuid.PcdSourceDebugEnable            |FALSE
19gSiPkgTokenSpaceGuid.PcdPpmEnable                    |TRUE
20gSiPkgTokenSpaceGuid.PcdIntegratedTouchEnable        |FALSE
21gSiPkgTokenSpaceGuid.PcdPttEnable                    |FALSE
22gSiPkgTokenSpaceGuid.PcdJhiEnable                    |FALSE
23gSiPkgTokenSpaceGuid.PcdSmbiosEnable                 |TRUE
24gSiPkgTokenSpaceGuid.PcdS3Enable                     |TRUE
25gSiPkgTokenSpaceGuid.PcdOverclockEnable              |FALSE
26gSiPkgTokenSpaceGuid.PcdCpuPowerOnConfigEnable       |FALSE
27gSiPkgTokenSpaceGuid.PcdBdatEnable                   |TRUE
28gSiPkgTokenSpaceGuid.PcdIgdEnable                    |TRUE
29gSiPkgTokenSpaceGuid.PcdPegEnable                    |TRUE
30gSiPkgTokenSpaceGuid.PcdSaDmiEnable                  |TRUE
31gSiPkgTokenSpaceGuid.PcdIpuEnable                    |TRUE
32gSiPkgTokenSpaceGuid.PcdGnaEnable                    |TRUE
33gSiPkgTokenSpaceGuid.PcdSaOcEnable                   |TRUE
34gSiPkgTokenSpaceGuid.PcdVtdEnable                    |TRUE
35gSiPkgTokenSpaceGuid.PcdOptimizeCompilerEnable       |TRUE
36gSiPkgTokenSpaceGuid.PcdPeiDisplayEnable             |TRUE
37gSiPkgTokenSpaceGuid.PcdCflCpuEnable                 |FALSE
38gSiPkgTokenSpaceGuid.PcdOcWdtEnable                  |TRUE
39gSiPkgTokenSpaceGuid.PcdSerialIoUartEnable           |TRUE
40gSiPkgTokenSpaceGuid.PcdSiCatalogDebugEnable         |FALSE
41
42[PcdsFixedAtBuild.common]
43gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress       |0xE0000000
44gSiPkgTokenSpaceGuid.PcdTemporaryPciExpressRegionLength |0x10000000
45
46  gSiPkgTokenSpaceGuid.PcdSiliconInitTempPciBusMin        |10
47  gSiPkgTokenSpaceGuid.PcdSiliconInitTempPciBusMax        |18
48
49[PcdsDynamicDefault.common]
50gSiPkgTokenSpaceGuid.PcdPciExpressRegionLength          |0x10000000
51
52## Specifies the AP wait loop state during POST phase.
53#  The value is defined as below.
54#  1: Place AP in the Hlt-Loop state.
55#  2: Place AP in the Mwait-Loop state.
56#  3: Place AP in the Run-Loop state.
57# @Prompt The AP wait loop state.
58gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode|2
59## Specifies the AP target C-state for Mwait during POST phase.
60#  The default value 0 means C1 state.
61#  The value is defined as below.<BR><BR>
62# @Prompt The specified AP target C-state for Mwait.
63gUefiCpuPkgTokenSpaceGuid.PcdCpuApTargetCstate|0
64
65[Defines]
66  PLATFORM_NAME = CoffeelakeSiliconPkg
67  PLATFORM_GUID = A45CA44C-AB04-4932-A77C-5A7179F66A22
68  PLATFORM_VERSION = 0.4
69  DSC_SPECIFICATION = 0x00010005
70  OUTPUT_DIRECTORY = Build/CoffeelakeSiliconPkg
71  SUPPORTED_ARCHITECTURES = IA32|X64
72  BUILD_TARGETS = DEBUG|RELEASE
73  SKUID_IDENTIFIER = DEFAULT
74
75  DEFINE   PLATFORM_SI_PACKAGE        = CoffeelakeSiliconPkg
76
77  #
78  # Definition for Build Flag
79  #
80  !include $(PLATFORM_SI_PACKAGE)/SiPkgBuildOption.dsc
81
82[LibraryClasses.common]
83  #
84  # Entry point
85  #
86  PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
87  PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
88  DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
89  UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
90  UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
91  PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
92
93  #
94  # Basic
95  #
96  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
97  BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
98  PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
99  CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
100  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
101  PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
102  PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
103  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
104  PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
105  CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
106  PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
107  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
108  #
109  # UEFI & PI
110  #
111  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
112  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
113  UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
114  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
115  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
116  PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
117  PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
118  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
119  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
120
121  S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
122  S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
123  S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
124
125  UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
126  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
127  SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
128
129  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
130  SmiHandlerProfileLib|Edk2/MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf
131
132  #
133  # Misc
134  #
135  DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
136  PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
137  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
138  TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
139  PostCodeLib|MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf
140  ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
141  MtrrLib|ClientSiliconPkg/Override/UefiCpuPkg/Library/MtrrLib/MtrrLib.inf  # CSPO-0012: RoyalParkOverrideContent
142  RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
143
144#####################################################################################################
145
146#
147# Silicon Init Common Library
148#
149!include $(PLATFORM_SI_PACKAGE)/SiPkgCommonLib.dsc
150ConfigBlockLib|IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLib.inf
151PchTraceHubInitLib|ClientSiliconPkg/Library/BasePchTraceHubInitLib/BasePchTraceHubInitLib.inf
152
153[LibraryClasses.IA32]
154#
155# PEI phase common
156#
157  PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
158  HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
159  MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
160  ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
161
162#####################################################################################################################################
163
164#
165# Silicon Init Pei Library
166#
167!include $(PLATFORM_SI_PACKAGE)/SiPkgPeiLib.dsc
168
169[LibraryClasses.IA32.SEC]
170
171[LibraryClasses.X64]
172 #
173 # DXE phase common
174 #
175  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
176  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
177  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
178  ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
179
180#
181# Hsti
182#
183  HstiLib|MdePkg/Library/DxeHstiLib/DxeHstiLib.inf
184
185###################################################################################################
186#
187# Silicon Init Dxe Library
188#
189!include $(PLATFORM_SI_PACKAGE)/SiPkgDxeLib.dsc
190
191[LibraryClasses.X64.PEIM]
192
193[LibraryClasses.X64.DXE_CORE]
194  HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
195  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
196
197[LibraryClasses.X64.DXE_SMM_DRIVER]
198  SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
199  MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
200  SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
201
202[LibraryClasses.X64.SMM_CORE]
203
204[LibraryClasses.X64.UEFI_DRIVER]
205  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
206
207[LibraryClasses.X64.UEFI_APPLICATION]
208  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
209
210[Components.IA32]
211!include $(PLATFORM_SI_PACKAGE)/SiPkgPei.dsc
212
213[Components.X64]
214!include $(PLATFORM_SI_PACKAGE)/SiPkgDxe.dsc
215
216