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