OpenBoardPkg.dsc 23 KB

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