]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-A15_MPCore.dsc
ArmPlatformPkg: Use SerialDxe in MdeModulePkg instead of EmbeddedPkg
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / ArmVExpress-RTSM-A15_MPCore.dsc
CommitLineData
88d4f51d 1#\r
04f1a709 2# Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r
921e987b 3# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
88d4f51d 4#\r
3402aac7
RC
5# This program and the accompanying materials\r
6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
9#\r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
88d4f51d 12#\r
13#\r
14\r
15################################################################################\r
16#\r
17# Defines Section - statements that will be processed to create a Makefile.\r
18#\r
19################################################################################\r
20[Defines]\r
21 PLATFORM_NAME = ArmVExpressPkg-RTSM-A15_MPCore\r
22 PLATFORM_GUID = 3a91a0f8-3af4-409d-a71d-a199dc134357\r
23 PLATFORM_VERSION = 0.1\r
24 DSC_SPECIFICATION = 0x00010005\r
25 OUTPUT_DIRECTORY = Build/ArmVExpress-RTSM-A15_MPCore\r
26 SUPPORTED_ARCHITECTURES = ARM\r
27 BUILD_TARGETS = DEBUG|RELEASE\r
28 SKUID_IDENTIFIER = DEFAULT\r
29 FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-RTSM-A15_MPCore.fdf\r
30\r
31!include ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc\r
32\r
33[LibraryClasses.common]\r
34 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
35 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA15Lib/ArmCortexA15Lib.inf\r
36 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf\r
3402aac7 37\r
88d4f51d 38 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf\r
39 NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf\r
40 LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf\r
41\r
42 #DebugAgentTimerLib|ArmPlatformPkg/ArmVExpressPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf\r
43\r
3402aac7 44 TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf\r
88d4f51d 45\r
974d6117
LE
46 # Virtio Support\r
47 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
48 VirtioMmioDeviceLib|OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceLib.inf\r
49\r
88d4f51d 50[LibraryClasses.common.SEC]\r
51 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf\r
e314d564 52 ArmPlatformSecLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSecLibRTSM/ArmVExpressSecLib.inf\r
53 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLibSec.inf\r
00b21534 54\r
04f1a709
RC
55[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_DRIVER]\r
56 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
57\r
88d4f51d 58[BuildOptions]\r
59 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15 -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM\r
60\r
eb98fc6d 61 GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a15 -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM\r
3402aac7 62\r
88d4f51d 63 XCODE:*_*_ARM_PLATFORM_FLAGS = -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/RTSM\r
64\r
65################################################################################\r
66#\r
67# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
68#\r
69################################################################################\r
70\r
71[PcdsFeatureFlag.common]\r
e7c578c9 72!ifdef EDK2_SKIP_PEICORE\r
88d4f51d 73 gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE\r
74 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE\r
75!endif\r
3402aac7 76\r
88d4f51d 77 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.\r
78 # It could be set FALSE to save size.\r
79 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
3402aac7 80\r
88d4f51d 81[PcdsFixedAtBuild.common]\r
82 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"\r
88d4f51d 83 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmVExpress-RTSM"\r
84\r
695df8ba 85 gArmPlatformTokenSpaceGuid.PcdCoreCount|2\r
86\r
88d4f51d 87 #\r
88 # NV Storage PCDs. Use base of 0x0C000000 for NOR1\r
89 #\r
33fc8b0f
RF
90!if $(EDK2_ARMVE_SUPPORT_QEMU) == 1\r
91 # QEMU only models a single flash block size, so use larger blocks\r
92 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0FF00000\r
93 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00040000\r
94 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0FF40000\r
95 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00040000\r
96 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x0FF80000\r
97 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00040000\r
98!else\r
88d4f51d 99 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0FFC0000\r
100 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000\r
101 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0FFD0000\r
102 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000\r
103 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x0FFE0000\r
104 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000\r
33fc8b0f 105!endif\r
88d4f51d 106\r
107 gArmTokenSpaceGuid.PcdVFPEnabled|1\r
3402aac7 108\r
88d4f51d 109 # Stacks for MPCores in Secure World\r
110 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x2E009000\r
111 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecPrimaryStackSize|0x1000\r
3402aac7 112\r
88d4f51d 113 # Stacks for MPCores in Monitor Mode\r
114 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x2E008000\r
115 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x100\r
3402aac7 116\r
88d4f51d 117 # Stacks for MPCores in Normal World\r
118 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x2E000000\r
119 gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000\r
3402aac7
RC
120\r
121 # System Memory (1GB)\r
88d4f51d 122 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000\r
123 gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000\r
3402aac7 124\r
88d4f51d 125 # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r
126 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r
3402aac7 127\r
88d4f51d 128 #\r
129 # ARM Pcds\r
130 #\r
131 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r
3402aac7 132\r
88d4f51d 133 #\r
134 # ARM PrimeCell\r
135 #\r
136\r
137 ## SP805 Watchdog - Motherboard Watchdog\r
138 gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x1C0F0000\r
3402aac7 139\r
88d4f51d 140 ## PL011 - Serial Terminal\r
141 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x1c090000\r
142 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400\r
88d4f51d 143\r
144 ## PL031 RealTimeClock\r
145 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x1C170000\r
146\r
147 ## PL111 Versatile Express Motherboard controller\r
148 gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x1C1F0000\r
3402aac7 149\r
53f39c6c 150 ## PL180 MMC/SD card controller\r
151 gArmPlatformTokenSpaceGuid.PcdPL180SysMciRegAddress|0x1C010048\r
152 gArmPlatformTokenSpaceGuid.PcdPL180MciBaseAddress|0x1C050000\r
3402aac7 153\r
88d4f51d 154 #\r
017baa1c 155 # ARM General Interrupt Controller\r
88d4f51d 156 #\r
157 gArmTokenSpaceGuid.PcdGicDistributorBase|0x2C001000\r
158 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x2C002000\r
159\r
160 #\r
161 # ARM OS Loader\r
162 #\r
c14effd7
OM
163 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SemiHosting"\r
164 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"Fv(12C68BE9-0996-49D3-8C5B-4957379027EE)/LinuxLoader.efi"\r
165 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/Image -c \"console=ttyAMA0,38400 earlyprintk debug verbose\""\r
88d4f51d 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
88d4f51d 171 #\r
b4a6629f 172 # ARM Architectural Timer Frequency\r
88d4f51d 173 #\r
b4a6629f 174 gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|100000000\r
3402aac7 175\r
04f1a709
RC
176[PcdsDynamicDefault.common]\r
177 #\r
178 # The size of a dynamic PCD of the (VOID*) type can not be increased at run\r
179 # time from its size at build time. Set the "PcdFdtDevicePaths" PCD to a 128\r
180 # character "empty" string, to allow to be able to set FDT text device paths\r
181 # up to 128 characters long.\r
182 #\r
183 gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths|L" "\r
3402aac7 184\r
88d4f51d 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
3402aac7 191\r
88d4f51d 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
017baa1c 198 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf\r
f8181c90 199 }\r
3402aac7 200\r
88d4f51d 201 #\r
202 # PEI Phase modules\r
203 #\r
e7c578c9 204!ifdef EDK2_SKIP_PEICORE\r
88d4f51d 205 ArmPlatformPkg/PrePi/PeiMPCore.inf {\r
206 <LibraryClasses>\r
207 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
208 ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/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
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
9435a57e 229 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
88d4f51d 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
3402aac7 245 ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r
88d4f51d 246 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
247 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
248 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
e820fe36
SZ
249 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
250 <LibraryClasses>\r
251 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
252 }\r
88d4f51d 253 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
3402aac7 254 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
88d4f51d 255 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
256 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
257 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
258\r
259 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
260 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
261 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
262 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
921e987b 263 MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
88d4f51d 264\r
265 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
266\r
017baa1c 267 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf\r
88d4f51d 268 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf\r
269 ArmPkg/Drivers/TimerDxe/TimerDxe.inf\r
270 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf\r
271 ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf\r
3402aac7 272\r
88d4f51d 273 #\r
274 # Semi-hosting filesystem\r
275 #\r
276 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
3402aac7 277\r
88d4f51d 278 #\r
279 # Multimedia Card Interface\r
280 #\r
281 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
282 ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf\r
62d441fb
RC
283\r
284 #\r
285 # Platform Driver\r
286 #\r
287 ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf\r
288 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
3402aac7 289\r
88d4f51d 290 #\r
291 # FAT filesystem + GPT/MBR partitioning\r
292 #\r
293 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
294 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
88d4f51d 295 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
296\r
88d4f51d 297 #\r
298 # Bds\r
299 #\r
300 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
301 ArmPlatformPkg/Bds/Bds.inf\r