]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-A9x2.dsc
ARM Packages: Removed trailing spaces
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / ArmRealViewEb-RTSM-A9x2.dsc
1 #
2 # Copyright (c) 2011-2014, 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 [LibraryClasses.common.SEC]
38 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
39 ArmPlatformSecLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbSecLibRTSM/ArmRealViewEbSecLib.inf
40 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLibSec.inf
41
42 [BuildOptions]
43 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
44
45 GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a9 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
46
47 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
48
49
50 ################################################################################
51 #
52 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
53 #
54 ################################################################################
55
56 [PcdsFeatureFlag.common]
57 !ifdef EDK2_SKIP_PEICORE
58 gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE
59 gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE
60 !endif
61
62 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
63 # It could be set FALSE to save size.
64 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
65
66 [PcdsFixedAtBuild.common]
67 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board"
68 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A9x2"
69
70 gArmPlatformTokenSpaceGuid.PcdCoreCount|2
71
72 #
73 # NV Storage PCDs. Use base of 0x43F00000 for NOR0
74 #
75 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000
76 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00020000
77 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43F20000
78 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000
79 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43F40000
80 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000
81
82 # Stacks for MPCores in Secure World
83 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000
84 # Stacks for MPCores in Monitor Mode
85 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000
86 # Stacks for MPCores in Normal World
87 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x48000000
88
89 # System Memory (256MB)
90 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000
91 gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000
92
93 # Size of the region used by UEFI in permanent memory (Reserved 64MB)
94 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
95
96 #
97 # ARM Pcds
98 #
99 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
100
101 #
102 # ARM PrimeCells
103 #
104
105 ## SP804 Timer
106 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000
107 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms
108 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|33
109 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000
110 gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10011020
111 gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10012020
112
113 ## PL031 RealTimeClock
114 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000
115
116 ## PL111 Lcd
117 gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x10020000
118
119 #
120 # ARM PL011 - Serial Terminal
121 #
122 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000
123
124 #
125 # ARM General Interrupt Controller
126 #
127 gArmTokenSpaceGuid.PcdGicDistributorBase|0x1F001000
128 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1F000100
129
130 #
131 # ARM L2x0 PCDs
132 #
133 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000
134
135 ################################################################################
136 #
137 # Components Section - list of all EDK II Modules needed by this Platform
138 #
139 ################################################################################
140 [Components.common]
141
142 #
143 # SEC
144 #
145 ArmPlatformPkg/Sec/Sec.inf {
146 <LibraryClasses>
147 # Use the implementation which set the Secure bits
148 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf
149 }
150
151 #
152 # PEI Phase modules
153 #
154 !ifdef EDK2_SKIP_PEICORE
155 ArmPlatformPkg/PrePi/PeiMPCore.inf {
156 <LibraryClasses>
157 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
158 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
159 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
160 }
161 !else
162 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
163 MdeModulePkg/Core/Pei/PeiMain.inf
164 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
165 <LibraryClasses>
166 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
167 }
168 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
169 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
170 ArmPkg/Drivers/CpuPei/CpuPei.inf
171 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
172 Nt32Pkg/BootModePei/BootModePei.inf
173 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
174 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
175 <LibraryClasses>
176 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
177 }
178 !endif
179
180 #
181 # DXE
182 #
183 MdeModulePkg/Core/Dxe/DxeMain.inf {
184 <LibraryClasses>
185 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
186 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
187 }
188
189 #
190 # Architectural Protocols
191 #
192 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
193 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
194 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
195 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
196 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
197 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
198 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
199 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
200
201 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
202 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
203 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
204
205 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
206 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
207 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf
208
209 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
210 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
211 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
212 EmbeddedPkg/SerialDxe/SerialDxe.inf
213
214 ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
215 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
216
217 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
218
219 #
220 # Semi-hosting filesystem
221 #
222 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
223
224 #
225 # FAT filesystem + GPT/MBR partitioning
226 #
227 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
228 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
229 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
230
231 #
232 # Bds
233 #
234 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
235 ArmPlatformPkg/Bds/Bds.inf