]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.dsc
ArmPlatformPkg: Introduction of gArmPlatformTokenSpaceGuid.PcdCoreCount
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / ArmVExpress-CTA9x4.dsc
CommitLineData
66f530ed 1#\r
e314d564 2# Copyright (c) 2011-2012, ARM Limited. All rights reserved.\r
66f530ed 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-CTA9x4\r
21 PLATFORM_GUID = eb2bd5ff-2379-4a06-9c12-db905cdee9ea \r
22 PLATFORM_VERSION = 0.1\r
23 DSC_SPECIFICATION = 0x00010005\r
24!ifdef $(EDK2_ARMVE_STANDALONE)\r
25 OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4-Standalone\r
26!else\r
27 OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4\r
28!endif\r
29 SUPPORTED_ARCHITECTURES = ARM\r
30 BUILD_TARGETS = DEBUG|RELEASE\r
31 SKUID_IDENTIFIER = DEFAULT\r
32 FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.fdf\r
33\r
34!include ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc\r
35\r
36[LibraryClasses.common]\r
37 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
38 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf\r
39 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf\r
65acd8e7 40 ArmTrustZoneLib|ArmPlatformPkg/Drivers/ArmTrustZone/ArmTrustZone.inf\r
66f530ed 41\r
42 # ARM PL310 L2 Cache Driver\r
43 L2X0CacheLib|ArmPlatformPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf\r
44 # ARM PL354 SMC Driver\r
45 PL35xSmcLib|ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf\r
46 # ARM PL341 DMC Driver\r
47 PL341DmcLib|ArmPlatformPkg/Drivers/PL34xDmc/PL341Dmc.inf\r
48 # ARM PL301 Axi Driver\r
49 PL301AxiLib|ArmPlatformPkg/Drivers/PL301Axi/PL301Axi.inf\r
50 \r
51 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf\r
52 NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf\r
53 LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf\r
54\r
55[LibraryClasses.common.SEC]\r
56 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf\r
e314d564 57 ArmPlatformSecLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSecLibCTA9x4/ArmVExpressSecLib.inf\r
58 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLibSec.inf\r
66f530ed 59\r
60 # Uncomment to turn on GDB stub in SEC. \r
61 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf\r
66f530ed 62\r
63[BuildOptions]\r
64 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4\r
65\r
66 GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a9 -mfpu=neon -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4\r
67 \r
81be6e07 68 XCODE:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a9 -mfpu=neon -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4\r
66f530ed 69\r
70################################################################################\r
71#\r
72# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
73#\r
74################################################################################\r
75\r
76[PcdsFeatureFlag.common]\r
77!ifdef $(EDK2_ARMVE_STANDALONE)\r
78 gArmPlatformTokenSpaceGuid.PcdStandalone|TRUE\r
79!else\r
80 gArmPlatformTokenSpaceGuid.PcdStandalone|FALSE\r
81 gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE\r
82 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE\r
83!endif\r
84\r
85!ifdef $(EDK2_SKIP_PEICORE)\r
86 gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE\r
87 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE\r
88!endif\r
89 \r
90 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.\r
91 # It could be set FALSE to save size.\r
92 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
93\r
94[PcdsFixedAtBuild.common]\r
95 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express" \r
96 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmVExpress"\r
97\r
695df8ba 98 gArmPlatformTokenSpaceGuid.PcdCoreCount|4\r
99\r
66f530ed 100 #\r
101 # NV Storage PCDs. Use base of 0x43FC0000 for NOR0 or 0x47FC0000 for NOR1 on Versatile Express\r
102 #\r
103 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x47FC0000\r
104 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000\r
105 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x47FD0000\r
106 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000\r
107 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x47FE0000\r
108 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000\r
109\r
110 gArmTokenSpaceGuid.PcdVFPEnabled|1\r
111 \r
112 # Stacks for MPCores in Secure World\r
113 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x49E00000\r
114 # Stacks for MPCores in Monitor Mode\r
115 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x49D00000\r
116 # Stacks for MPCores in Normal World\r
117 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x48000000\r
118\r
119 # System Memory (1GB) \r
120 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x60000000\r
121 gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000\r
122 \r
123 #\r
124 # ARM Pcds\r
125 #\r
126 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r
127 \r
128 #\r
129 # ARM PrimeCell\r
130 #\r
131\r
132 ## SP804 Timer\r
133 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000\r
134 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms\r
135 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|34\r
136 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000\r
137 gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10011020\r
138 gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10012020\r
139\r
140 ## SP805 Watchdog - Motherboard Watchdog\r
141 gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x1000F000\r
142 ## SP805 Watchdog - CoreTile Watchdog\r
143 #gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x100E5000\r
144 \r
145 ## PL011 - Serial Terminal\r
146 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000\r
147 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400\r
148\r
149 ## PL031 RealTimeClock\r
150 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000\r
151\r
152 ## PL111 Lcd\r
153 # PL111 CoreTile or Tuscan Standalone controller\r
154 gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x10020000\r
155 # PL111 Versatile Express Motherboard controller\r
156 #gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x1001F000\r
157\r
158 ## PL180 MMC/SD card controller\r
159 gArmPlatformTokenSpaceGuid.PcdPL180SysMciRegAddress|0x10000048\r
160 gArmPlatformTokenSpaceGuid.PcdPL180MciBaseAddress|0x10005000\r
161 \r
162 #\r
163 # ARM PL390 General Interrupt Controller\r
164 #\r
165 gArmTokenSpaceGuid.PcdGicDistributorBase|0x1e001000\r
166 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1e000100\r
167\r
168 #\r
169 # ARM OS Loader\r
170 #\r
171 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux: \r
172 gArmTokenSpaceGuid.PcdArmMachineType|2272\r
173 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"NorFlash"\r
174 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)/MemoryMapped(0x0,0x46000000,0x46400000)"\r
175 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|""\r
176 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1\r
177\r
178 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)\r
179 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)"\r
180 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"\r
181\r
182 #\r
183 # ARM L2x0 PCDs\r
184 #\r
185 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1E00A000\r
186\r
187################################################################################\r
188#\r
189# Components Section - list of all EDK II Modules needed by this Platform\r
190#\r
191################################################################################\r
192[Components.common]\r
193 \r
194 #\r
195 # SEC\r
196 #\r
f8181c90 197 ArmPlatformPkg/Sec/Sec.inf {\r
198 <LibraryClasses>\r
199 # Use the implementation which set the Secure bits\r
200 ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf\r
201 }\r
66f530ed 202 \r
203 #\r
204 # PEI Phase modules\r
205 #\r
206!ifdef $(EDK2_SKIP_PEICORE)\r
207 ArmPlatformPkg/PrePi/PeiMPCore.inf {\r
208 <LibraryClasses>\r
66f530ed 209 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
210 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf\r
211 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf\r
212 }\r
213!else\r
214 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {\r
215 <LibraryClasses>\r
66f530ed 216 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
217 }\r
218 MdeModulePkg/Core/Pei/PeiMain.inf\r
219 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
220 <LibraryClasses>\r
221 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
222 }\r
223 ArmPlatformPkg/PlatformPei/PlatformPeim.inf\r
224 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf\r
225 ArmPkg/Drivers/CpuPei/CpuPei.inf\r
226 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
227 Nt32Pkg/BootModePei/BootModePei.inf\r
228 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
229 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
230 <LibraryClasses>\r
231 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
232 }\r
233!endif\r
234\r
235 #\r
236 # DXE\r
237 #\r
238 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
239 <LibraryClasses>\r
240 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
241 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
242 }\r
243\r
244 #\r
245 # Architectural Protocols\r
246 #\r
247 ArmPkg/Drivers/CpuDxe/CpuDxe.inf \r
248 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
249 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
250 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
251 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
252 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
253 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf \r
254 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
255 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
256 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
257\r
258 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
259 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
260 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
261 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
262 EmbeddedPkg/SerialDxe/SerialDxe.inf\r
263 \r
264 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
265\r
266 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf\r
267 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf\r
268 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf\r
269 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf\r
270 ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf\r
271\r
272 #\r
e1772adf 273 # Filesystems\r
66f530ed 274 #\r
275 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
276 \r
277 #\r
278 # Multimedia Card Interface\r
279 #\r
280 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
281 ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf\r
282 \r
283 #\r
284 # FAT filesystem + GPT/MBR partitioning\r
285 #\r
286 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
287 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
66f530ed 288 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
289\r
66f530ed 290 #\r
291 # Bds\r
292 #\r
293 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
294 ArmPlatformPkg/Bds/Bds.inf\r