KabylakeSiliconPkg.dsc 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. ## @file
  2. # Component description file for the SkyLake SiPkg DSC file.
  3. #
  4. # Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR>
  5. #
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. ##
  9. [PcdsFeatureFlag]
  10. gSiPkgTokenSpaceGuid.PcdTraceHubEnable |FALSE
  11. gSiPkgTokenSpaceGuid.PcdSmmVariableEnable |TRUE
  12. gSiPkgTokenSpaceGuid.PcdSerialGpioEnable |FALSE
  13. gSiPkgTokenSpaceGuid.PcdAtaEnable |FALSE
  14. gSiPkgTokenSpaceGuid.PcdSiCsmEnable |FALSE
  15. gSiPkgTokenSpaceGuid.PcdSgEnable |TRUE
  16. gSiPkgTokenSpaceGuid.PcdAcpiEnable |FALSE
  17. gSiPkgTokenSpaceGuid.PcdSourceDebugEnable |FALSE
  18. gSiPkgTokenSpaceGuid.PcdPpmEnable |TRUE
  19. gSiPkgTokenSpaceGuid.PcdTxtEnable |FALSE
  20. gSiPkgTokenSpaceGuid.PcdIntegratedTouchEnable |FALSE
  21. gSiPkgTokenSpaceGuid.PcdAmtEnable |FALSE
  22. gSiPkgTokenSpaceGuid.PcdPttEnable |FALSE
  23. gSiPkgTokenSpaceGuid.PcdJhiEnable |FALSE
  24. gSiPkgTokenSpaceGuid.PcdSoftwareGuardEnable |FALSE
  25. gSiPkgTokenSpaceGuid.PcdSmbiosEnable |TRUE
  26. gSiPkgTokenSpaceGuid.PcdS3Enable |TRUE
  27. gSiPkgTokenSpaceGuid.PcdOverclockEnable |FALSE
  28. gSiPkgTokenSpaceGuid.PcdCpuPowerOnConfigEnable |FALSE
  29. gSiPkgTokenSpaceGuid.PcdBdatEnable |TRUE
  30. gSiPkgTokenSpaceGuid.PcdSsaFlagEnable |FALSE
  31. gSiPkgTokenSpaceGuid.PcdEvLoaderEnable |FALSE
  32. gSiPkgTokenSpaceGuid.PcdIgdEnable |TRUE
  33. gSiPkgTokenSpaceGuid.PcdPegEnable |TRUE
  34. gSiPkgTokenSpaceGuid.PcdSaDmiEnable |TRUE
  35. gSiPkgTokenSpaceGuid.PcdSkycamEnable |TRUE
  36. gSiPkgTokenSpaceGuid.PcdGmmEnable |TRUE
  37. gSiPkgTokenSpaceGuid.PcdSaOcEnable |TRUE
  38. gSiPkgTokenSpaceGuid.PcdVtdEnable |TRUE
  39. gSiPkgTokenSpaceGuid.PcdBiosGuardEnable |TRUE #BiosGuardModule.bin
  40. gSiPkgTokenSpaceGuid.PcdOptimizeCompilerEnable |FALSE
  41. gSiPkgTokenSpaceGuid.PcdPeiDisplayEnable |TRUE
  42. gSiPkgTokenSpaceGuid.PcdOcWdtEnable |TRUE
  43. gSiPkgTokenSpaceGuid.PcdBootGuardEnable |TRUE
  44. gSiPkgTokenSpaceGuid.PcdMinTreeEnable |FALSE
  45. gSiPkgTokenSpaceGuid.PcdSiCatalogDebugEnable |FALSE
  46. [PcdsFixedAtBuild.common]
  47. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress |0xE0000000
  48. gSiPkgTokenSpaceGuid.PcdSiPciExpressRegionLength |0x10000000
  49. gIntelSiliconPkgTokenSpaceGuid.PcdAcpiBaseAddress |0x1800
  50. #
  51. # This DSC mainly for GreenH Silicon code build so PciExpressBaseAddress can be FixedAtBuild
  52. #
  53. gSiPkgTokenSpaceGuid.PcdSiPciExpressBaseAddress|gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
  54. [Defines]
  55. PLATFORM_NAME = KabylakeSiliconPkg
  56. PLATFORM_GUID = A45CA44C-AB04-4932-A77C-5A7179F66A22
  57. PLATFORM_VERSION = 0.4
  58. DSC_SPECIFICATION = 0x00010005
  59. OUTPUT_DIRECTORY = Build/KabylakeSiliconPkg
  60. SUPPORTED_ARCHITECTURES = IA32|X64
  61. BUILD_TARGETS = DEBUG|RELEASE
  62. SKUID_IDENTIFIER = DEFAULT
  63. DEFINE PLATFORM_SI_PACKAGE = KabylakeSiliconPkg
  64. #
  65. # Definition for Build Flag
  66. #
  67. !include $(PLATFORM_SI_PACKAGE)/SiPkgBuildOption.dsc
  68. !include MdePkg/MdeLibs.dsc.inc
  69. [LibraryClasses.common]
  70. #
  71. # Entry point
  72. #
  73. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  74. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  75. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  76. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  77. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  78. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  79. #
  80. # Basic
  81. #
  82. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  83. BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
  84. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  85. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  86. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  87. PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
  88. BasePciLibPciExpress|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
  89. PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
  90. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  91. CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  92. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  93. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  94. #
  95. # UEFI & PI
  96. #
  97. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  98. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  99. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  100. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  101. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  102. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  103. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  104. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  105. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  106. S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
  107. S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
  108. S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
  109. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  110. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  111. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  112. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  113. #
  114. # Misc
  115. #
  116. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  117. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  118. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  119. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  120. PostCodeLib|MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf
  121. ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
  122. MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  123. RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
  124. SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
  125. #####################################################################################################
  126. #
  127. # Silicon Init Common Library
  128. #
  129. !include $(PLATFORM_SI_PACKAGE)/SiPkgCommonLib.dsc
  130. [LibraryClasses.IA32]
  131. #
  132. # PEI phase common
  133. #
  134. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  135. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  136. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  137. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  138. #####################################################################################################################################
  139. #
  140. # Silicon Init Pei Library
  141. #
  142. !include $(PLATFORM_SI_PACKAGE)/SiPkgPeiLib.dsc
  143. [LibraryClasses.IA32.SEC]
  144. [LibraryClasses.X64]
  145. #
  146. # DXE phase common
  147. #
  148. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  149. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  150. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  151. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  152. Tpm2CommandLib|$(PLATFORM_SI_PACKAGE)/SampleCode/SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
  153. Tpm2DeviceLib|$(PLATFORM_SI_PACKAGE)/SampleCode/SecurityPkg/Library/Tpm2DeviceLibTrEE/Tpm2DeviceLibTrEE.inf
  154. ###################################################################################################
  155. #
  156. # Silicon Init Dxe Library
  157. #
  158. !include $(PLATFORM_SI_PACKAGE)/SiPkgDxeLib.dsc
  159. [LibraryClasses.X64.PEIM]
  160. [LibraryClasses.X64.DXE_CORE]
  161. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  162. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  163. [LibraryClasses.X64.DXE_SMM_DRIVER]
  164. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  165. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  166. [LibraryClasses.X64.SMM_CORE]
  167. [LibraryClasses.X64.UEFI_DRIVER]
  168. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  169. [LibraryClasses.X64.UEFI_APPLICATION]
  170. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  171. [Components.IA32]
  172. !include $(PLATFORM_SI_PACKAGE)/SiPkgPei.dsc
  173. [Components.X64]
  174. !include $(PLATFORM_SI_PACKAGE)/SiPkgDxe.dsc