OpenBoardPkg.dsc 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. ## @file
  2. # The main build description file for the GalagoPro3 board.
  3. #
  4. # Copyright (c) 2019 - 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_FSP_BIN_PACKAGE = KabylakeFspBinPkg
  14. DEFINE PLATFORM_BOARD_PACKAGE = KabylakeOpenBoardPkg
  15. DEFINE BOARD = GalagoPro3
  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_60
  24. PLATFORM_NAME = $(PLATFORM_PACKAGE)
  25. PLATFORM_GUID = 7324F33D-4E96-4F8B-A550-544DE6162AB7
  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 # The entry: 0|DEFAULT is reserved and always required.
  47. 0x20|GalagoPro3
  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. SiliconInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconInitLib/PeiSiliconInitLib.inf
  96. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLibFsp/PeiSiliconPolicyInitLibFsp.inf
  97. #####################################
  98. # Platform Package
  99. #####################################
  100. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/BoardInitLibNull/BoardInitLibNull.inf
  101. FspWrapperHobProcessLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperHobProcessLib/PeiFspWrapperHobProcessLib.inf
  102. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformLib.inf
  103. PciHostBridgeLib|$(PLATFORM_PACKAGE)/Pci/Library/PciHostBridgeLibSimple/PciHostBridgeLibSimple.inf
  104. PciSegmentInfoLib|$(PLATFORM_PACKAGE)/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.inf
  105. PeiLib|$(PLATFORM_PACKAGE)/Library/PeiLib/PeiLib.inf
  106. PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
  107. ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiReportFvLib.inf
  108. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
  109. #######################################
  110. # Board Package
  111. #######################################
  112. GpioExpanderLib|$(PLATFORM_BOARD_PACKAGE)/Library/BaseGpioExpanderLib/BaseGpioExpanderLib.inf
  113. I2cAccessLib|$(PLATFORM_BOARD_PACKAGE)/Library/PeiI2cAccessLib/PeiI2cAccessLib.inf
  114. PlatformSecLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecFspWrapperPlatformSecLib.inf
  115. HdmiDebugGpioInitLib|$(PLATFORM_BOARD_PACKAGE)/Library/HdmiDebugGpioInitLib/HdmiDebugGpioInitLib.inf
  116. HdmiDebugPchDetectionLib|$(PLATFORM_BOARD_PACKAGE)/Library/HdmiDebugPchDetectionLib/HdmiDebugPchDetectionLib.inf
  117. # Thunderbolt
  118. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  119. DxeTbtPolicyLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/DxeTbtPolicyLib/DxeTbtPolicyLib.inf
  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. SiliconPolicyUpdateLib|$(PROJECT)/FspWrapper/Library/PeiSiliconPolicyUpdateLibFsp/PeiSiliconPolicyUpdateLibFsp.inf
  127. [LibraryClasses.IA32.SEC]
  128. #######################################
  129. # Edk2 Packages
  130. #######################################
  131. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  132. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  133. #######################################
  134. # Platform Package
  135. #######################################
  136. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SecTestPointCheckLib.inf
  137. SiliconPolicyUpdateLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/SiliconPolicyUpdateLibNull/SiliconPolicyUpdateLibNull.inf
  138. #######################################
  139. # Board-specific
  140. #######################################
  141. SecBoardInitLib|$(PLATFORM_BOARD_PACKAGE)/Library/SecBoardInitLib/SecBoardInitLib.inf
  142. [LibraryClasses.common.PEIM]
  143. #######################################
  144. # Edk2 Packages
  145. #######################################
  146. DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
  147. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  148. SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrrLibNull.inf
  149. #######################################
  150. # Silicon Package
  151. #######################################
  152. ReportCpuHobLib|IntelSiliconPkg/Library/ReportCpuHobLib/ReportCpuHobLib.inf
  153. #######################################
  154. # Platform Package
  155. #######################################
  156. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/PeiMultiBoardInitSupportLib.inf
  157. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformLib.inf
  158. MultiBoardInitSupportLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/PeiMultiBoardInitSupportLib.inf
  159. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/PeiTestPointLib.inf
  160. !if $(TARGET) == DEBUG
  161. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/PeiTestPointCheckLib.inf
  162. !endif
  163. #######################################
  164. # Board Package
  165. #######################################
  166. # Thunderbolt
  167. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  168. PeiDTbtInitLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/Private/PeiDTbtInitLib/PeiDTbtInitLib.inf
  169. PeiTbtPolicyLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/PeiTbtPolicyLib/PeiTbtPolicyLib.inf
  170. !endif
  171. [LibraryClasses.common.DXE_DRIVER]
  172. #######################################
  173. # Silicon Initialization Package
  174. #######################################
  175. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/DxeSiliconPolicyInitLib/DxeSiliconPolicyInitLib.inf
  176. #######################################
  177. # Platform Package
  178. #######################################
  179. BoardAcpiTableLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/DxeMultiBoardAcpiSupportLib.inf
  180. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/DxeMultiBoardInitSupportLib.inf
  181. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/DxeFspWrapperPlatformLib/DxeFspWrapperPlatformLib.inf
  182. MultiBoardAcpiSupportLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/DxeMultiBoardAcpiSupportLib.inf
  183. MultiBoardInitSupportLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/DxeMultiBoardInitSupportLib.inf
  184. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/DxeTestPointLib.inf
  185. !if $(TARGET) == DEBUG
  186. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/DxeTestPointCheckLib.inf
  187. !endif
  188. #######################################
  189. # Board Package
  190. #######################################
  191. BoardBdsHookLib|BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.inf
  192. BoardBootManagerLib|BoardModulePkg/Library/BoardBootManagerLib/BoardBootManagerLib.inf
  193. #######################################
  194. # Board-specific
  195. #######################################
  196. SiliconPolicyUpdateLib|$(PROJECT)/Policy/Library/DxeSiliconPolicyUpdateLib/DxeSiliconPolicyUpdateLib.inf
  197. [LibraryClasses.X64.DXE_RUNTIME_DRIVER]
  198. #######################################
  199. # Silicon Initialization Package
  200. #######################################
  201. ResetSystemLib|$(PLATFORM_SI_PACKAGE)/Pch/Library/DxeRuntimeResetSystemLib/DxeRuntimeResetSystemLib.inf
  202. [LibraryClasses.X64.DXE_SMM_DRIVER]
  203. #######################################
  204. # Silicon Initialization Package
  205. #######################################
  206. SpiFlashCommonLib|IntelSiliconPkg/Library/SmmSpiFlashCommonLib/SmmSpiFlashCommonLib.inf
  207. #######################################
  208. # Platform Package
  209. #######################################
  210. BoardAcpiEnableLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/SmmMultiBoardAcpiSupportLib.inf
  211. MultiBoardAcpiSupportLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/SmmMultiBoardAcpiSupportLib.inf
  212. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/SmmTestPointLib.inf
  213. !if $(TARGET) == DEBUG
  214. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SmmTestPointCheckLib.inf
  215. !endif
  216. #######################################
  217. # PEI Components
  218. #######################################
  219. # @todo: Change below line to [Components.$(PEI_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  220. # is completed
  221. [Components.IA32]
  222. #######################################
  223. # Edk2 Packages
  224. #######################################
  225. UefiCpuPkg/SecCore/SecCore.inf {
  226. <LibraryClasses>
  227. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  228. }
  229. MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
  230. <LibraryClasses>
  231. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  232. }
  233. IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf {
  234. <LibraryClasses>
  235. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLibDependency/PeiPreMemSiliconPolicyInitLibDependency.inf
  236. }
  237. IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf {
  238. <LibraryClasses>
  239. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLibDependency/PeiPostMemSiliconPolicyInitLibDependency.inf
  240. }
  241. #######################################
  242. # Silicon Initialization Package
  243. #######################################
  244. IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.inf
  245. IntelSiliconPkg/Feature/VTd/PlatformVTdInfoSamplePei/PlatformVTdInfoSamplePei.inf
  246. #######################################
  247. # Platform Package
  248. #######################################
  249. $(PLATFORM_PACKAGE)/PlatformInit/ReportFv/ReportFvPei.inf
  250. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf {
  251. <LibraryClasses>
  252. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  253. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPreMemLib.inf
  254. !else
  255. NULL|$(PROJECT)/Library/BoardInitLib/PeiMultiBoardInitPreMemLib.inf
  256. !endif
  257. }
  258. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf {
  259. <LibraryClasses>
  260. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  261. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPostMemLib.inf
  262. !else
  263. NULL|$(PROJECT)/Library/BoardInitLib/PeiMultiBoardInitPostMemLib.inf
  264. !endif
  265. }
  266. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPreMem.inf {
  267. <LibraryClasses>
  268. #
  269. # Hook a library constructor to update some policy fields when policy is installed.
  270. #
  271. NULL|$(PLATFORM_BOARD_PACKAGE)/FspWrapper/Library/PeiSiliconPolicyNotifyLib/PeiPreMemSiliconPolicyNotifyLib.inf
  272. }
  273. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPostMem.inf
  274. !if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable == TRUE
  275. $(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf
  276. !endif
  277. #######################################
  278. # Board Package
  279. #######################################
  280. # Thunderbolt
  281. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  282. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Pei/PeiTbtInit.inf
  283. !endif
  284. $(PLATFORM_BOARD_PACKAGE)/BiosInfo/BiosInfo.inf
  285. #######################################
  286. # DXE Components
  287. #######################################
  288. # @todo: Change below line to [Components.$(DXE_ARCH)] after https://bugzilla.tianocore.org/show_bug.cgi?id=2308
  289. # is completed
  290. [Components.X64]
  291. #######################################
  292. # Edk2 Packages
  293. #######################################
  294. IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf
  295. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  296. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  297. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  298. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
  299. MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
  300. MdeModulePkg/Universal/Console/GraphicsOutputDxe/GraphicsOutputDxe.inf
  301. MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
  302. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf{
  303. <LibraryClasses>
  304. NULL|BoardModulePkg/Library/BdsPs2KbcLib/BdsPs2KbcLib.inf
  305. }
  306. UefiCpuPkg/CpuDxe/CpuDxe.inf
  307. ShellPkg/Application/Shell/Shell.inf {
  308. <PcdsFixedAtBuild>
  309. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  310. <LibraryClasses>
  311. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  312. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  313. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  314. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  315. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  316. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  317. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  318. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  319. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  320. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  321. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  322. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  323. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  324. }
  325. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  326. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
  327. <PcdsPatchableInModule>
  328. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
  329. <LibraryClasses>
  330. !if $(TARGET) == DEBUG
  331. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  332. !endif
  333. }
  334. !endif
  335. #######################################
  336. # Silicon Initialization Package
  337. #######################################
  338. IntelSiliconPkg/Feature/VTd/IntelVTdDxe/IntelVTdDxe.inf
  339. $(PLATFORM_SI_BIN_PACKAGE)/Microcode/MicrocodeUpdates.inf
  340. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  341. IntelSiliconPkg/Feature/Flash/SpiFvbService/SpiFvbServiceSmm.inf
  342. !endif
  343. #######################################
  344. # Platform Package
  345. #######################################
  346. $(PLATFORM_PACKAGE)/FspWrapper/SaveMemoryConfig/SaveMemoryConfig.inf
  347. $(PLATFORM_PACKAGE)/Hsti/HstiIbvPlatformDxe/HstiIbvPlatformDxe.inf
  348. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitDxe/PlatformInitDxe.inf
  349. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyDxe/SiliconPolicyDxe.inf
  350. $(PLATFORM_PACKAGE)/Test/TestPointDumpApp/TestPointDumpApp.inf
  351. $(PLATFORM_PACKAGE)/Test/TestPointStubDxe/TestPointStubDxe.inf
  352. !if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable == TRUE
  353. $(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf
  354. !endif
  355. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  356. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitSmm/PlatformInitSmm.inf
  357. $(PLATFORM_PACKAGE)/Acpi/AcpiSmm/AcpiSmm.inf {
  358. <LibraryClasses>
  359. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  360. BoardAcpiEnableLib|$(PROJECT)/Library/BoardAcpiLib/SmmBoardAcpiEnableLib.inf
  361. !else
  362. NULL|$(PROJECT)/Library/BoardAcpiLib/SmmMultiBoardAcpiSupportLib.inf
  363. !endif
  364. }
  365. $(PLATFORM_PACKAGE)/Acpi/AcpiTables/AcpiPlatform.inf {
  366. <LibraryClasses>
  367. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  368. BoardAcpiTableLib|$(PROJECT)/Library/BoardAcpiLib/DxeBoardAcpiTableLib.inf
  369. !else
  370. NULL|$(PROJECT)/Library/BoardAcpiLib/DxeMultiBoardAcpiSupportLib.inf
  371. !endif
  372. }
  373. !endif
  374. #######################################
  375. # Board Package
  376. #######################################
  377. # Thunderbolt
  378. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  379. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Smm/TbtSmm.inf
  380. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Dxe/TbtDxe.inf
  381. $(PLATFORM_BOARD_PACKAGE)/Features/PciHotPlug/PciHotPlug.inf
  382. !endif
  383. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  384. $(PLATFORM_BOARD_PACKAGE)/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf {
  385. <LibraryClasses>
  386. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  387. BoardAcpiTableLib|$(PROJECT)/Library/BoardAcpiLib/DxeBoardAcpiTableLib.inf
  388. !else
  389. NULL|$(PROJECT)/Library/BoardAcpiLib/DxeMultiBoardAcpiSupportLib.inf
  390. !endif
  391. }
  392. !endif
  393. BoardModulePkg/LegacySioDxe/LegacySioDxe.inf
  394. BoardModulePkg/BoardBdsHookDxe/BoardBdsHookDxe.inf