]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.dsc
ARM Packages: Replaced the build of Fat driver and EBL by the binaries of Fat driver...
[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
98 #\r
99 # NV Storage PCDs. Use base of 0x43FC0000 for NOR0 or 0x47FC0000 for NOR1 on Versatile Express\r
100 #\r
101 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x47FC0000\r
102 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000\r
103 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x47FD0000\r
104 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000\r
105 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x47FE0000\r
106 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000\r
107\r
108 gArmTokenSpaceGuid.PcdVFPEnabled|1\r
109 \r
110 # Stacks for MPCores in Secure World\r
111 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x49E00000\r
112 # Stacks for MPCores in Monitor Mode\r
113 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x49D00000\r
114 # Stacks for MPCores in Normal World\r
115 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x48000000\r
116\r
117 # System Memory (1GB) \r
118 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x60000000\r
119 gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000\r
120 \r
121 #\r
122 # ARM Pcds\r
123 #\r
124 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r
125 \r
126 #\r
127 # ARM PrimeCell\r
128 #\r
129\r
130 ## SP804 Timer\r
131 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000\r
132 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms\r
133 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|34\r
134 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000\r
135 gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10011020\r
136 gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10012020\r
137\r
138 ## SP805 Watchdog - Motherboard Watchdog\r
139 gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x1000F000\r
140 ## SP805 Watchdog - CoreTile Watchdog\r
141 #gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x100E5000\r
142 \r
143 ## PL011 - Serial Terminal\r
144 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000\r
145 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400\r
146\r
147 ## PL031 RealTimeClock\r
148 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000\r
149\r
150 ## PL111 Lcd\r
151 # PL111 CoreTile or Tuscan Standalone controller\r
152 gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x10020000\r
153 # PL111 Versatile Express Motherboard controller\r
154 #gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x1001F000\r
155\r
156 ## PL180 MMC/SD card controller\r
157 gArmPlatformTokenSpaceGuid.PcdPL180SysMciRegAddress|0x10000048\r
158 gArmPlatformTokenSpaceGuid.PcdPL180MciBaseAddress|0x10005000\r
159 \r
160 #\r
161 # ARM PL390 General Interrupt Controller\r
162 #\r
163 gArmTokenSpaceGuid.PcdGicDistributorBase|0x1e001000\r
164 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1e000100\r
165\r
166 #\r
167 # ARM OS Loader\r
168 #\r
169 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux: \r
170 gArmTokenSpaceGuid.PcdArmMachineType|2272\r
171 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"NorFlash"\r
172 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)/MemoryMapped(0x0,0x46000000,0x46400000)"\r
173 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|""\r
174 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1\r
175\r
176 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)\r
177 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)"\r
178 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"\r
179\r
180 #\r
181 # ARM L2x0 PCDs\r
182 #\r
183 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1E00A000\r
184\r
185################################################################################\r
186#\r
187# Components Section - list of all EDK II Modules needed by this Platform\r
188#\r
189################################################################################\r
190[Components.common]\r
191 \r
192 #\r
193 # SEC\r
194 #\r
f8181c90 195 ArmPlatformPkg/Sec/Sec.inf {\r
196 <LibraryClasses>\r
197 # Use the implementation which set the Secure bits\r
198 ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf\r
199 }\r
66f530ed 200 \r
201 #\r
202 # PEI Phase modules\r
203 #\r
204!ifdef $(EDK2_SKIP_PEICORE)\r
205 ArmPlatformPkg/PrePi/PeiMPCore.inf {\r
206 <LibraryClasses>\r
66f530ed 207 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
208 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf\r
209 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf\r
210 }\r
211!else\r
212 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {\r
213 <LibraryClasses>\r
66f530ed 214 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
215 }\r
216 MdeModulePkg/Core/Pei/PeiMain.inf\r
217 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
218 <LibraryClasses>\r
219 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
220 }\r
221 ArmPlatformPkg/PlatformPei/PlatformPeim.inf\r
222 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf\r
223 ArmPkg/Drivers/CpuPei/CpuPei.inf\r
224 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
225 Nt32Pkg/BootModePei/BootModePei.inf\r
226 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
227 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
228 <LibraryClasses>\r
229 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
230 }\r
231!endif\r
232\r
233 #\r
234 # DXE\r
235 #\r
236 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
237 <LibraryClasses>\r
238 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
239 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
240 }\r
241\r
242 #\r
243 # Architectural Protocols\r
244 #\r
245 ArmPkg/Drivers/CpuDxe/CpuDxe.inf \r
246 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
247 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
248 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
249 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
250 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
251 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf \r
252 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
253 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
254 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
255\r
256 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
257 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
258 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
259 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
260 EmbeddedPkg/SerialDxe/SerialDxe.inf\r
261 \r
262 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
263\r
264 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf\r
265 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf\r
266 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf\r
267 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf\r
268 ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf\r
269\r
270 #\r
e1772adf 271 # Filesystems\r
66f530ed 272 #\r
273 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
e1772adf 274 ArmPlatformPkg/FileSystem/BootMonFs/BootMonFs.inf\r
66f530ed 275 \r
276 #\r
277 # Multimedia Card Interface\r
278 #\r
279 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
280 ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf\r
281 \r
282 #\r
283 # FAT filesystem + GPT/MBR partitioning\r
284 #\r
285 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
286 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
66f530ed 287 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
288\r
66f530ed 289 #\r
290 # Bds\r
291 #\r
292 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
293 ArmPlatformPkg/Bds/Bds.inf\r