OpenBoardPkg.dsc 21 KB

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