TigerlakeSiliconPkg.dsc 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. ## @file
  2. # Component description file for the TigerLake silicon package DSC file.
  3. #
  4. # Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. ##
  8. [Packages]
  9. MdePkg/MdePkg.dec
  10. UefiCpuPkg/UefiCpuPkg.dec
  11. TigerlakeSiliconPkg/SiPkg.dec
  12. [PcdsFixedAtBuild]
  13. gSiPkgTokenSpaceGuid.PcdSmmVariableEnable |TRUE
  14. gSiPkgTokenSpaceGuid.PcdAtaEnable |FALSE
  15. gSiPkgTokenSpaceGuid.PcdAcpiEnable |TRUE
  16. gSiPkgTokenSpaceGuid.PcdSourceDebugEnable |FALSE
  17. gSiPkgTokenSpaceGuid.PcdPpmEnable |TRUE
  18. gSiPkgTokenSpaceGuid.PcdPttEnable |FALSE
  19. gSiPkgTokenSpaceGuid.PcdJhiEnable |FALSE
  20. gSiPkgTokenSpaceGuid.PcdSmbiosEnable |TRUE
  21. gSiPkgTokenSpaceGuid.PcdS3Enable |TRUE
  22. gSiPkgTokenSpaceGuid.PcdOverclockEnable |FALSE
  23. gSiPkgTokenSpaceGuid.PcdCpuPowerOnConfigEnable |FALSE
  24. gSiPkgTokenSpaceGuid.PcdBdatEnable |TRUE
  25. gSiPkgTokenSpaceGuid.PcdIgdEnable |TRUE
  26. gSiPkgTokenSpaceGuid.PcdPegEnable |TRUE
  27. gSiPkgTokenSpaceGuid.PcdSaDmiEnable |TRUE
  28. gSiPkgTokenSpaceGuid.PcdVtdEnable |TRUE
  29. gSiPkgTokenSpaceGuid.PcdBiosGuardEnable |FALSE #BiosGuardModule.bin
  30. gSiPkgTokenSpaceGuid.PcdOptimizeCompilerEnable |TRUE
  31. gSiPkgTokenSpaceGuid.PcdPeiDisplayEnable |TRUE
  32. gSiPkgTokenSpaceGuid.PcdSiCatalogDebugEnable |FALSE
  33. gSiPkgTokenSpaceGuid.PcdMrcTraceMessageSupported |TRUE
  34. gSiPkgTokenSpaceGuid.PcdOcWdtEnable |TRUE
  35. gSiPkgTokenSpaceGuid.PcdSerialIoUartEnable |TRUE
  36. gSiPkgTokenSpaceGuid.PcdThcEnable |TRUE
  37. gSiPkgTokenSpaceGuid.PcdPpamEnable |TRUE
  38. gSiPkgTokenSpaceGuid.PcdEmbeddedEnable |0x0
  39. gSiPkgTokenSpaceGuid.PcdCpuPcieEnable |TRUE
  40. gSiPkgTokenSpaceGuid.PcdHybridStorageSupport |TRUE
  41. !if gSiPkgTokenSpaceGuid.PcdPpamEnable == TRUE
  42. #
  43. # PCD for State Save Support on DGR
  44. # TRUE - SMM State Save region access is protected
  45. # FALSE - SMM can have Read/Write access to SMM State Save region
  46. #
  47. gSiPkgTokenSpaceGuid.PcdSpsStateSaveEnable |FALSE
  48. #
  49. # PCD to enable SPA Support on DGR
  50. # Note: This PCD is mainly used for Debugging purpose. Not recommended to set for End Product.
  51. #
  52. gSiPkgTokenSpaceGuid.PcdSpaEnable |FALSE
  53. !endif
  54. [PcdsFixedAtBuild.common]
  55. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress |0xC0000000
  56. gSiPkgTokenSpaceGuid.PcdSiPciExpressBaseAddress |gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
  57. gSiPkgTokenSpaceGuid.PcdTemporaryPciExpressRegionLength |0x10000000
  58. gIntelSiliconPkgTokenSpaceGuid.PcdAcpiBaseAddress |0x1800
  59. [PcdsDynamicDefault.common]
  60. gSiPkgTokenSpaceGuid.PcdPciExpressRegionLength |0x10000000
  61. ## Specifies the AP wait loop state during POST phase.
  62. # The value is defined as below.
  63. # 1: Place AP in the Hlt-Loop state.
  64. # 2: Place AP in the Mwait-Loop state.
  65. # 3: Place AP in the Run-Loop state.
  66. # @Prompt The AP wait loop state.
  67. gUefiCpuPkgTokenSpaceGuid.PcdCpuApLoopMode|2
  68. ## Specifies the AP target C-state for Mwait during POST phase.
  69. # The default value 0 means C1 state.
  70. # The value is defined as below.<BR><BR>
  71. # @Prompt The specified AP target C-state for Mwait.
  72. gUefiCpuPkgTokenSpaceGuid.PcdCpuApTargetCstate|0
  73. [Defines]
  74. PLATFORM_NAME = TigerlakeSiliconPkg
  75. PLATFORM_GUID = CCD38CA7-61D3-4185-9CDA-A9FDF209CB31
  76. PLATFORM_VERSION = 0.4
  77. DSC_SPECIFICATION = 0x00010005
  78. OUTPUT_DIRECTORY = Build/TigerlakeSiliconPkg
  79. SUPPORTED_ARCHITECTURES = IA32|X64
  80. BUILD_TARGETS = DEBUG|RELEASE
  81. SKUID_IDENTIFIER = DEFAULT
  82. DEFINE PLATFORM_SI_PACKAGE = TigerlakeSiliconPkg
  83. #
  84. # Definition for Build Flag
  85. #
  86. !include $(PLATFORM_SI_PACKAGE)/SiPkgBuildOption.dsc
  87. !include MdePkg/MdeLibs.dsc.inc
  88. [LibraryClasses.common]
  89. #
  90. # Entry point
  91. #
  92. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  93. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  94. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  95. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  96. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  97. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  98. #
  99. # Basic
  100. #
  101. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  102. BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
  103. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  104. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  105. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  106. PciSegmentLib|$(PLATFORM_SI_PACKAGE)/Library/BasePciSegmentMultiSegLibPci/BasePciSegmentMultiSegLibPci.inf
  107. PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
  108. PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
  109. CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  110. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  111. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  112. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  113. PostCodeLib|MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
  114. #
  115. # UEFI & PI
  116. #
  117. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  118. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  119. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  120. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  121. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  122. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  123. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  124. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  125. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  126. S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
  127. S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
  128. S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
  129. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  130. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  131. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  132. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  133. #
  134. # Misc
  135. #
  136. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  137. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  138. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  139. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  140. ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
  141. MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  142. RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
  143. #####################################################################################################
  144. #
  145. # Silicon Init Common Library
  146. #
  147. !include $(PLATFORM_SI_PACKAGE)/SiPkgCommonLib.dsc
  148. ConfigBlockLib|IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLib.inf
  149. [LibraryClasses.IA32]
  150. #
  151. # PEI phase common
  152. #
  153. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  154. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  155. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  156. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  157. PeiGetVtdPmrAlignmentLib|IntelSiliconPkg/Library/PeiGetVtdPmrAlignmentLib/PeiGetVtdPmrAlignmentLib.inf
  158. #####################################################################################################################################
  159. #
  160. # Silicon Init Pei Library
  161. #
  162. !include $(PLATFORM_SI_PACKAGE)/SiPkgPeiLib.dsc
  163. [LibraryClasses.IA32.SEC]
  164. GpioHelpersLib|$(PLATFORM_SI_PACKAGE)/IpBlock/Gpio/LibraryPrivate/BaseGpioHelpersLibNull/BaseGpioHelpersLibNull.inf
  165. [LibraryClasses.X64]
  166. #
  167. # DXE phase common
  168. #
  169. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  170. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  171. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  172. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  173. #
  174. # Hsti
  175. #
  176. HstiLib|MdePkg/Library/DxeHstiLib/DxeHstiLib.inf
  177. ###################################################################################################
  178. #
  179. # Silicon Init Dxe Library
  180. #
  181. !include $(PLATFORM_SI_PACKAGE)/SiPkgDxeLib.dsc
  182. [LibraryClasses.X64.PEIM]
  183. [LibraryClasses.X64.DXE_CORE]
  184. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  185. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  186. [LibraryClasses.X64.DXE_SMM_DRIVER]
  187. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  188. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  189. SmmIoLib|MdePkg/Library/SmmIoLib/SmmIoLib.inf
  190. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  191. [LibraryClasses.X64.SMM_CORE]
  192. [LibraryClasses.X64.UEFI_DRIVER]
  193. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  194. [LibraryClasses.X64.UEFI_APPLICATION]
  195. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  196. [Components.IA32]
  197. !include $(PLATFORM_SI_PACKAGE)/SiPkgPei.dsc
  198. [Components.X64]
  199. !include $(PLATFORM_SI_PACKAGE)/SiPkgDxe.dsc