OpenBoardPkg.dsc 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  1. ## @file
  2. # The main build description file for the KabylakeRvp3 board.
  3. #
  4. # Copyright (c) 2017 - 2022, 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. HdmiDebugGpioInitLib|$(PLATFORM_BOARD_PACKAGE)/Library/HdmiDebugGpioInitLib/HdmiDebugGpioInitLib.inf
  154. HdmiDebugPchDetectionLib|$(PLATFORM_BOARD_PACKAGE)/Library/HdmiDebugPchDetectionLib/HdmiDebugPchDetectionLib.inf
  155. # Thunderbolt
  156. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  157. DxeTbtPolicyLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/DxeTbtPolicyLib/DxeTbtPolicyLib.inf
  158. TbtCommonLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/PeiDxeSmmTbtCommonLib/TbtCommonLib.inf
  159. !endif
  160. #######################################
  161. # Board-specific
  162. #######################################
  163. PlatformHookLib|$(PROJECT)/Library/BasePlatformHookLib/BasePlatformHookLib.inf
  164. [LibraryClasses.IA32.SEC]
  165. #######################################
  166. # Platform Package
  167. #######################################
  168. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SecTestPointCheckLib.inf
  169. SiliconPolicyUpdateLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/SiliconPolicyUpdateLibNull/SiliconPolicyUpdateLibNull.inf
  170. #######################################
  171. # Board-specific
  172. #######################################
  173. SecBoardInitLib|$(PLATFORM_BOARD_PACKAGE)/Library/SecBoardInitLib/SecBoardInitLib.inf
  174. [LibraryClasses.common.PEIM]
  175. #######################################
  176. # Silicon Package
  177. #######################################
  178. ReportCpuHobLib|IntelSiliconPkg/Library/ReportCpuHobLib/ReportCpuHobLib.inf
  179. #######################################
  180. # Platform Package
  181. #######################################
  182. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/PeiMultiBoardInitSupportLib.inf
  183. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformLib.inf
  184. MultiBoardInitSupportLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/PeiMultiBoardInitSupportLib.inf
  185. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/PeiTestPointLib.inf
  186. !if $(TARGET) == DEBUG
  187. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/PeiTestPointCheckLib.inf
  188. !endif
  189. SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrrLibNull.inf
  190. #######################################
  191. # Board Package
  192. #######################################
  193. !if gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection == 1
  194. #
  195. # FSP API mode
  196. #
  197. SiliconPolicyUpdateLib|$(PROJECT)/FspWrapper/Library/PeiSiliconPolicyUpdateLibFsp/PeiSiliconPolicyUpdateLibFsp.inf
  198. !else
  199. #
  200. # FSP Dispatch mode and non-FSP build (EDK2 build)
  201. #
  202. SiliconPolicyUpdateLib|$(PROJECT)/Policy/Library/PeiSiliconPolicyUpdateLib/PeiSiliconPolicyUpdateLib.inf
  203. !endif
  204. # Thunderbolt
  205. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  206. PeiDTbtInitLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/Private/PeiDTbtInitLib/PeiDTbtInitLib.inf
  207. PeiTbtPolicyLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/PeiTbtPolicyLib/PeiTbtPolicyLib.inf
  208. !endif
  209. [LibraryClasses.common.DXE_DRIVER]
  210. #######################################
  211. # Silicon Initialization Package
  212. #######################################
  213. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/DxeSiliconPolicyInitLib/DxeSiliconPolicyInitLib.inf
  214. #######################################
  215. # Platform Package
  216. #######################################
  217. BoardAcpiTableLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/DxeMultiBoardAcpiSupportLib.inf
  218. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/DxeMultiBoardInitSupportLib.inf
  219. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/DxeFspWrapperPlatformLib/DxeFspWrapperPlatformLib.inf
  220. MultiBoardAcpiSupportLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/DxeMultiBoardAcpiSupportLib.inf
  221. MultiBoardInitSupportLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/DxeMultiBoardInitSupportLib.inf
  222. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/DxeTestPointLib.inf
  223. !if $(TARGET) == DEBUG
  224. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/DxeTestPointCheckLib.inf
  225. !endif
  226. #######################################
  227. # Board Package
  228. #######################################
  229. BoardBdsHookLib|BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.inf
  230. BoardBootManagerLib|BoardModulePkg/Library/BoardBootManagerLib/BoardBootManagerLib.inf
  231. #######################################
  232. # Board-specific
  233. #######################################
  234. SiliconPolicyUpdateLib|$(PROJECT)/Policy/Library/DxeSiliconPolicyUpdateLib/DxeSiliconPolicyUpdateLib.inf
  235. [LibraryClasses.X64.DXE_RUNTIME_DRIVER]
  236. #######################################
  237. # Silicon Initialization Package
  238. #######################################
  239. ResetSystemLib|$(PLATFORM_SI_PACKAGE)/Pch/Library/DxeRuntimeResetSystemLib/DxeRuntimeResetSystemLib.inf
  240. [LibraryClasses.X64.DXE_SMM_DRIVER]
  241. #######################################
  242. # Silicon Initialization Package
  243. #######################################
  244. SpiFlashCommonLib|IntelSiliconPkg/Library/SmmSpiFlashCommonLib/SmmSpiFlashCommonLib.inf
  245. #######################################
  246. # Platform Package
  247. #######################################
  248. BoardAcpiEnableLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/SmmMultiBoardAcpiSupportLib.inf
  249. MultiBoardAcpiSupportLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/SmmMultiBoardAcpiSupportLib.inf
  250. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/SmmTestPointLib.inf
  251. !if $(TARGET) == DEBUG
  252. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SmmTestPointCheckLib.inf
  253. !endif
  254. #######################################
  255. # PEI Components
  256. #######################################
  257. # @todo: Change below line to [Components.$(PEI_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  258. # is completed
  259. [Components.IA32]
  260. #######################################
  261. # Edk2 Packages
  262. #######################################
  263. UefiCpuPkg/SecCore/SecCore.inf {
  264. <LibraryClasses>
  265. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  266. }
  267. !if gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection == 1
  268. #
  269. # In FSP API mode the policy has to be installed before FSP Wrapper updating UPD.
  270. # Add policy as dependency for FSP Wrapper
  271. #
  272. IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf {
  273. <LibraryClasses>
  274. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLibDependency/PeiPreMemSiliconPolicyInitLibDependency.inf
  275. }
  276. IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf {
  277. <LibraryClasses>
  278. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLibDependency/PeiPostMemSiliconPolicyInitLibDependency.inf
  279. }
  280. !else
  281. #
  282. # In FSP Dispatch mode the policy will be installed after FSP-M dispatched (only PrePolicy silicon-init executed).
  283. # Do not add policy dependency and let FspmWrapper report FSP-M FV to dispatcher.
  284. #
  285. IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf {
  286. <LibraryClasses>
  287. SiliconPolicyInitLib|MinPlatformPkg/PlatformInit/Library/SiliconPolicyInitLibNull/SiliconPolicyInitLibNull.inf
  288. }
  289. #
  290. # In FSP Dispatch mode the policy will be installed after FSP-S dispatched (only PrePolicy silicon-init executed).
  291. # Do not add policy dependency and let FspsWrapper report FSP-S FV to dispatcher.
  292. #
  293. IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf {
  294. <LibraryClasses>
  295. SiliconPolicyInitLib|MinPlatformPkg/PlatformInit/Library/SiliconPolicyInitLibNull/SiliconPolicyInitLibNull.inf
  296. }
  297. !endif
  298. #######################################
  299. # Silicon Initialization Package
  300. #######################################
  301. IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.inf
  302. IntelSiliconPkg/Feature/VTd/PlatformVTdInfoSamplePei/PlatformVTdInfoSamplePei.inf
  303. #######################################
  304. # Platform Package
  305. #######################################
  306. $(PLATFORM_PACKAGE)/PlatformInit/ReportFv/ReportFvPei.inf
  307. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf {
  308. <LibraryClasses>
  309. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  310. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPreMemLib.inf
  311. !else
  312. NULL|$(PROJECT)/Library/BoardInitLib/PeiMultiBoardInitPreMemLib.inf
  313. !endif
  314. }
  315. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf {
  316. <LibraryClasses>
  317. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  318. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPostMemLib.inf
  319. !else
  320. NULL|$(PROJECT)/Library/BoardInitLib/PeiMultiBoardInitPostMemLib.inf
  321. !endif
  322. }
  323. !if gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection == 1
  324. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPreMem.inf {
  325. <LibraryClasses>
  326. #
  327. # Hook a library constructor to update some policy fields when policy is installed.
  328. #
  329. NULL|$(PLATFORM_BOARD_PACKAGE)/FspWrapper/Library/PeiSiliconPolicyNotifyLib/PeiPreMemSiliconPolicyNotifyLib.inf
  330. }
  331. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPostMem.inf
  332. !else
  333. #
  334. # FSP Dispatch mode will consume DefaultPolicyInit PPI produced by FSP to install a default policy PPI.
  335. # Similar as UPD in FSP API mode, DefaultPolicyInit PPI in Dispatch mode can generate different policy structure
  336. # for different FSP revisions, but they must maintain backward compatibility.
  337. #
  338. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPreMem.inf {
  339. <LibraryClasses>
  340. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLib/PeiPreMemSiliconPolicyInitLib.inf
  341. }
  342. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPostMem.inf {
  343. <LibraryClasses>
  344. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLib/PeiPostMemSiliconPolicyInitLib.inf
  345. }
  346. !endif
  347. !if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable == TRUE
  348. $(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf
  349. !endif
  350. #######################################
  351. # Board Package
  352. #######################################
  353. # Thunderbolt
  354. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  355. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Pei/PeiTbtInit.inf
  356. !endif
  357. $(PLATFORM_BOARD_PACKAGE)/BiosInfo/BiosInfo.inf
  358. $(PLATFORM_BOARD_PACKAGE)/Library/PeiSerialPortLibSpiFlash/PeiSerialPortLibSpiFlash.inf
  359. #######################################
  360. # DXE Components
  361. #######################################
  362. # @todo: Change below line to [Components.$(DXE_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  363. # is completed
  364. [Components.X64]
  365. #######################################
  366. # Edk2 Packages
  367. #######################################
  368. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  369. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  370. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
  371. MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
  372. MdeModulePkg/Universal/Console/GraphicsOutputDxe/GraphicsOutputDxe.inf
  373. MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
  374. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf{
  375. <LibraryClasses>
  376. NULL|BoardModulePkg/Library/BdsPs2KbcLib/BdsPs2KbcLib.inf
  377. }
  378. UefiCpuPkg/CpuDxe/CpuDxe.inf
  379. !if gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection == 1
  380. #
  381. # FSP API mode
  382. #
  383. IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf
  384. !endif
  385. ShellPkg/Application/Shell/Shell.inf {
  386. <PcdsFixedAtBuild>
  387. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  388. <LibraryClasses>
  389. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  390. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  391. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  392. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  393. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  394. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  395. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  396. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  397. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  398. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  399. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  400. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  401. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  402. }
  403. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  404. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
  405. <PcdsPatchableInModule>
  406. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
  407. <LibraryClasses>
  408. !if $(TARGET) == DEBUG
  409. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  410. !endif
  411. }
  412. !endif
  413. #######################################
  414. # Silicon Initialization Package
  415. #######################################
  416. IntelSiliconPkg/Feature/VTd/IntelVTdDxe/IntelVTdDxe.inf
  417. $(PLATFORM_SI_BIN_PACKAGE)/Microcode/MicrocodeUpdates.inf
  418. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  419. IntelSiliconPkg/Feature/Flash/SpiFvbService/SpiFvbServiceSmm.inf
  420. !endif
  421. #######################################
  422. # Platform Package
  423. #######################################
  424. $(PLATFORM_PACKAGE)/FspWrapper/SaveMemoryConfig/SaveMemoryConfig.inf
  425. $(PLATFORM_PACKAGE)/Hsti/HstiIbvPlatformDxe/HstiIbvPlatformDxe.inf
  426. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitDxe/PlatformInitDxe.inf
  427. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyDxe/SiliconPolicyDxe.inf
  428. $(PLATFORM_PACKAGE)/Test/TestPointDumpApp/TestPointDumpApp.inf
  429. $(PLATFORM_PACKAGE)/Test/TestPointStubDxe/TestPointStubDxe.inf
  430. !if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable == TRUE
  431. $(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf
  432. !endif
  433. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  434. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitSmm/PlatformInitSmm.inf
  435. $(PLATFORM_PACKAGE)/Acpi/AcpiSmm/AcpiSmm.inf {
  436. <LibraryClasses>
  437. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  438. BoardAcpiEnableLib|$(PROJECT)/Library/BoardAcpiLib/SmmBoardAcpiEnableLib.inf
  439. !else
  440. NULL|$(PROJECT)/Library/BoardAcpiLib/SmmMultiBoardAcpiSupportLib.inf
  441. !endif
  442. }
  443. $(PLATFORM_PACKAGE)/Acpi/AcpiTables/AcpiPlatform.inf {
  444. <LibraryClasses>
  445. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  446. BoardAcpiTableLib|$(PROJECT)/Library/BoardAcpiLib/DxeBoardAcpiTableLib.inf
  447. !else
  448. NULL|$(PROJECT)/Library/BoardAcpiLib/DxeMultiBoardAcpiSupportLib.inf
  449. !endif
  450. }
  451. !endif
  452. #######################################
  453. # Board Package
  454. #######################################
  455. # Thunderbolt
  456. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  457. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Smm/TbtSmm.inf
  458. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Dxe/TbtDxe.inf
  459. $(PLATFORM_BOARD_PACKAGE)/Features/PciHotPlug/PciHotPlug.inf
  460. !endif
  461. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  462. $(PLATFORM_BOARD_PACKAGE)/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf {
  463. <LibraryClasses>
  464. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  465. BoardAcpiTableLib|$(PROJECT)/Library/BoardAcpiLib/DxeBoardAcpiTableLib.inf
  466. !else
  467. NULL|$(PROJECT)/Library/BoardAcpiLib/DxeMultiBoardAcpiSupportLib.inf
  468. !endif
  469. }
  470. !endif
  471. BoardModulePkg/LegacySioDxe/LegacySioDxe.inf
  472. BoardModulePkg/BoardBdsHookDxe/BoardBdsHookDxe.inf