]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-A9x2.dsc
ArmPkg: Removed 'ArmV7/ArmV7MPCore*' files
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / ArmRealViewEb-RTSM-A9x2.dsc
1 #
2 # Copyright (c) 2011, ARM Limited. All rights reserved.
3 #
4 # This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
8 #
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 #
12 #
13
14 ################################################################################
15 #
16 # Defines Section - statements that will be processed to create a Makefile.
17 #
18 ################################################################################
19 [Defines]
20 PLATFORM_NAME = ArmRealViewEb-RTSM-A9x2
21 PLATFORM_GUID = f6c2f4a0-2027-11e0-a2a1-0002a5d5c51b
22 PLATFORM_VERSION = 0.1
23 DSC_SPECIFICATION = 0x00010005
24 OUTPUT_DIRECTORY = Build/ArmRealViewEb-RTSM-A9x2
25 SUPPORTED_ARCHITECTURES = ARM
26 BUILD_TARGETS = DEBUG|RELEASE
27 SKUID_IDENTIFIER = DEFAULT
28 FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf
29
30 !include ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb.dsc.inc
31
32 [LibraryClasses.common]
33 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
34 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf
35 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
36
37 # ARM PL390 General Interrupt Driver in Secure and Non-secure
38 ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
39 ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
40
41 [LibraryClasses.common.SEC]
42 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
43 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbSecLib.inf
44
45 [BuildOptions]
46 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A9 --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
47
48 GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a9 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
49
50 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
51
52
53 ################################################################################
54 #
55 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
56 #
57 ################################################################################
58
59 [PcdsFeatureFlag.common]
60 !if $(EDK2_SKIP_PEICORE) == 1
61 gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE
62 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE
63 !endif
64
65 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
66 # It could be set FALSE to save size.
67 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
68
69 [PcdsFixedAtBuild.common]
70 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board"
71 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A9x2"
72
73 #
74 # NV Storage PCDs. Use base of 0x43F00000 for NOR0
75 #
76 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000
77 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x000C0000
78 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43FC0000
79 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000
80 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43FE0000
81 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000
82
83 # Stacks for MPCores in Secure World
84 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000
85 # Stacks for MPCores in Monitor Mode
86 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000
87 # Stacks for MPCores in Normal World
88 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x48000000
89
90 # System Memory (256MB)
91 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000
92 gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000
93
94 # Size of the region used by UEFI in permanent memory (Reserved 64MB)
95 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
96
97 #
98 # ARM Pcds
99 #
100 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
101
102 #
103 # ARM EB PCDS
104 #
105 gArmRealViewEbPkgTokenSpaceGuid.PcdGdbUartBase|0x1000a000
106
107 #
108 # ARM PrimeCells
109 #
110
111 ## SP804 Timer
112 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000
113 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms
114 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|33
115 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000
116 gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10011020
117 gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10012020
118
119 ## PL031 RealTimeClock
120 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000
121
122 ## PL111 Lcd
123 gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x10020000
124
125 #
126 # ARM PL011 - Serial Terminal
127 #
128 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000
129
130 #
131 # ARM PL390 General Interrupt Controller
132 #
133 gArmTokenSpaceGuid.PcdGicDistributorBase|0x1F001000
134 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1F000100
135 gArmTokenSpaceGuid.PcdGicNumInterrupts|96
136
137 #
138 # ARM L2x0 PCDs
139 #
140 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000
141
142 ################################################################################
143 #
144 # Components Section - list of all EDK II Modules needed by this Platform
145 #
146 ################################################################################
147 [Components.common]
148
149 #
150 # SEC
151 #
152 ArmPlatformPkg/Sec/Sec.inf
153
154 #
155 # PEI Phase modules
156 #
157 !if $(EDK2_SKIP_PEICORE) == 1
158 ArmPlatformPkg/PrePi/PeiMPCore.inf {
159 <LibraryClasses>
160 ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
161 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
162 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
163 }
164 !else
165 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {
166 <LibraryClasses>
167 ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
168 }
169 MdeModulePkg/Core/Pei/PeiMain.inf
170 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
171 <LibraryClasses>
172 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
173 }
174 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
175 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
176 ArmPkg/Drivers/CpuPei/CpuPei.inf
177 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
178 Nt32Pkg/BootModePei/BootModePei.inf
179 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
180 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
181 <LibraryClasses>
182 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
183 }
184 !endif
185
186 #
187 # DXE
188 #
189 MdeModulePkg/Core/Dxe/DxeMain.inf {
190 <LibraryClasses>
191 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
192 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
193 }
194
195 #
196 # Architectural Protocols
197 #
198 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
199 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
200 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
201 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
202 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
203 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
204 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
205 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
206
207 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
208 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
209 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
210
211 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
212 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
213 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf
214
215 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
216 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
217 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
218 EmbeddedPkg/SerialDxe/SerialDxe.inf
219
220 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
221 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
222
223 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
224
225 #
226 # Semi-hosting filesystem
227 #
228 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
229
230 #
231 # FAT filesystem + GPT/MBR partitioning
232 #
233 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
234 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
235 FatPkg/EnhancedFatDxe/Fat.inf
236 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
237
238 #
239 # Application
240 #
241 EmbeddedPkg/Ebl/Ebl.inf
242
243 #
244 # Bds
245 #
246 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
247 ArmPlatformPkg/Bds/Bds.inf