OpenBoardPkg.dsc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. ## @file
  2. # The main build description file for the TiogaPass board.
  3. #
  4. # Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
  5. # Copyright (c) 2021, American Megatrends International LLC.<BR>
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. ##
  9. ################################################################################
  10. #
  11. # Defines Section - statements that will be processed to create a Makefile.
  12. #
  13. ################################################################################
  14. [Defines]
  15. DEFINE PLATFORM_PACKAGE = MinPlatformPkg
  16. DEFINE PLATFORM_SI_PACKAGE = PurleyRefreshSiliconPkg
  17. DEFINE PLATFORM_SI_BIN_PACKAGE = PurleySiliconBinPkg
  18. DEFINE PLATFORM_BOARD_PACKAGE = PurleyOpenBoardPkg
  19. DEFINE BOARD = BoardTiogaPass
  20. DEFINE PROJECT = $(PLATFORM_BOARD_PACKAGE)/$(BOARD)
  21. DEFINE PEI_ARCH = IA32
  22. DEFINE DXE_ARCH = X64
  23. PLATFORM_NAME = PurleyOpenBoardPkg
  24. PLATFORM_GUID = D7EAF54D-C9B9-4075-89F0-71943DBCFA61
  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 = DEFAULT
  31. FLASH_DEFINITION = $(PROJECT)/OpenBoardPkg.fdf
  32. FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0
  33. DEFINE NETWORK_ISCSI_ENABLE = TRUE
  34. #
  35. # Platform On/Off features are defined here
  36. #
  37. !include $(PROJECT)/PlatformPkgConfig.dsc
  38. #
  39. # Include PCD configuration for this board.
  40. #
  41. !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc
  42. !include PlatformPkgPcd.dsc
  43. !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc
  44. ################################################################################
  45. #
  46. # SKU Identification section - list of all SKU IDs supported by this
  47. # Platform.
  48. #
  49. ################################################################################
  50. [SkuIds]
  51. 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
  52. [DefaultStores]
  53. 0|STANDARD # UEFI Standard default 0|STANDARD is reserved.
  54. 1|MANUFACTURING # UEFI Manufacturing default 1|MANUFACTURING is reserved.
  55. ################################################################################
  56. #
  57. # Includes section - other DSC file contents included for this board build.
  58. #
  59. ################################################################################
  60. #######################################
  61. # Library Includes
  62. #######################################
  63. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreCommonLib.dsc
  64. !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiLib.dsc
  65. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeLib.dsc
  66. !include $(PLATFORM_SI_PACKAGE)/SiPkgCommonLib.dsc
  67. !include $(PLATFORM_SI_PACKAGE)/SiPkgPeiLib.dsc
  68. !include $(PLATFORM_SI_PACKAGE)/SiPkgDxeLib.dsc
  69. #######################################
  70. # Component Includes
  71. #######################################
  72. [Components.$(PEI_ARCH)]
  73. !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiInclude.dsc
  74. [Components.$(DXE_ARCH)]
  75. #TiogaPass Override START : Added Board Specific changes in core drivers
  76. #!include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeInclude.dsc
  77. !include CoreDxeInclude.dsc
  78. #TiogaPass Override END
  79. #######################################
  80. # Build Option Includes
  81. #######################################
  82. !include $(PROJECT)/PlatformPkgBuildOption.dsc
  83. ################################################################################
  84. #
  85. # Library Class section - list of all Library Classes needed by this Platform.
  86. #
  87. ################################################################################
  88. [LibraryClasses.common]
  89. !if gPlatformTokenSpaceGuid.PcdFastBoot == FALSE
  90. PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
  91. !else
  92. PlatformBootManagerLib|$(PLATFORM_BOARD_PACKAGE)/Override/Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
  93. !endif
  94. ReportFvLib|$(PROJECT)/Library/PeiReportFvLib/PeiReportFvLib.inf
  95. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
  96. CompressLib|$(PLATFORM_PACKAGE)/Library/CompressLib/CompressLib.inf
  97. PciSegmentInfoLib|$(PLATFORM_PACKAGE)/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.inf
  98. AslUpdateLib|$(PLATFORM_PACKAGE)/Acpi/Library/DxeAslUpdateLib/DxeAslUpdateLib.inf
  99. #
  100. # Board
  101. #
  102. SiliconPolicyInitLib|$(PLATFORM_BOARD_PACKAGE)/Policy/Library/SiliconPolicyInitLib/SiliconPolicyInitLib.inf
  103. SiliconPolicyUpdateLib|$(PLATFORM_BOARD_PACKAGE)/Policy/Library/SiliconPolicyUpdateLib/SiliconPolicyUpdateLib.inf
  104. PlatformHookLib|$(PROJECT)/Library/BasePlatformHookLib/BasePlatformHookLib.inf
  105. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/BoardInitLibNull/BoardInitLibNull.inf
  106. !if gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable == TRUE
  107. IpmiPlatformHookLib|$(PLATFORM_BOARD_PACKAGE)/Features/Ipmi/Library/IpmiPlatformHookLib/IpmiPlatformHookLib.inf
  108. !endif
  109. [LibraryClasses.IA32]
  110. !if $(TARGET) == DEBUG
  111. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/PeiTestPointCheckLib.inf
  112. !endif
  113. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/PeiTestPointLib.inf
  114. SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrrLib.inf
  115. ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.inf
  116. !if gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable == TRUE
  117. IpmiBaseLib|OutOfBandManagement/IpmiFeaturePkg/Library/PeiIpmiBaseLib/PeiIpmiBaseLib.inf
  118. !endif
  119. [LibraryClasses.X64]
  120. BoardAcpiTableLib|$(PROJECT)/Library/BoardAcpiLib/DxeBoardAcpiTableLib.inf
  121. !if $(TARGET) == DEBUG
  122. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/DxeTestPointCheckLib.inf
  123. !endif
  124. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/DxeTestPointLib.inf
  125. BoardBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/BoardBootManagerLibNull/BoardBootManagerLibNull.inf
  126. BoardBdsHookLib|BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.inf
  127. !if gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable == TRUE
  128. IpmiBaseLib|OutOfBandManagement/IpmiFeaturePkg/Library/IpmiBaseLib/IpmiBaseLib.inf
  129. !endif
  130. [LibraryClasses.X64.DXE_SMM_DRIVER]
  131. !if $(TARGET) == DEBUG
  132. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SmmTestPointCheckLib.inf
  133. !endif
  134. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/SmmTestPointLib.inf
  135. !if gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable == TRUE
  136. IpmiBaseLib|OutOfBandManagement/IpmiFeaturePkg/Library/SmmIpmiBaseLib/SmmIpmiBaseLib.inf
  137. !endif
  138. [Components.IA32]
  139. $(PLATFORM_SI_BIN_PACKAGE)/FV/FvTempMemorySilicon/$(TARGET)/FvTempMemorySilicon.inf
  140. $(PLATFORM_SI_BIN_PACKAGE)/FV/FvPreMemorySilicon/$(TARGET)/FvPreMemorySilicon.inf
  141. $(PLATFORM_SI_BIN_PACKAGE)/FV/FvPostMemorySilicon/$(TARGET)/FvPostMemorySilicon.inf
  142. $(PLATFORM_BOARD_PACKAGE)/Policy/SystemBoard/SystemBoardPei.inf
  143. $(PLATFORM_PACKAGE)/PlatformInit/ReportFv/ReportFvPei.inf
  144. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf {
  145. <LibraryClasses>
  146. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPreMemLib.inf
  147. }
  148. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf {
  149. <LibraryClasses>
  150. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPostMemLib.inf
  151. }
  152. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPreMem.inf
  153. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPostMem.inf
  154. [Components.X64]
  155. $(PLATFORM_SI_BIN_PACKAGE)/FV/FvLateSilicon/$(TARGET)/FvLateSilicon.inf
  156. $(PLATFORM_SI_BIN_PACKAGE)/Microcode/Microcode.inf
  157. $(PLATFORM_BOARD_PACKAGE)/Policy/IioUdsDataDxe/IioUdsDataDxe.inf
  158. $(PLATFORM_BOARD_PACKAGE)/Policy/PlatformCpuPolicy/PlatformCpuPolicy.inf
  159. $(PLATFORM_BOARD_PACKAGE)/Pci/PciPlatform/PciPlatform.inf
  160. $(PLATFORM_BOARD_PACKAGE)/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf {
  161. <BuildOptions>
  162. MSFT:*_*_*_ASLCC_FLAGS = /D PURLEY_FLAG /D PCH_SPT
  163. GCC:*_*_*_ASLCC_FLAGS = -D PURLEY_FLAG -D PCH_SPT
  164. }
  165. # This is for prebuild only. No need to include in final FDF.
  166. $(PLATFORM_BOARD_PACKAGE)/Acpi/BoardAcpiDxe/Dsdt.inf {
  167. <BuildOptions>
  168. MSFT:*_*_*_ASLCC_FLAGS = /D PURLEY_FLAG /D PCH_SPT
  169. GCC:*_*_*_ASLCC_FLAGS = -D PURLEY_FLAG -D PCH_SPT
  170. }
  171. $(PLATFORM_PACKAGE)/Flash/SpiFvbService/SpiFvbServiceSmm.inf
  172. $(PLATFORM_PACKAGE)/Acpi/AcpiTables/AcpiPlatform.inf
  173. $(PLATFORM_PACKAGE)/Acpi/AcpiSmm/AcpiSmm.inf {
  174. <LibraryClasses>
  175. BoardAcpiEnableLib|$(PROJECT)/Library/BoardAcpiLib/SmmBoardAcpiEnableLib.inf
  176. }
  177. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitDxe/PlatformInitDxe.inf
  178. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitSmm/PlatformInitSmm.inf
  179. $(PLATFORM_BOARD_PACKAGE)/Policy/S3NvramSave/S3NvramSave.inf
  180. BoardModulePkg/BoardBdsHookDxe/BoardBdsHookDxe.inf
  181. #
  182. # Shell
  183. #
  184. ShellPkg/Application/Shell/Shell.inf {
  185. <PcdsFixedAtBuild>
  186. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  187. <LibraryClasses>
  188. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  189. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  190. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  191. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  192. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  193. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  194. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  195. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  196. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  197. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  198. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  199. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  200. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  201. }
  202. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  203. !if gSmbiosFeaturePkgTokenSpaceGuid.PcdSmbiosFeatureEnable == TRUE
  204. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  205. !endif