OpenBoardPkg.dsc 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  1. ## @file
  2. # The main build description file for the GalagoPro3 board.
  3. #
  4. # Copyright (c) 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_FSP_BIN_PACKAGE = KabylakeFspBinPkg
  14. DEFINE PLATFORM_BOARD_PACKAGE = KabylakeOpenBoardPkg
  15. DEFINE BOARD = GalagoPro3
  16. DEFINE PROJECT = $(PLATFORM_BOARD_PACKAGE)/$(BOARD)
  17. #
  18. # Include PCD configuration for this board.
  19. #
  20. !include OpenBoardPkgPcd.dsc
  21. ################################################################################
  22. #
  23. # Defines Section - statements that will be processed to create a Makefile.
  24. #
  25. ################################################################################
  26. [Defines]
  27. PLATFORM_NAME = $(PLATFORM_PACKAGE)
  28. PLATFORM_GUID = 7324F33D-4E96-4F8B-A550-544DE6162AB7
  29. PLATFORM_VERSION = 0.1
  30. DSC_SPECIFICATION = 0x00010005
  31. OUTPUT_DIRECTORY = Build/$(PROJECT)
  32. SUPPORTED_ARCHITECTURES = IA32|X64
  33. BUILD_TARGETS = DEBUG|RELEASE
  34. SKUID_IDENTIFIER = ALL
  35. FLASH_DEFINITION = $(PROJECT)/OpenBoardPkg.fdf
  36. FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0
  37. DEFINE TOP_MEMORY_ADDRESS = 0x0
  38. #
  39. # Default value for OpenBoardPkg.fdf use
  40. #
  41. DEFINE BIOS_SIZE_OPTION = SIZE_60
  42. ################################################################################
  43. #
  44. # SKU Identification section - list of all SKU IDs supported by this board.
  45. #
  46. ################################################################################
  47. [SkuIds]
  48. 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
  49. 0x20|GalagoPro3
  50. ################################################################################
  51. #
  52. # Includes section - other DSC file contents included for this board build.
  53. #
  54. ################################################################################
  55. #######################################
  56. # Library Includes
  57. #######################################
  58. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreCommonLib.dsc
  59. !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiLib.dsc
  60. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeLib.dsc
  61. !include $(PLATFORM_SI_PACKAGE)/SiPkgCommonLib.dsc
  62. !include $(PLATFORM_SI_PACKAGE)/SiPkgPeiLib.dsc
  63. !include $(PLATFORM_SI_PACKAGE)/SiPkgDxeLib.dsc
  64. #######################################
  65. # Component Includes
  66. #######################################
  67. [Components.IA32]
  68. !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiInclude.dsc
  69. !include $(PLATFORM_SI_PACKAGE)/SiPkgPei.dsc
  70. [Components.X64]
  71. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeInclude.dsc
  72. !include $(PLATFORM_SI_PACKAGE)/SiPkgDxe.dsc
  73. #######################################
  74. # Build Option Includes
  75. #######################################
  76. !include $(PLATFORM_SI_PACKAGE)/SiPkgBuildOption.dsc
  77. !include OpenBoardPkgBuildOption.dsc
  78. ################################################################################
  79. #
  80. # Library Class section - list of all Library Classes needed by this board.
  81. #
  82. ################################################################################
  83. [LibraryClasses.common]
  84. #######################################
  85. # Edk2 Packages
  86. #######################################
  87. FspWrapperApiLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf
  88. FspWrapperApiTestLib|IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/PeiFspWrapperApiTestLib.inf
  89. #######################################
  90. # Silicon Initialization Package
  91. #######################################
  92. ConfigBlockLib|$(PLATFORM_SI_PACKAGE)/Library/BaseConfigBlockLib/BaseConfigBlockLib.inf
  93. SiliconInitLib|$(PLATFORM_SI_PACKAGE)/Library/SiliconInitLib/SiliconInitLib.inf
  94. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLibFsp/PeiSiliconPolicyInitLibFsp.inf
  95. #####################################
  96. # Platform Package
  97. #####################################
  98. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/BoardInitLibNull/BoardInitLibNull.inf
  99. FspWrapperHobProcessLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperHobProcessLib/PeiFspWrapperHobProcessLib.inf
  100. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformLib.inf
  101. PciHostBridgeLib|$(PLATFORM_PACKAGE)/Pci/Library/PciHostBridgeLibSimple/PciHostBridgeLibSimple.inf
  102. PciSegmentInfoLib|$(PLATFORM_PACKAGE)/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.inf
  103. PeiLib|$(PLATFORM_PACKAGE)/Library/PeiLib/PeiLib.inf
  104. PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
  105. ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiReportFvLib.inf
  106. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
  107. #######################################
  108. # Board Package
  109. #######################################
  110. GpioExpanderLib|$(PLATFORM_BOARD_PACKAGE)/Library/BaseGpioExpanderLib/BaseGpioExpanderLib.inf
  111. I2cAccessLib|$(PLATFORM_BOARD_PACKAGE)/Library/PeiI2cAccessLib/PeiI2cAccessLib.inf
  112. PlatformSecLib|$(PLATFORM_BOARD_PACKAGE)/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecFspWrapperPlatformSecLib.inf
  113. # Thunderbolt
  114. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  115. DxeTbtPolicyLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/DxeTbtPolicyLib/DxeTbtPolicyLib.inf
  116. TbtCommonLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/PeiDxeSmmTbtCommonLib/TbtCommonLib.inf
  117. !endif
  118. #######################################
  119. # Board-specific
  120. #######################################
  121. PlatformHookLib|$(PROJECT)/Library/BasePlatformHookLib/BasePlatformHookLib.inf
  122. SiliconPolicyUpdateLib|$(PROJECT)/FspWrapper/Library/PeiSiliconPolicyUpdateLibFsp/PeiSiliconPolicyUpdateLibFsp.inf
  123. [LibraryClasses.IA32.SEC]
  124. #######################################
  125. # Edk2 Packages
  126. #######################################
  127. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  128. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  129. #######################################
  130. # Platform Package
  131. #######################################
  132. SecBoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/SecBoardInitLibNull/SecBoardInitLibNull.inf
  133. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SecTestPointCheckLib.inf
  134. [LibraryClasses.common.PEIM]
  135. #######################################
  136. # Edk2 Packages
  137. #######################################
  138. DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
  139. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  140. #######################################
  141. # Platform Package
  142. #######################################
  143. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/PeiMultiBoardInitSupportLib.inf
  144. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformLib.inf
  145. MultiBoardInitSupportLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/PeiMultiBoardInitSupportLib.inf
  146. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/PeiTestPointLib.inf
  147. !if $(TARGET) == DEBUG
  148. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/PeiTestPointCheckLib.inf
  149. !endif
  150. #######################################
  151. # Board Package
  152. #######################################
  153. # Thunderbolt
  154. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  155. PeiDTbtInitLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/Private/PeiDTbtInitLib/PeiDTbtInitLib.inf
  156. PeiTbtPolicyLib|$(PLATFORM_BOARD_PACKAGE)/Features/Tbt/Library/PeiTbtPolicyLib/PeiTbtPolicyLib.inf
  157. !endif
  158. [LibraryClasses.common.DXE_DRIVER]
  159. #######################################
  160. # Silicon Initialization Package
  161. #######################################
  162. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/DxeSiliconPolicyInitLib/DxeSiliconPolicyInitLib.inf
  163. #######################################
  164. # Platform Package
  165. #######################################
  166. BoardAcpiTableLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/DxeMultiBoardAcpiSupportLib.inf
  167. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/DxeMultiBoardInitSupportLib.inf
  168. FspWrapperPlatformLib|$(PLATFORM_PACKAGE)/FspWrapper/Library/DxeFspWrapperPlatformLib/DxeFspWrapperPlatformLib.inf
  169. MultiBoardAcpiSupportLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/DxeMultiBoardAcpiSupportLib.inf
  170. MultiBoardInitSupportLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/MultiBoardInitSupportLib/DxeMultiBoardInitSupportLib.inf
  171. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/DxeTestPointLib.inf
  172. !if $(TARGET) == DEBUG
  173. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/DxeTestPointCheckLib.inf
  174. !endif
  175. #######################################
  176. # Board-specific
  177. #######################################
  178. SiliconPolicyUpdateLib|$(PROJECT)/Policy/Library/DxeSiliconPolicyUpdateLib/DxeSiliconPolicyUpdateLib.inf
  179. [LibraryClasses.X64.DXE_RUNTIME_DRIVER]
  180. #######################################
  181. # Silicon Initialization Package
  182. #######################################
  183. ResetSystemLib|$(PLATFORM_SI_PACKAGE)/Pch/Library/DxeRuntimeResetSystemLib/DxeRuntimeResetSystemLib.inf
  184. [LibraryClasses.X64.DXE_SMM_DRIVER]
  185. #######################################
  186. # Silicon Initialization Package
  187. #######################################
  188. SpiFlashCommonLib|$(PLATFORM_SI_PACKAGE)/Pch/Library/SmmSpiFlashCommonLib/SmmSpiFlashCommonLib.inf
  189. #######################################
  190. # Platform Package
  191. #######################################
  192. BoardAcpiEnableLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/SmmMultiBoardAcpiSupportLib.inf
  193. MultiBoardAcpiSupportLib|$(PLATFORM_PACKAGE)/Acpi/Library/MultiBoardAcpiSupportLib/SmmMultiBoardAcpiSupportLib.inf
  194. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/SmmTestPointLib.inf
  195. !if $(TARGET) == DEBUG
  196. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SmmTestPointCheckLib.inf
  197. !endif
  198. [Components.IA32]
  199. #######################################
  200. # Edk2 Packages
  201. #######################################
  202. UefiCpuPkg/SecCore/SecCore.inf {
  203. <LibraryClasses>
  204. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  205. }
  206. MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
  207. <LibraryClasses>
  208. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  209. }
  210. IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf {
  211. <LibraryClasses>
  212. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLibDependency/PeiPreMemSiliconPolicyInitLibDependency.inf
  213. }
  214. IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf {
  215. <LibraryClasses>
  216. SiliconPolicyInitLib|$(PLATFORM_SI_PACKAGE)/Library/PeiSiliconPolicyInitLibDependency/PeiPostMemSiliconPolicyInitLibDependency.inf
  217. }
  218. #######################################
  219. # Silicon Initialization Package
  220. #######################################
  221. IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.inf
  222. IntelSiliconPkg/Feature/VTd/PlatformVTdInfoSamplePei/PlatformVTdInfoSamplePei.inf
  223. #######################################
  224. # Platform Package
  225. #######################################
  226. $(PLATFORM_PACKAGE)/PlatformInit/ReportFv/ReportFvPei.inf
  227. $(PROJECT)/Override/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf {
  228. <LibraryClasses>
  229. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  230. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPreMemLib.inf
  231. !else
  232. NULL|$(PROJECT)/Library/BoardInitLib/PeiMultiBoardInitPreMemLib.inf
  233. !endif
  234. }
  235. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf {
  236. <LibraryClasses>
  237. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  238. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPostMemLib.inf
  239. !else
  240. NULL|$(PROJECT)/Library/BoardInitLib/PeiMultiBoardInitPostMemLib.inf
  241. !endif
  242. }
  243. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPreMem.inf {
  244. <LibraryClasses>
  245. #
  246. # Hook a library constructor to update some policy fields when policy is installed.
  247. #
  248. NULL|$(PROJECT)/FspWrapper/Library/PeiSiliconPolicyNotifyLib/PeiPreMemSiliconPolicyNotifyLib.inf
  249. }
  250. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPostMem.inf
  251. !if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable == TRUE
  252. $(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf
  253. !endif
  254. #######################################
  255. # Board Package
  256. #######################################
  257. # Thunderbolt
  258. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  259. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Pei/PeiTbtInit.inf
  260. !endif
  261. $(PLATFORM_BOARD_PACKAGE)/BiosInfo/BiosInfo.inf
  262. [Components.X64]
  263. #######################################
  264. # Edk2 Packages
  265. #######################################
  266. IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf
  267. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  268. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  269. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  270. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
  271. MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
  272. MdeModulePkg/Universal/Console/GraphicsOutputDxe/GraphicsOutputDxe.inf
  273. UefiCpuPkg/CpuDxe/CpuDxe.inf
  274. ShellPkg/Application/Shell/Shell.inf {
  275. <PcdsFixedAtBuild>
  276. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  277. <LibraryClasses>
  278. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  279. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  280. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  281. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  282. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  283. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  284. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  285. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  286. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  287. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  288. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  289. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  290. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  291. }
  292. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  293. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
  294. <PcdsPatchableInModule>
  295. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
  296. <LibraryClasses>
  297. !if $(TARGET) == DEBUG
  298. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  299. !endif
  300. }
  301. !endif
  302. #######################################
  303. # Silicon Initialization Package
  304. #######################################
  305. IntelSiliconPkg/Feature/VTd/IntelVTdDxe/IntelVTdDxe.inf
  306. $(PLATFORM_SI_BIN_PACKAGE)/Microcode/MicrocodeUpdates.inf
  307. #######################################
  308. # Platform Package
  309. #######################################
  310. $(PLATFORM_PACKAGE)/FspWrapper/SaveMemoryConfig/SaveMemoryConfig.inf
  311. $(PLATFORM_PACKAGE)/Hsti/HstiIbvPlatformDxe/HstiIbvPlatformDxe.inf
  312. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitDxe/PlatformInitDxe.inf
  313. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyDxe/SiliconPolicyDxe.inf
  314. $(PLATFORM_PACKAGE)/Test/TestPointDumpApp/TestPointDumpApp.inf
  315. $(PLATFORM_PACKAGE)/Test/TestPointStubDxe/TestPointStubDxe.inf
  316. !if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable == TRUE
  317. $(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf
  318. !endif
  319. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  320. $(PLATFORM_PACKAGE)/Flash/SpiFvbService/SpiFvbServiceSmm.inf
  321. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitSmm/PlatformInitSmm.inf
  322. $(PLATFORM_PACKAGE)/Acpi/AcpiSmm/AcpiSmm.inf {
  323. <LibraryClasses>
  324. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  325. BoardAcpiEnableLib|$(PROJECT)/Library/BoardAcpiLib/SmmBoardAcpiEnableLib.inf
  326. !else
  327. NULL|$(PROJECT)/Library/BoardAcpiLib/SmmMultiBoardAcpiSupportLib.inf
  328. !endif
  329. }
  330. $(PLATFORM_PACKAGE)/Acpi/AcpiTables/AcpiPlatform.inf {
  331. <LibraryClasses>
  332. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  333. BoardAcpiTableLib|$(PROJECT)/Library/BoardAcpiLib/DxeBoardAcpiTableLib.inf
  334. !else
  335. NULL|$(PROJECT)/Library/BoardAcpiLib/DxeMultiBoardAcpiSupportLib.inf
  336. !endif
  337. }
  338. !endif
  339. #######################################
  340. # Board Package
  341. #######################################
  342. # Thunderbolt
  343. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdTbtEnable == TRUE
  344. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Smm/TbtSmm.inf
  345. $(PLATFORM_BOARD_PACKAGE)/Features/Tbt/TbtInit/Dxe/TbtDxe.inf
  346. $(PLATFORM_BOARD_PACKAGE)/Features/PciHotPlug/PciHotPlug.inf
  347. !endif
  348. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  349. $(PLATFORM_BOARD_PACKAGE)/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf {
  350. <LibraryClasses>
  351. !if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdMultiBoardSupport == FALSE
  352. BoardAcpiTableLib|$(PROJECT)/Library/BoardAcpiLib/DxeBoardAcpiTableLib.inf
  353. !else
  354. NULL|$(PROJECT)/Library/BoardAcpiLib/DxeMultiBoardAcpiSupportLib.inf
  355. !endif
  356. }
  357. !endif