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