OpenBoardPkg.dsc 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. ## @file
  2. # The main build description file for the KabylakeRvp3 board.
  3. #
  4. # Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR>
  5. #
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. ##
  9. [Defines]
  10. DEFINE PLATFORM_PACKAGE = MinPlatformPkg
  11. DEFINE PLATFORM_SI_PACKAGE = KabylakeSiliconPkg
  12. DEFINE PLATFORM_SI_BIN_PACKAGE = KabylakeSiliconBinPkg
  13. DEFINE PLATFORM_BOARD_PACKAGE = KabylakeOpenBoardPkg
  14. DEFINE BOARD = KabylakeRvp3
  15. DEFINE PROJECT = $(PLATFORM_BOARD_PACKAGE)/$(BOARD)
  16. DEFINE PEI_ARCH = IA32
  17. DEFINE DXE_ARCH = X64
  18. DEFINE TOP_MEMORY_ADDRESS = 0x0
  19. #
  20. # Default value for OpenBoardPkg.fdf use
  21. #
  22. DEFINE BIOS_SIZE_OPTION = SIZE_70
  23. PLATFORM_NAME = $(PLATFORM_PACKAGE)
  24. PLATFORM_GUID = 8470676C-18E8-467F-B126-28DB1941AA5A
  25. PLATFORM_VERSION = 0.1
  26. DSC_SPECIFICATION = 0x00010005
  27. OUTPUT_DIRECTORY = Build/$(PROJECT)
  28. SUPPORTED_ARCHITECTURES = IA32|X64
  29. BUILD_TARGETS = DEBUG|RELEASE
  30. SKUID_IDENTIFIER = ALL
  31. FLASH_DEFINITION = $(PROJECT)/OpenBoardPkg.fdf
  32. FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0
  33. #
  34. # Include PCD configuration for this board.
  35. #
  36. !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc
  37. !include OpenBoardPkgPcd.dsc
  38. !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc
  39. [Defines]
  40. !if gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection == 1
  41. #
  42. # For backward compatibility API mode will use KabylakeFspBinPkg.
  43. # KabylakeFspBinPkg only supports API mode.
  44. #
  45. DEFINE PLATFORM_FSP_BIN_PACKAGE = KabylakeFspBinPkg
  46. !else
  47. #
  48. # AmberLakeFspBinPkg supports both API and Dispatch modes
  49. #
  50. DEFINE PLATFORM_FSP_BIN_PACKAGE = AmberLakeFspBinPkg
  51. !endif
  52. [PcdsDynamicExDefault.common.DEFAULT]
  53. !if gMinPlatformPkgTokenSpaceGuid.PcdFspWrapperBootMode == TRUE
  54. !if gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection == 0
  55. #
  56. # Include FSP DynamicEx PCD settings in Dispatch mode
  57. #
  58. !include $(PLATFORM_FSP_BIN_PACKAGE)/FspPcds.dsc
  59. #
  60. # Override some FSP consumed PCD default value to match platform requirement.
  61. #
  62. gSiPkgTokenSpaceGuid.PcdSiPciExpressBaseAddress |gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
  63. gSiPkgTokenSpaceGuid.PcdSiPciExpressRegionLength|gMinPlatformPkgTokenSpaceGuid.PcdPciExpressRegionLength
  64. !endif
  65. !endif
  66. ################################################################################
  67. #
  68. # SKU Identification section - list of all SKU IDs supported by this board.
  69. #
  70. ################################################################################
  71. [SkuIds]
  72. 0x00|DEFAULT # 0|DEFAULT is reserved and always required.
  73. 0x04|KabylakeRvp3
  74. 0x60|KabyLakeYLpddr3Rvp3
  75. ################################################################################
  76. #
  77. # Includes section - other DSC file contents included for this board build.
  78. #
  79. ################################################################################
  80. #######################################
  81. # Library Includes
  82. #######################################
  83. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreCommonLib.dsc
  84. !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiLib.dsc
  85. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeLib.dsc
  86. !include $(PLATFORM_SI_PACKAGE)/SiPkgCommonLib.dsc
  87. !include $(PLATFORM_SI_PACKAGE)/SiPkgPeiLib.dsc
  88. !include $(PLATFORM_SI_PACKAGE)/SiPkgDxeLib.dsc
  89. #######################################
  90. # Component Includes
  91. #######################################
  92. # @todo: Change below line to [Components.$(PEI_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  93. # is completed
  94. [Components.IA32]
  95. !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiInclude.dsc
  96. !include $(PLATFORM_SI_PACKAGE)/SiPkgPei.dsc
  97. # @todo: Change below line to [Components.$(DXE_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  98. # is completed
  99. [Components.X64]
  100. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeInclude.dsc
  101. !include $(PLATFORM_SI_PACKAGE)/SiPkgDxe.dsc
  102. #######################################
  103. # Build Option Includes
  104. #######################################
  105. !include $(PLATFORM_SI_PACKAGE)/SiPkgBuildOption.dsc
  106. !include OpenBoardPkgBuildOption.dsc
  107. ################################################################################
  108. #
  109. # Library Class section - list of all Library Classes needed by this board.
  110. #
  111. ################################################################################
  112. [LibraryClasses.common]
  113. #######################################
  114. # Edk2 Packages
  115. #######################################
  116. FspWrapperApiLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf
  117. FspWrapperApiTestLib|IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/PeiFspWrapperApiTestLib.inf
  118. #######################################
  119. # Silicon Initialization Package
  120. #######################################
  121. ConfigBlockLib|IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLib.inf
  122. SiliconInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconInitLib/PeiSiliconInitLib.inf
  123. !if gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection == 1
  124. #
  125. # FSP API mode
  126. #
  127. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLibFsp/PeiSiliconPolicyInitLibFsp.inf
  128. !else
  129. #
  130. # FSP Dispatch mode and non-FSP build (EDK2 build)
  131. #
  132. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLibFsp/PeiSiliconPolicyInitLibFspAml.inf
  133. !endif
  134. #####################################
  135. # Platform Package
  136. #####################################
  137. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/BoardInitLibNull/BoardInitLibNull.inf
  138. FspWrapperHobProcessLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperHobProcessLib/PeiFspWrapperHobProcessLib.inf
  139. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformLib.inf
  140. PciHostBridgeLib|$(PLATFORM_PACKAGE)/Pci/Library/PciHostBridgeLibSimple/PciHostBridgeLibSimple.inf
  141. PciSegmentInfoLib|$(PLATFORM_PACKAGE)/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.inf
  142. PeiLib|$(PLATFORM_PACKAGE)/Library/PeiLib/PeiLib.inf
  143. PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
  144. ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiReportFvLib.inf
  145. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
  146. #######################################
  147. # Board Package
  148. #######################################
  149. EcLib|$(PLATFORM_BOARD_PACKAGE)/Library/BaseEcLib/BaseEcLib.inf
  150. GpioExpanderLib|$(PLATFORM_BOARD_PACKAGE)/Library/BaseGpioExpanderLib/BaseGpioExpanderLib.inf
  151. I2cAccessLib|$(PLATFORM_BOARD_PACKAGE)/Library/PeiI2cAccessLib/PeiI2cAccessLib.inf
  152. PlatformSecLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecFspWrapperPlatformSecLib.inf
  153. HdmiDebugPchDetectionLib|$(PLATFORM_BOARD_PACKAGE)/Library/HdmiDebugPchDetectionLib/HdmiDebugPchDetectionLib.inf
  154. # Thunderbolt
  155. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  156. DxeTbtPolicyLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/DxeTbtPolicyLib/DxeTbtPolicyLib.inf
  157. TbtCommonLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/PeiDxeSmmTbtCommonLib/TbtCommonLib.inf
  158. !endif
  159. #######################################
  160. # Board-specific
  161. #######################################
  162. PlatformHookLib|$(PROJECT)/Library/BasePlatformHookLib/BasePlatformHookLib.inf
  163. [LibraryClasses.IA32.SEC]
  164. #######################################
  165. # Platform Package
  166. #######################################
  167. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SecTestPointCheckLib.inf
  168. SecBoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/SecBoardInitLibNull/SecBoardInitLibNull.inf
  169. SiliconPolicyUpdateLib|MinPlatformPkg/PlatformInit/Library/SiliconPolicyUpdateLibNull/SiliconPolicyUpdateLibNull.inf
  170. [LibraryClasses.common.PEIM]
  171. #######################################
  172. # Silicon Package
  173. #######################################
  174. ReportCpuHobLib|IntelSiliconPkg/Library/ReportCpuHobLib/ReportCpuHobLib.inf
  175. #######################################
  176. # Platform Package
  177. #######################################
  178. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/PeiMultiBoardInitSupportLib.inf
  179. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformLib.inf
  180. MultiBoardInitSupportLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/PeiMultiBoardInitSupportLib.inf
  181. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/PeiTestPointLib.inf
  182. !if $(TARGET) == DEBUG
  183. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/PeiTestPointCheckLib.inf
  184. !endif
  185. SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrrLibNull.inf
  186. #######################################
  187. # Board Package
  188. #######################################
  189. !if gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection == 1
  190. #
  191. # FSP API mode
  192. #
  193. SiliconPolicyUpdateLib|$(PROJECT)/FspWrapper/Library/PeiSiliconPolicyUpdateLibFsp/PeiSiliconPolicyUpdateLibFsp.inf
  194. !else
  195. #
  196. # FSP Dispatch mode and non-FSP build (EDK2 build)
  197. #
  198. SiliconPolicyUpdateLib|$(PROJECT)/Policy/Library/PeiSiliconPolicyUpdateLib/PeiSiliconPolicyUpdateLib.inf
  199. !endif
  200. # Thunderbolt
  201. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  202. PeiDTbtInitLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/Private/PeiDTbtInitLib/PeiDTbtInitLib.inf
  203. PeiTbtPolicyLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/PeiTbtPolicyLib/PeiTbtPolicyLib.inf
  204. !endif
  205. [LibraryClasses.common.DXE_DRIVER]
  206. #######################################
  207. # Silicon Initialization Package
  208. #######################################
  209. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/DxeSiliconPolicyInitLib/DxeSiliconPolicyInitLib.inf
  210. #######################################
  211. # Platform Package
  212. #######################################
  213. BoardAcpiTableLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/DxeMultiBoardAcpiSupportLib.inf
  214. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/DxeMultiBoardInitSupportLib.inf
  215. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/DxeFspWrapperPlatformLib/DxeFspWrapperPlatformLib.inf
  216. MultiBoardAcpiSupportLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/DxeMultiBoardAcpiSupportLib.inf
  217. MultiBoardInitSupportLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/DxeMultiBoardInitSupportLib.inf
  218. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/DxeTestPointLib.inf
  219. !if $(TARGET) == DEBUG
  220. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/DxeTestPointCheckLib.inf
  221. !endif
  222. #######################################
  223. # Board Package
  224. #######################################
  225. BoardBdsHookLib|BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.inf
  226. BoardBootManagerLib|BoardModulePkg/Library/BoardBootManagerLib/BoardBootManagerLib.inf
  227. #######################################
  228. # Board-specific
  229. #######################################
  230. SiliconPolicyUpdateLib|$(PROJECT)/Policy/Library/DxeSiliconPolicyUpdateLib/DxeSiliconPolicyUpdateLib.inf
  231. [LibraryClasses.X64.DXE_RUNTIME_DRIVER]
  232. #######################################
  233. # Silicon Initialization Package
  234. #######################################
  235. ResetSystemLib|$(PLATFORM_SI_PACKAGE)/Pch/Library/DxeRuntimeResetSystemLib/DxeRuntimeResetSystemLib.inf
  236. [LibraryClasses.X64.DXE_SMM_DRIVER]
  237. #######################################
  238. # Silicon Initialization Package
  239. #######################################
  240. SpiFlashCommonLib|IntelSiliconPkg/Library/SmmSpiFlashCommonLib/SmmSpiFlashCommonLib.inf
  241. #######################################
  242. # Platform Package
  243. #######################################
  244. BoardAcpiEnableLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/SmmMultiBoardAcpiSupportLib.inf
  245. MultiBoardAcpiSupportLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/SmmMultiBoardAcpiSupportLib.inf
  246. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/SmmTestPointLib.inf
  247. !if $(TARGET) == DEBUG
  248. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SmmTestPointCheckLib.inf
  249. !endif
  250. #######################################
  251. # PEI Components
  252. #######################################
  253. # @todo: Change below line to [Components.$(PEI_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  254. # is completed
  255. [Components.IA32]
  256. #######################################
  257. # Edk2 Packages
  258. #######################################
  259. UefiCpuPkg/SecCore/SecCore.inf {
  260. <LibraryClasses>
  261. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  262. }
  263. !if gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection == 1
  264. #
  265. # In FSP API mode the policy has to be installed before FSP Wrapper updating UPD.
  266. # Add policy as dependency for FSP Wrapper
  267. #
  268. IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf {
  269. <LibraryClasses>
  270. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLibDependency/PeiPreMemSiliconPolicyInitLibDependency.inf
  271. }
  272. IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf {
  273. <LibraryClasses>
  274. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLibDependency/PeiPostMemSiliconPolicyInitLibDependency.inf
  275. }
  276. !else
  277. #
  278. # In FSP Dispatch mode the policy will be installed after FSP-M dispatched (only PrePolicy silicon-init executed).
  279. # Do not add policy dependency and let FspmWrapper report FSP-M FV to dispatcher.
  280. #
  281. IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf {
  282. <LibraryClasses>
  283. SiliconPolicyInitLib|MinPlatformPkg/PlatformInit/Library/SiliconPolicyInitLibNull/SiliconPolicyInitLibNull.inf
  284. }
  285. #
  286. # In FSP Dispatch mode the policy will be installed after FSP-S dispatched (only PrePolicy silicon-init executed).
  287. # Do not add policy dependency and let FspsWrapper report FSP-S FV to dispatcher.
  288. #
  289. IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf {
  290. <LibraryClasses>
  291. SiliconPolicyInitLib|MinPlatformPkg/PlatformInit/Library/SiliconPolicyInitLibNull/SiliconPolicyInitLibNull.inf
  292. }
  293. !endif
  294. #######################################
  295. # Silicon Initialization Package
  296. #######################################
  297. IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.inf
  298. IntelSiliconPkg/Feature/VTd/PlatformVTdInfoSamplePei/PlatformVTdInfoSamplePei.inf
  299. #######################################
  300. # Platform Package
  301. #######################################
  302. $(PLATFORM_PACKAGE)/PlatformInit/ReportFv/ReportFvPei.inf
  303. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf {
  304. <LibraryClasses>
  305. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  306. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPreMemLib.inf
  307. !else
  308. NULL|$(PROJECT)/Library/BoardInitLib/PeiMultiBoardInitPreMemLib.inf
  309. !endif
  310. }
  311. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf {
  312. <LibraryClasses>
  313. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  314. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPostMemLib.inf
  315. !else
  316. NULL|$(PROJECT)/Library/BoardInitLib/PeiMultiBoardInitPostMemLib.inf
  317. !endif
  318. }
  319. !if gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection == 1
  320. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPreMem.inf {
  321. <LibraryClasses>
  322. #
  323. # Hook a library constructor to update some policy fields when policy is installed.
  324. #
  325. NULL|$(PLATFORM_BOARD_PACKAGE)/FspWrapper/Library/PeiSiliconPolicyNotifyLib/PeiPreMemSiliconPolicyNotifyLib.inf
  326. }
  327. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPostMem.inf
  328. !else
  329. #
  330. # FSP Dispatch mode will consume DefaultPolicyInit PPI produced by FSP to install a default policy PPI.
  331. # Similar as UPD in FSP API mode, DefaultPolicyInit PPI in Dispatch mode can generate different policy structure
  332. # for different FSP revisions, but they must maintain backward compatibility.
  333. #
  334. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPreMem.inf {
  335. <LibraryClasses>
  336. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLib/PeiPreMemSiliconPolicyInitLib.inf
  337. }
  338. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPostMem.inf {
  339. <LibraryClasses>
  340. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLib/PeiPostMemSiliconPolicyInitLib.inf
  341. }
  342. !endif
  343. !if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable == TRUE
  344. $(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf
  345. !endif
  346. #######################################
  347. # Board Package
  348. #######################################
  349. # Thunderbolt
  350. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  351. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Pei/PeiTbtInit.inf
  352. !endif
  353. $(PLATFORM_BOARD_PACKAGE)/BiosInfo/BiosInfo.inf
  354. $(PLATFORM_BOARD_PACKAGE)/Library/PeiSerialPortLibSpiFlash/PeiSerialPortLibSpiFlash.inf
  355. #######################################
  356. # DXE Components
  357. #######################################
  358. # @todo: Change below line to [Components.$(DXE_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  359. # is completed
  360. [Components.X64]
  361. #######################################
  362. # Edk2 Packages
  363. #######################################
  364. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  365. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  366. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
  367. MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
  368. MdeModulePkg/Universal/Console/GraphicsOutputDxe/GraphicsOutputDxe.inf
  369. MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
  370. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf{
  371. <LibraryClasses>
  372. NULL|BoardModulePkg/Library/BdsPs2KbcLib/BdsPs2KbcLib.inf
  373. }
  374. UefiCpuPkg/CpuDxe/CpuDxe.inf
  375. !if gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection == 1
  376. #
  377. # FSP API mode
  378. #
  379. IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf
  380. !endif
  381. ShellPkg/Application/Shell/Shell.inf {
  382. <PcdsFixedAtBuild>
  383. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  384. <LibraryClasses>
  385. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  386. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  387. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  388. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  389. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  390. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  391. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  392. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  393. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  394. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  395. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  396. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  397. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  398. }
  399. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  400. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
  401. <PcdsPatchableInModule>
  402. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
  403. <LibraryClasses>
  404. !if $(TARGET) == DEBUG
  405. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  406. !endif
  407. }
  408. !endif
  409. #######################################
  410. # Silicon Initialization Package
  411. #######################################
  412. IntelSiliconPkg/Feature/VTd/IntelVTdDxe/IntelVTdDxe.inf
  413. $(PLATFORM_SI_BIN_PACKAGE)/Microcode/MicrocodeUpdates.inf
  414. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  415. IntelSiliconPkg/Feature/Flash/SpiFvbService/SpiFvbServiceSmm.inf
  416. !endif
  417. #######################################
  418. # Platform Package
  419. #######################################
  420. $(PLATFORM_PACKAGE)/FspWrapper/SaveMemoryConfig/SaveMemoryConfig.inf
  421. $(PLATFORM_PACKAGE)/Hsti/HstiIbvPlatformDxe/HstiIbvPlatformDxe.inf
  422. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitDxe/PlatformInitDxe.inf
  423. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyDxe/SiliconPolicyDxe.inf
  424. $(PLATFORM_PACKAGE)/Test/TestPointDumpApp/TestPointDumpApp.inf
  425. $(PLATFORM_PACKAGE)/Test/TestPointStubDxe/TestPointStubDxe.inf
  426. !if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable == TRUE
  427. $(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf
  428. !endif
  429. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  430. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitSmm/PlatformInitSmm.inf
  431. $(PLATFORM_PACKAGE)/Acpi/AcpiSmm/AcpiSmm.inf {
  432. <LibraryClasses>
  433. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  434. BoardAcpiEnableLib|$(PROJECT)/Library/BoardAcpiLib/SmmBoardAcpiEnableLib.inf
  435. !else
  436. NULL|$(PROJECT)/Library/BoardAcpiLib/SmmMultiBoardAcpiSupportLib.inf
  437. !endif
  438. }
  439. $(PLATFORM_PACKAGE)/Acpi/AcpiTables/AcpiPlatform.inf {
  440. <LibraryClasses>
  441. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  442. BoardAcpiTableLib|$(PROJECT)/Library/BoardAcpiLib/DxeBoardAcpiTableLib.inf
  443. !else
  444. NULL|$(PROJECT)/Library/BoardAcpiLib/DxeMultiBoardAcpiSupportLib.inf
  445. !endif
  446. }
  447. !endif
  448. #######################################
  449. # Board Package
  450. #######################################
  451. # Thunderbolt
  452. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  453. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Smm/TbtSmm.inf
  454. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Dxe/TbtDxe.inf
  455. $(PLATFORM_BOARD_PACKAGE)/Features/PciHotPlug/PciHotPlug.inf
  456. !endif
  457. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  458. $(PLATFORM_BOARD_PACKAGE)/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf {
  459. <LibraryClasses>
  460. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  461. BoardAcpiTableLib|$(PROJECT)/Library/BoardAcpiLib/DxeBoardAcpiTableLib.inf
  462. !else
  463. NULL|$(PROJECT)/Library/BoardAcpiLib/DxeMultiBoardAcpiSupportLib.inf
  464. !endif
  465. }
  466. !endif
  467. BoardModulePkg/LegacySioDxe/LegacySioDxe.inf
  468. BoardModulePkg/BoardBdsHookDxe/BoardBdsHookDxe.inf