]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-A9x4.dsc
ARM Packages: Removed trailing spaces
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / ArmVExpress-RTSM-A9x4.dsc
CommitLineData
0db25ccc 1#\r
eb98fc6d 2# Copyright (c) 2011-2014, ARM Limited. All rights reserved.\r
0db25ccc 3#\r
3402aac7
RC
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
0db25ccc 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-A9x4\r
21 PLATFORM_GUID = e46039e0-5bb3-11e0-a9d6-0002a5d5c51b\r
22 PLATFORM_VERSION = 0.1\r
23 DSC_SPECIFICATION = 0x00010005\r
24 OUTPUT_DIRECTORY = Build/ArmVExpress-RTSM-A9x4\r
25 SUPPORTED_ARCHITECTURES = ARM\r
26 BUILD_TARGETS = DEBUG|RELEASE\r
27 SKUID_IDENTIFIER = DEFAULT\r
28 FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-A9x4.fdf\r
29\r
30!include ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc\r
31\r
32[LibraryClasses.common]\r
33 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
34 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf\r
35 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf\r
3402aac7 36\r
0db25ccc 37 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf\r
38 NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf\r
39 LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf\r
40\r
41 #DebugAgentTimerLib|ArmPlatformPkg/ArmVExpressPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf\r
42\r
974d6117
LE
43\r
44 # Virtio Support\r
45 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
46 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf\r
47\r
0db25ccc 48[LibraryClasses.common.SEC]\r
49 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf\r
e314d564 50 ArmPlatformSecLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSecLibRTSM/ArmVExpressSecLib.inf\r
51 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLibSec.inf\r
0db25ccc 52\r
3402aac7 53 # Uncomment to turn on GDB stub in SEC.\r
0db25ccc 54 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf\r
3402aac7 55\r
0db25ccc 56[BuildOptions]\r
57 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM\r
58\r
eb98fc6d 59 GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a9 -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM\r
3402aac7 60\r
eb98fc6d 61 XCODE:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM\r
0db25ccc 62\r
63################################################################################\r
64#\r
65# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
66#\r
67################################################################################\r
68\r
69[PcdsFeatureFlag.common]\r
70\r
e7c578c9 71!ifdef EDK2_SKIP_PEICORE\r
0db25ccc 72 gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE\r
73 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE\r
74!endif\r
3402aac7 75\r
0db25ccc 76 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.\r
77 # It could be set FALSE to save size.\r
78 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
3402aac7 79\r
0db25ccc 80[PcdsFixedAtBuild.common]\r
81 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"\r
82 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmVExpress-RTSM"\r
83\r
695df8ba 84 gArmPlatformTokenSpaceGuid.PcdCoreCount|4\r
85\r
0db25ccc 86 #\r
87 # NV Storage PCDs. Use base of 0x0C000000 for NOR1\r
88 #\r
89 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0FFC0000\r
90 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000\r
91 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0FFD0000\r
92 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000\r
93 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x0FFE0000\r
94 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000\r
95\r
96 gArmTokenSpaceGuid.PcdVFPEnabled|1\r
3402aac7 97\r
0db25ccc 98 # Stacks for MPCores in Secure World\r
99 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x2E009000\r
100 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecPrimaryStackSize|0x1000\r
3402aac7 101\r
0db25ccc 102 # Stacks for MPCores in Monitor Mode\r
103 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x2E008000\r
104 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x100\r
3402aac7 105\r
0db25ccc 106 # Stacks for MPCores in Normal World\r
107 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x2E000000\r
108 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000\r
109\r
3402aac7 110 # System Memory (1GB)\r
0db25ccc 111 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000\r
112 gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000\r
3402aac7 113\r
0db25ccc 114 # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r
115 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r
3402aac7 116\r
0db25ccc 117 #\r
118 # ARM Pcds\r
119 #\r
120 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r
3402aac7 121\r
0db25ccc 122 #\r
123 # ARM PrimeCell\r
124 #\r
125\r
126 ## SP804 Timer\r
127 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000\r
128 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms\r
129 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|34\r
130 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x1c110000\r
131 gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x1c110020\r
0db25ccc 132 gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x1c120020\r
133\r
134 ## SP805 Watchdog - Motherboard Watchdog\r
135 gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x1C0F0000\r
3402aac7 136\r
0db25ccc 137 ## PL011 - Serial Terminal\r
138 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1c090000\r
139 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400\r
0db25ccc 140\r
141 ## PL031 RealTimeClock\r
142 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x1C170000\r
143\r
144 ## PL111 Versatile Express Motherboard controller\r
145 gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x1C1F0000\r
146\r
147 ## PL180 MMC/SD card controller\r
148 gArmPlatformTokenSpaceGuid.PcdPL180SysMciRegAddress|0x1C010048\r
149 gArmPlatformTokenSpaceGuid.PcdPL180MciBaseAddress|0x1C050000\r
3402aac7 150\r
0db25ccc 151 #\r
017baa1c 152 # ARM General Interrupt Controller\r
0db25ccc 153 #\r
154 gArmTokenSpaceGuid.PcdGicDistributorBase|0x2C001000\r
155 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x2C000100\r
156\r
157 #\r
158 # ARM OS Loader\r
159 #\r
3402aac7 160 # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:\r
0db25ccc 161 gArmTokenSpaceGuid.PcdArmMachineType|2272\r
162 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"SemiHosting"\r
163 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/zImage"\r
1cb7c119 164 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|2\r
165 gArmPlatformTokenSpaceGuid.PcdFdtDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/rtsm_ve-cortex_a9x4.dtb"\r
0db25ccc 166\r
167 # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)\r
168 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)"\r
169 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"\r
170\r
171 #\r
172 # ARM L2x0 PCDs\r
173 #\r
174 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1E00A000\r
175\r
176################################################################################\r
177#\r
178# Components Section - list of all EDK II Modules needed by this Platform\r
179#\r
180################################################################################\r
181[Components.common]\r
3402aac7 182\r
0db25ccc 183 #\r
184 # SEC\r
185 #\r
f8181c90 186 ArmPlatformPkg/Sec/Sec.inf {\r
187 <LibraryClasses>\r
188 # Use the implementation which set the Secure bits\r
017baa1c 189 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf\r
f8181c90 190 }\r
3402aac7 191\r
0db25ccc 192 #\r
193 # PEI Phase modules\r
194 #\r
e7c578c9 195!ifdef EDK2_SKIP_PEICORE\r
0db25ccc 196 ArmPlatformPkg/PrePi/PeiMPCore.inf {\r
197 <LibraryClasses>\r
0db25ccc 198 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
199 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf\r
200 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf\r
201 }\r
202!else\r
203 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {\r
204 <LibraryClasses>\r
0db25ccc 205 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r
206 }\r
207 MdeModulePkg/Core/Pei/PeiMain.inf\r
208 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
209 <LibraryClasses>\r
210 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
211 }\r
212 ArmPlatformPkg/PlatformPei/PlatformPeim.inf\r
213 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf\r
214 ArmPkg/Drivers/CpuPei/CpuPei.inf\r
215 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
216 Nt32Pkg/BootModePei/BootModePei.inf\r
217 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
218 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
219 <LibraryClasses>\r
220 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
221 }\r
222!endif\r
223\r
224 #\r
225 # DXE\r
226 #\r
227 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
228 <LibraryClasses>\r
229 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
230 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
231 }\r
232\r
233 #\r
234 # Architectural Protocols\r
235 #\r
3402aac7 236 ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
0db25ccc 237 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
238 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
239 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
240 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
241 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
3402aac7 242 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
0db25ccc 243 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
244 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
245 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
246\r
247 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
248 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
249 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
250 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
251 EmbeddedPkg/SerialDxe/SerialDxe.inf\r
252\r
253 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
254\r
017baa1c 255 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r
0db25ccc 256 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf\r
257 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf\r
258 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf\r
259 ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf\r
3402aac7 260\r
0db25ccc 261 #\r
262 # Semi-hosting filesystem\r
263 #\r
264 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
3402aac7 265\r
0db25ccc 266 #\r
267 # Multimedia Card Interface\r
268 #\r
269 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
270 ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf\r
62d441fb
RC
271\r
272 #\r
273 # Platform Driver\r
274 #\r
275 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf\r
276 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
3402aac7 277\r
0db25ccc 278 #\r
279 # FAT filesystem + GPT/MBR partitioning\r
280 #\r
281 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
282 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
0db25ccc 283 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
284\r
0db25ccc 285 #\r
286 # Bds\r
287 #\r
288 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
289 ArmPlatformPkg/Bds/Bds.inf\r