summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/PlatformPkgX64Gcc.dsc
blob: ab15dcc33d195cc6e84f0c0e9bee06351514bed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
## @file
#  Platform description.
#
#  Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>
#
#  This program and the accompanying materials
#  are licensed and made available under the terms and conditions of the BSD License
#  which accompanies this distribution. The full text of the license may be found at
#  http://opensource.org/licenses/bsd-license.php.
#
#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
##

################################################################################
#
# Defines Section - statements that will be processed to create a Makefile.
#
################################################################################
[Defines]
  PLATFORM_NAME                       = BroxtonPlatformPkg
  PLATFORM_GUID                       = 1D3686CF-D2CE-4B6E-9F59-28F61976CB73
  PLATFORM_VERSION                    = 0.1
  DSC_SPECIFICATION                   = 0x00010005

  OUTPUT_DIRECTORY                    = Build/$(PLATFORM_NAME)
  SUPPORTED_ARCHITECTURES             = IA32|X64
  BUILD_TARGETS                       = DEBUG|RELEASE
  SKUID_IDENTIFIER                    = DEFAULT

  #
  # Set platform specific package/folder names, same as passed from PREBUILD script.
  # PLATFORM_PACKAGE would be the same as PLATFORM_NAME as well as package build folder
  # The CORE_PACKAGES value could be set to '.' if Core packages get moved to Workspace root
  #
  DEFINE SILICON_NAME                    = BroxtonSoC
  DEFINE PLATFORM_PACKAGE_COMMON         = $(PLATFORM_NAME)/Common
  DEFINE PLATFORM_SI_PACKAGE             = $(SILICON_NAME)/BroxtonSiPkg

  !include DefineAtBuildMacros.dsc
  !include PlatformDsc/Defines.dsc

################################################################################
#
# SKU Identification section - list of all SKU IDs supported by this Platform.
#
################################################################################
[SkuIds]
  0|DEFAULT              # The entry: 0|DEFAULT is reserved and always required.

################################################################################
#
# Library Class section - list of all Library Classes needed by this Platform.
#
################################################################################
[LibraryClasses.Common]
  #
  # RC Package
  #
  !include $(WORKSPACE)/edk2-platforms/Silicon/$(PLATFORM_SI_PACKAGE)/SiPkgCommonLib.dsc
  #
  # Platform
  #
  !include PlatformDsc/LibraryClasses.dsc

[LibraryClasses.IA32.SEC]
  !if $(PERFORMANCE_ENABLE) == TRUE
    PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  !endif

[LibraryClasses.IA32.PEIM, LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.SEC]
!if $(PERFORMANCE_ENABLE) == TRUE
  !if $(INTEL_FPDT_ENABLE) == TRUE
    PerformanceLib|$(PLATFORM_PACKAGE_COMMON)/Library/PeiFpdtPerformanceLib/PeiFpdtPerformanceLib.inf
  !else
    PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
  !endif
!endif
  #
  # RC Package
  #
  !include $(WORKSPACE)/edk2-platforms/Silicon/$(PLATFORM_SI_PACKAGE)/SiPkgPeiLib.dsc

  !include PlatformDsc/LibraryClasses.IA32.PEI.dsc

[LibraryClasses.IA32.PEIM, LibraryClasses.IA32.PEI_CORE]
!if $(PERFORMANCE_ENABLE) == TRUE
  !if $(INTEL_FPDT_ENABLE) == TRUE
    PerformanceLib|$(PLATFORM_PACKAGE_COMMON)/Library/PeiFpdtPerformanceLib/PeiFpdtPerformanceLib.inf
  !else
    PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
  !endif
  TimerLib|$(PLATFORM_PACKAGE_COMMON)/Library/PlatformTscTimerLib/DxeTscTimerLib.inf
!endif

[LibraryClasses.IA32.DXE_DRIVER]
  !if $(PERFORMANCE_ENABLE) == TRUE
    PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
    TimerLib|$(PLATFORM_PACKAGE_COMMON)/Library/PlatformTscTimerLib/DxeTscTimerLib.inf
  !endif

[LibraryClasses.Common.DXE_DRIVER, LibraryClasses.Common.DXE_CORE, LibraryClasses.Common.DXE_SMM_DRIVER, LibraryClasses.Common.SMM_CORE, LibraryClasses.Common.DXE_RUNTIME_DRIVER]
  #
  # RC Package
  #
  !include $(WORKSPACE)/edk2-platforms/Silicon/$(PLATFORM_SI_PACKAGE)/SiPkgDxeLib.dsc

[LibraryClasses.Common.DXE_DRIVER]
  !include PlatformDsc/LibraryClasses.DxeDriver.dsc

[LibraryClasses.Common.DXE_CORE]
  !include PlatformDsc/LibraryClasses.DxeCore.dsc

[LibraryClasses.Common.DXE_SMM_DRIVER]
  !include PlatformDsc/LibraryClasses.DxeSmmDriver.dsc

[LibraryClasses.Common.SMM_CORE]
  !include PlatformDsc/LibraryClasses.SmmCore.dsc

[LibraryClasses.Common.DXE_RUNTIME_DRIVER]
  !include PlatformDsc/LibraryClasses.DxeRuntimeDriver.dsc

[LibraryClasses.Common.UEFI_APPLICATION]
  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf

################################################################################
#
# Pcd Section - list of all EDK II PCD Entries defined by this Platform
#
################################################################################
[PcdsFeatureFlag.Common]
  !include PlatformDsc/PcdsFeatureFlag.dsc

[PcdsFixedAtBuild.Common]
  gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|0x9
  !include PlatformDsc/PcdsFixedAtBuild.dsc

[PcdsPatchableInModule.Common]
  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x807B05FF
  gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x$(PLATFORM_PCIEXPRESS_BASE)
  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLegacyBiosCacheLegacyRegion|FALSE
  ## Default Creator ID for ACPI table creation, override to "BRXT"
  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId|0x54585242

[PcdsDynamicHii.Common.DEFAULT]
  !include PlatformDsc/PcdsDynamicHii.Default.dsc

[PcdsDynamicDefault.Common.DEFAULT]
  !include PlatformDsc/PcdsDynamicDefault.Default.dsc

[Components.IA32]
  !include $(WORKSPACE)/edk2-platforms/Silicon/$(PLATFORM_SI_PACKAGE)/SiPkgPei.dsc
  !include PlatformDsc/Components.IA32.dsc

[Components.X64]
  !include $(WORKSPACE)/edk2-platforms/Silicon/$(PLATFORM_SI_PACKAGE)/SiPkgDxe.dsc
  !include PlatformDsc/Components.dsc
  $(PLATFORM_SI_PACKAGE)/SouthCluster/ScInit/Dxe/ScInitDxe.inf

################################################################################
#
# Build Options section - list of all Build Flags used by this Platform.
#
################################################################################
#[BuildOptions.Common]

[BuildOptions.Common.EDKII]
   !include PlatformDsc/BuildOptions.EDKII.Gcc.dsc