]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-AEMv8Ax4-foundation.dsc
ArmPlatformPkg: Removed duplicate PCD settings
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / ArmVExpress-RTSM-AEMv8Ax4-foundation.dsc
1 #
2 # Copyright (c) 2011-2015, ARM Limited. All rights reserved.
3 #
4 # This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
8 #
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 #
12 #
13
14 ################################################################################
15 #
16 # Defines Section - statements that will be processed to create a Makefile.
17 #
18 ################################################################################
19 [Defines]
20 PLATFORM_NAME = ArmVExpressPkg-RTSM-AEMv8Ax4-foundation
21 PLATFORM_GUID = 2a9d4992-0730-11e2-9829-1c6f650265cc
22 PLATFORM_VERSION = 0.1
23 DSC_SPECIFICATION = 0x00010005
24 OUTPUT_DIRECTORY = Build/ArmVExpress-RTSM-AEMv8Ax4-foundation
25 SUPPORTED_ARCHITECTURES = AARCH64
26 BUILD_TARGETS = DEBUG|RELEASE
27 SKUID_IDENTIFIER = DEFAULT
28 FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-AEMv8Ax4-foundation.fdf
29
30 !include ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
31
32 [LibraryClasses.common]
33 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
34 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.inf
35 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressFoundationLib.inf
36
37 # Virtio Support
38 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
39 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf
40
41 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
42
43 TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
44
45 # Foundation model does not have an RTC. Use the NULL version.
46 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
47
48 [LibraryClasses.common.SEC]
49 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf
50 ArmPlatformSecLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSecLibRTSM/ArmVExpressFoundationSecLib.inf
51 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressFoundationLibSec.inf
52
53 [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_DRIVER]
54 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
55
56 [BuildOptions]
57 GCC:*_*_AARCH64_PLATFORM_FLAGS == -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM
58
59
60 ################################################################################
61 #
62 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
63 #
64 ################################################################################
65
66 [PcdsFeatureFlag.common]
67
68 !ifdef $(EDK2_SKIP_PEICORE)
69 gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE
70 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE
71 !endif
72
73 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
74 # It could be set FALSE to save size.
75 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|FALSE
76
77 [PcdsFixedAtBuild.common]
78 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Foundation Model"
79 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmFoundation"
80
81 gArmPlatformTokenSpaceGuid.PcdCoreCount|4
82
83 gArmTokenSpaceGuid.PcdVFPEnabled|1
84
85 # Stacks for MPCores in Secure World (No SRAM on foundation model, put in RAM at 64MB)
86 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0xA4008000
87 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecPrimaryStackSize|0x1000
88
89 # Stacks for MPCores in Normal World (No SRAM on foundation model, put in RAM at 64MB)
90 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0xA4000000
91 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000
92
93 # System Memory (2GB)
94 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
95 gArmTokenSpaceGuid.PcdSystemMemorySize|0x80000000
96
97 # Size of the region used by UEFI in permanent memory (Reserved 64MB)
98 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
99
100 #
101 # ARM Pcds
102 #
103 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
104
105 ## Trustzone enable (to make the transition from EL3 to EL2 in ArmPlatformPkg/Sec)
106 gArmTokenSpaceGuid.PcdTrustzoneSupport|TRUE
107
108 #
109 # ARM PrimeCell
110 #
111
112 ## PL011 - Serial Terminal
113 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1c090000
114 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400
115
116 #
117 # ARM General Interrupt Controller
118 #
119 gArmTokenSpaceGuid.PcdGicDistributorBase|0x2C001000
120 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x2C002000
121
122 #
123 # ARM OS Loader
124 #
125 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
126 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SemiHosting"
127 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/Image"
128 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"root=/dev/vda2 rw console=ttyAMA0 earlyprintk=pl011,0x1c090000 maxcpus=4 debug user_debug=31 loglevel=9"
129 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|2
130
131 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
132 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();"
133 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"
134
135 #
136 # ARM Architectural Timer Frequency
137 #
138 # Set model tick to 100MHz. This depends a lot on workstation performance.
139 gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|100000000
140
141 [PcdsDynamicDefault.common]
142 #
143 # The size of a dynamic PCD of the (VOID*) type can not be increased at run
144 # time from its size at build time. Set the "PcdFdtDevicePaths" PCD to a 128
145 # character "empty" string, to allow to be able to set FDT text device paths
146 # up to 128 characters long.
147 #
148 gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths|L" "
149
150 ################################################################################
151 #
152 # Components Section - list of all EDK II Modules needed by this Platform
153 #
154 ################################################################################
155 [Components.common]
156
157 #
158 # SEC
159 #
160 ArmPlatformPkg/Sec/Sec.inf {
161 <LibraryClasses>
162 # Use the implementation which set the Secure bits
163 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf
164 }
165
166 #
167 # PEI Phase modules
168 #
169 !ifdef $(EDK2_SKIP_PEICORE)
170 ArmPlatformPkg/PrePi/PeiMPCore.inf {
171 <LibraryClasses>
172 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
173 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressFoundationLib.inf
174 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
175 }
176 !else
177 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {
178 <LibraryClasses>
179 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
180 }
181 MdeModulePkg/Core/Pei/PeiMain.inf
182 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
183 <LibraryClasses>
184 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
185 }
186 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
187 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
188 ArmPkg/Drivers/CpuPei/CpuPei.inf
189 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
190 Nt32Pkg/BootModePei/BootModePei.inf
191 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
192 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
193 <LibraryClasses>
194 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
195 }
196 !endif
197
198 #
199 # DXE
200 #
201 MdeModulePkg/Core/Dxe/DxeMain.inf {
202 <LibraryClasses>
203 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
204 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
205 }
206
207 #
208 # Architectural Protocols
209 #
210 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
211 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
212 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
213 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
214 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
215 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
216 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
217 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
218 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
219 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
220
221 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
222 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
223 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
224 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
225 EmbeddedPkg/SerialDxe/SerialDxe.inf
226
227 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
228
229 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
230 ArmPkg/Drivers/TimerDxe/TimerDxe.inf
231 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
232
233 #
234 # Semi-hosting filesystem
235 #
236 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
237
238 #
239 # Platform Driver
240 #
241 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
242 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
243
244 #
245 # FAT filesystem + GPT/MBR partitioning
246 #
247 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
248 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
249 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
250
251 #
252 # Bds
253 #
254 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
255 ArmPlatformPkg/Bds/Bds.inf