OpenBoardPkg.dsc 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  1. ## @file
  2. # The main build description file for the CometlakeURvp board.
  3. #
  4. # Copyright (c) 2020 - 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 = CoffeelakeSiliconPkg
  12. DEFINE PLATFORM_SI_BIN_PACKAGE = CometlakeSiliconBinPkg
  13. DEFINE PLATFORM_FSP_BIN_PACKAGE = CometLakeFspBinPkg/CometLake1
  14. DEFINE PLATFORM_BOARD_PACKAGE = CometlakeOpenBoardPkg
  15. DEFINE BOARD = CometlakeURvp
  16. DEFINE PROJECT = $(PLATFORM_BOARD_PACKAGE)/$(BOARD)
  17. DEFINE PEI_ARCH = IA32
  18. DEFINE DXE_ARCH = X64
  19. DEFINE TOP_MEMORY_ADDRESS = 0x0
  20. #
  21. # Default value for OpenBoardPkg.fdf use
  22. #
  23. DEFINE BIOS_SIZE_OPTION = SIZE_70
  24. PLATFORM_NAME = $(PLATFORM_PACKAGE)
  25. PLATFORM_GUID = 84D0F5BD-0EF3-4CC0-9B09-F2D0F2AA5C5E
  26. PLATFORM_VERSION = 0.1
  27. DSC_SPECIFICATION = 0x00010005
  28. OUTPUT_DIRECTORY = Build/$(PROJECT)
  29. SUPPORTED_ARCHITECTURES = IA32|X64
  30. BUILD_TARGETS = DEBUG|RELEASE
  31. SKUID_IDENTIFIER = ALL
  32. FLASH_DEFINITION = $(PROJECT)/OpenBoardPkg.fdf
  33. FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0
  34. #
  35. # Include PCD configuration for this board.
  36. #
  37. !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc
  38. !include OpenBoardPkgPcd.dsc
  39. !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc
  40. ################################################################################
  41. #
  42. # SKU Identification section - list of all SKU IDs supported by this board.
  43. #
  44. ################################################################################
  45. [SkuIds]
  46. 0|DEFAULT # 0|DEFAULT is reserved and always required.
  47. 0x1|CometlakeURvp
  48. ################################################################################
  49. #
  50. # Includes section - other DSC file contents included for this board build.
  51. #
  52. ################################################################################
  53. #######################################
  54. # Library Includes
  55. #######################################
  56. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreCommonLib.dsc
  57. !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiLib.dsc
  58. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeLib.dsc
  59. !include $(PLATFORM_SI_PACKAGE)/SiPkgCommonLib.dsc
  60. !include $(PLATFORM_SI_PACKAGE)/SiPkgPeiLib.dsc
  61. !include $(PLATFORM_SI_PACKAGE)/SiPkgDxeLib.dsc
  62. #######################################
  63. # Component Includes
  64. #######################################
  65. # @todo: Change below line to [Components.$(PEI_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  66. # is completed
  67. [Components.IA32]
  68. !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiInclude.dsc
  69. !include $(PLATFORM_SI_PACKAGE)/SiPkgPei.dsc
  70. # @todo: Change below line to [Components.$(DXE_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  71. # is completed
  72. [Components.X64]
  73. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeInclude.dsc
  74. !include $(PLATFORM_SI_PACKAGE)/SiPkgDxe.dsc
  75. #######################################
  76. # Build Option Includes
  77. #######################################
  78. !include $(PLATFORM_SI_PACKAGE)/SiPkgBuildOption.dsc
  79. !include OpenBoardPkgBuildOption.dsc
  80. ################################################################################
  81. #
  82. # Library Class section - list of all Library Classes needed by this board.
  83. #
  84. ################################################################################
  85. [LibraryClasses.common]
  86. #######################################
  87. # Edk2 Packages
  88. #######################################
  89. FspWrapperApiLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf
  90. FspWrapperApiTestLib|IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/PeiFspWrapperApiTestLib.inf
  91. #######################################
  92. # Silicon Initialization Package
  93. #######################################
  94. ConfigBlockLib|IntelSiliconPkg/Library/BaseConfigBlockLib/BaseConfigBlockLib.inf
  95. MmPciLib|$(PLATFORM_SI_PACKAGE)/Library/PeiDxeSmmMmPciLib/PeiDxeSmmMmPciLib.inf
  96. PchHsioLib|$(PLATFORM_SI_PACKAGE)/Pch/Library/PeiDxeSmmPchHsioLib/PeiDxeSmmPchHsioLib.inf
  97. PchPmcLib|$(PLATFORM_SI_PACKAGE)/Pch/Library/PeiDxeSmmPchPmcLib/PeiDxeSmmPchPmcLib.inf
  98. #####################################
  99. # Platform Package
  100. #####################################
  101. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/BoardInitLibNull/BoardInitLibNull.inf
  102. FspWrapperHobProcessLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperHobProcessLib/PeiFspWrapperHobProcessLib.inf
  103. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformLib.inf
  104. PciHostBridgeLib|$(PLATFORM_PACKAGE)/Pci/Library/PciHostBridgeLibSimple/PciHostBridgeLibSimple.inf
  105. PciSegmentInfoLib|$(PLATFORM_PACKAGE)/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.inf
  106. PeiLib|$(PLATFORM_PACKAGE)/Library/PeiLib/PeiLib.inf
  107. PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
  108. ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiReportFvLib.inf
  109. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
  110. #######################################
  111. # Board Package
  112. #######################################
  113. GpioExpanderLib|$(PLATFORM_BOARD_PACKAGE)/Library/BaseGpioExpanderLib/BaseGpioExpanderLib.inf
  114. HdaVerbTableLib|$(PLATFORM_BOARD_PACKAGE)/Library/PeiHdaVerbTableLib/PeiHdaVerbTableLib.inf
  115. I2cAccessLib|$(PLATFORM_BOARD_PACKAGE)/Library/PeiI2cAccessLib/PeiI2cAccessLib.inf
  116. PlatformSecLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecFspWrapperPlatformSecLib.inf
  117. TimerLib|$(PLATFORM_BOARD_PACKAGE)/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
  118. # Thunderbolt
  119. !if gCometlakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  120. TbtCommonLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/PeiDxeSmmTbtCommonLib/TbtCommonLib.inf
  121. !endif
  122. #######################################
  123. # Board-specific
  124. #######################################
  125. PlatformHookLib|$(PROJECT)/Library/BasePlatformHookLib/BasePlatformHookLib.inf
  126. [LibraryClasses.IA32.SEC]
  127. #######################################
  128. # Platform Package
  129. #######################################
  130. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SecTestPointCheckLib.inf
  131. SecBoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/SecBoardInitLibNull/SecBoardInitLibNull.inf
  132. #######################################
  133. # Board Package
  134. #######################################
  135. SiliconPolicyInitLib|$(PLATFORM_BOARD_PACKAGE)/FspWrapper/Library/PeiFspPolicyInitLib/PeiFspPolicyInitLib.inf
  136. SiliconPolicyUpdateLib|$(PLATFORM_BOARD_PACKAGE)/FspWrapper/Library/PeiSiliconPolicyUpdateLibFsp/PeiSiliconPolicyUpdateLibFsp.inf
  137. TimerLib|$(PLATFORM_BOARD_PACKAGE)/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
  138. [LibraryClasses.common.PEIM]
  139. #######################################
  140. # Silicon Initialization Package
  141. #######################################
  142. SiliconInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconInitLib/PeiSiliconInitLib.inf
  143. ReportCpuHobLib|IntelSiliconPkg/Library/ReportCpuHobLib/ReportCpuHobLib.inf
  144. #######################################
  145. # Platform Package
  146. #######################################
  147. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/PeiMultiBoardInitSupportLib.inf
  148. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformLib.inf
  149. MultiBoardInitSupportLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/PeiMultiBoardInitSupportLib.inf
  150. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/PeiTestPointLib.inf
  151. !if $(TARGET) == DEBUG
  152. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/PeiTestPointCheckLib.inf
  153. !endif
  154. SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrrLibNull.inf
  155. #######################################
  156. # Board Package
  157. #######################################
  158. # Thunderbolt
  159. !if gCometlakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  160. PeiDTbtInitLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/Private/PeiDTbtInitLib/PeiDTbtInitLib.inf
  161. PeiTbtPolicyLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/PeiTbtPolicyLib/PeiTbtPolicyLib.inf
  162. !endif
  163. PeiPolicyInitLib|$(PLATFORM_BOARD_PACKAGE)/Policy/Library/PeiPolicyInitLib/PeiPolicyInitLib.inf
  164. PeiPolicyUpdateLib|$(PLATFORM_BOARD_PACKAGE)/Policy/Library/PeiPolicyUpdateLib/PeiPolicyUpdateLib.inf
  165. SiliconPolicyInitLib|$(PLATFORM_BOARD_PACKAGE)/FspWrapper/Library/PeiFspPolicyInitLib/PeiFspPolicyInitLib.inf
  166. SiliconPolicyUpdateLib|$(PLATFORM_BOARD_PACKAGE)/FspWrapper/Library/PeiSiliconPolicyUpdateLibFsp/PeiSiliconPolicyUpdateLibFsp.inf
  167. TimerLib|$(PLATFORM_BOARD_PACKAGE)/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
  168. #######################################
  169. # Board-specific
  170. #######################################
  171. PeiPlatformHookLib|$(PROJECT)/Library/PeiPlatformHookLib/PeiPlatformHooklib.inf
  172. PeiPolicyBoardConfigLib|$(PROJECT)/Library/PeiPolicyBoardConfigLib/PeiPolicyBoardConfigLib.inf
  173. !if $(TARGET) == DEBUG
  174. GpioCheckConflictLib|$(PROJECT)/Library/BaseGpioCheckConflictLib/BaseGpioCheckConflictLib.inf
  175. !else
  176. GpioCheckConflictLib|$(PROJECT)/Library/BaseGpioCheckConflictLibNull/BaseGpioCheckConflictLibNull.inf
  177. !endif
  178. [LibraryClasses.common.DXE_DRIVER]
  179. #######################################
  180. # Edk2 Packages
  181. #######################################
  182. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  183. #######################################
  184. # Platform Package
  185. #######################################
  186. BoardAcpiTableLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/DxeMultiBoardAcpiSupportLib.inf
  187. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/DxeMultiBoardInitSupportLib.inf
  188. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/DxeFspWrapperPlatformLib/DxeFspWrapperPlatformLib.inf
  189. MultiBoardAcpiSupportLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/DxeMultiBoardAcpiSupportLib.inf
  190. MultiBoardInitSupportLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/DxeMultiBoardInitSupportLib.inf
  191. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/DxeTestPointLib.inf
  192. !if $(TARGET) == DEBUG
  193. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/DxeTestPointCheckLib.inf
  194. !endif
  195. #######################################
  196. # Board Package
  197. #######################################
  198. DxePolicyUpdateLib|$(PLATFORM_BOARD_PACKAGE)/Policy/Library/DxePolicyUpdateLib/DxePolicyUpdateLib.inf
  199. DxeTbtPolicyLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/DxeTbtPolicyLib/DxeTbtPolicyLib.inf
  200. BoardBdsHookLib|BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.inf
  201. BoardBootManagerLib|BoardModulePkg/Library/BoardBootManagerLib/BoardBootManagerLib.inf
  202. #######################################
  203. # Board-specific
  204. #######################################
  205. DxePolicyBoardConfigLib|$(PROJECT)/Library/DxePolicyBoardConfigLib/DxePolicyBoardConfigLib.inf
  206. [LibraryClasses.X64.DXE_RUNTIME_DRIVER]
  207. #######################################
  208. # Edk2 Packages
  209. #######################################
  210. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  211. #######################################
  212. # Silicon Initialization Package
  213. #######################################
  214. ResetSystemLib|$(PLATFORM_SI_PACKAGE)/Pch/Library/DxeRuntimeResetSystemLib/DxeRuntimeResetSystemLib.inf
  215. [LibraryClasses.X64.DXE_SMM_DRIVER]
  216. #######################################
  217. # Edk2 Packages
  218. #######################################
  219. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  220. #######################################
  221. # Silicon Initialization Package
  222. #######################################
  223. SpiFlashCommonLib|IntelSiliconPkg/Library/SmmSpiFlashCommonLib/SmmSpiFlashCommonLib.inf
  224. #######################################
  225. # Platform Package
  226. #######################################
  227. BoardAcpiEnableLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/SmmMultiBoardAcpiSupportLib.inf
  228. MultiBoardAcpiSupportLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/SmmMultiBoardAcpiSupportLib.inf
  229. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/SmmTestPointLib.inf
  230. !if $(TARGET) == DEBUG
  231. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SmmTestPointCheckLib.inf
  232. !endif
  233. #######################################
  234. # PEI Components
  235. #######################################
  236. # @todo: Change below line to [Components.$(PEI_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  237. # is completed
  238. [Components.IA32]
  239. #######################################
  240. # Edk2 Packages
  241. #######################################
  242. UefiCpuPkg/SecCore/SecCore.inf {
  243. <LibraryClasses>
  244. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  245. }
  246. #
  247. # In FSP API mode the policy has to be installed before FSP Wrapper updating UPD.
  248. # Add policy as dependency for FSP Wrapper
  249. #
  250. IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf
  251. IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf
  252. #######################################
  253. # Silicon Initialization Package
  254. #######################################
  255. IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.inf
  256. IntelSiliconPkg/Feature/VTd/PlatformVTdInfoSamplePei/PlatformVTdInfoSamplePei.inf
  257. #######################################
  258. # Platform Package
  259. #######################################
  260. $(PLATFORM_PACKAGE)/PlatformInit/ReportFv/ReportFvPei.inf
  261. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf {
  262. <LibraryClasses>
  263. !if gCometlakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  264. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPreMemLib.inf
  265. !else
  266. NULL|$(PROJECT)/Library/BoardInitLib/PeiMultiBoardInitPreMemLib.inf
  267. !endif
  268. NULL|$(PROJECT)/Library/BaseFuncLib/BaseFuncLib.inf
  269. }
  270. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf {
  271. <LibraryClasses>
  272. !if gCometlakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  273. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPostMemLib.inf
  274. !else
  275. NULL|$(PROJECT)/Library/BoardInitLib/PeiMultiBoardInitPostMemLib.inf
  276. !endif
  277. }
  278. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPreMem.inf {
  279. <LibraryClasses>
  280. SiliconPolicyInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/SiliconPolicyInitLibNull/SiliconPolicyInitLibNull.inf
  281. SiliconPolicyUpdateLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/SiliconPolicyUpdateLibNull/SiliconPolicyUpdateLibNull.inf
  282. }
  283. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPostMem.inf {
  284. <LibraryClasses>
  285. SiliconPolicyInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/SiliconPolicyInitLibNull/SiliconPolicyInitLibNull.inf
  286. SiliconPolicyUpdateLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/SiliconPolicyUpdateLibNull/SiliconPolicyUpdateLibNull.inf
  287. }
  288. !if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable == TRUE
  289. $(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf
  290. !endif
  291. #######################################
  292. # Board Package
  293. #######################################
  294. # Thunderbolt
  295. !if gCometlakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  296. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Pei/PeiTbtInit.inf
  297. !endif
  298. $(PLATFORM_BOARD_PACKAGE)/BiosInfo/BiosInfo.inf
  299. #######################################
  300. # DXE Components
  301. #######################################
  302. # @todo: Change below line to [Components.$(DXE_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  303. # is completed
  304. [Components.X64]
  305. #######################################
  306. # Edk2 Packages
  307. #######################################
  308. IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf
  309. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  310. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  311. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  312. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
  313. MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
  314. MdeModulePkg/Universal/Console/GraphicsOutputDxe/GraphicsOutputDxe.inf
  315. MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
  316. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf{
  317. <LibraryClasses>
  318. NULL|BoardModulePkg/Library/BdsPs2KbcLib/BdsPs2KbcLib.inf
  319. }
  320. UefiCpuPkg/CpuDxe/CpuDxe.inf
  321. ShellPkg/Application/Shell/Shell.inf {
  322. <PcdsFixedAtBuild>
  323. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  324. <LibraryClasses>
  325. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  326. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  327. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  328. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  329. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  330. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  331. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  332. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  333. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  334. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  335. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  336. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  337. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  338. }
  339. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  340. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
  341. <PcdsPatchableInModule>
  342. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
  343. <LibraryClasses>
  344. !if $(TARGET) == DEBUG
  345. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  346. !endif
  347. }
  348. !endif
  349. #######################################
  350. # Silicon Initialization Package
  351. #######################################
  352. IntelSiliconPkg/Feature/VTd/IntelVTdDxe/IntelVTdDxe.inf
  353. $(PLATFORM_SI_PACKAGE)/SystemAgent/SaInit/Dxe/SaInitDxe.inf
  354. $(PLATFORM_SI_BIN_PACKAGE)/Microcode/MicrocodeUpdates.inf
  355. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  356. IntelSiliconPkg/Feature/Flash/SpiFvbService/SpiFvbServiceSmm.inf
  357. !endif
  358. #######################################
  359. # Platform Package
  360. #######################################
  361. $(PLATFORM_PACKAGE)/FspWrapper/SaveMemoryConfig/SaveMemoryConfig.inf
  362. $(PLATFORM_PACKAGE)/Hsti/HstiIbvPlatformDxe/HstiIbvPlatformDxe.inf
  363. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitDxe/PlatformInitDxe.inf
  364. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyDxe/SiliconPolicyDxe.inf {
  365. <LibraryClasses>
  366. SiliconPolicyInitLib|MinPlatformPkg/PlatformInit/Library/SiliconPolicyInitLibNull/SiliconPolicyInitLibNull.inf
  367. SiliconPolicyUpdateLib|MinPlatformPkg/PlatformInit/Library/SiliconPolicyUpdateLibNull/SiliconPolicyUpdateLibNull.inf
  368. }
  369. $(PLATFORM_PACKAGE)/Test/TestPointDumpApp/TestPointDumpApp.inf
  370. $(PLATFORM_PACKAGE)/Test/TestPointStubDxe/TestPointStubDxe.inf
  371. !if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable == TRUE
  372. $(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf
  373. !endif
  374. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  375. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitSmm/PlatformInitSmm.inf
  376. $(PLATFORM_PACKAGE)/Acpi/AcpiSmm/AcpiSmm.inf {
  377. <LibraryClasses>
  378. !if gCometlakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  379. BoardAcpiEnableLib|$(PROJECT)/Library/BoardAcpiLib/SmmBoardAcpiEnableLib.inf
  380. !else
  381. NULL|$(PROJECT)/Library/BoardAcpiLib/SmmMultiBoardAcpiSupportLib.inf
  382. !endif
  383. }
  384. $(PLATFORM_PACKAGE)/Acpi/AcpiTables/AcpiPlatform.inf
  385. !endif
  386. #######################################
  387. # Board Package
  388. #######################################
  389. $(PLATFORM_BOARD_PACKAGE)/Policy/PolicyInitDxe/PolicyInitDxe.inf{
  390. <LibraryClasses>
  391. NULL|$(PROJECT)/Library/BaseFuncLib/BaseFuncLib.inf
  392. }
  393. # Thunderbolt
  394. !if gCometlakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  395. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Smm/TbtSmm.inf
  396. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Dxe/TbtDxe.inf
  397. $(PLATFORM_BOARD_PACKAGE)/Features/PciHotPlug/PciHotPlug.inf
  398. !endif
  399. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  400. $(PLATFORM_BOARD_PACKAGE)/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf
  401. !endif
  402. BoardModulePkg/LegacySioDxe/LegacySioDxe.inf
  403. BoardModulePkg/BoardBdsHookDxe/BoardBdsHookDxe.inf