]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-A8.dsc
ArmPlatformPkg: Minor code changes (comments, misspellings, coding stylei, line endings)
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / ArmRealViewEb-RTSM-A8.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 = ArmRealViewEbPkg
21 PLATFORM_GUID = F4C1AD3E-9D3E-4F61-8791-B3BB1C43D04C
22 PLATFORM_VERSION = 0.1
23 DSC_SPECIFICATION = 0x00010005
24 OUTPUT_DIRECTORY = Build/ArmRealViewEb-RTSM-A8
25 SUPPORTED_ARCHITECTURES = ARM
26 BUILD_TARGETS = DEBUG|RELEASE
27 SKUID_IDENTIFIER = DEFAULT
28 FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-UniCore.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/ArmCortexA8Lib/ArmCortexA8Lib.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-A8 --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
47
48 GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a8 -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 !ifdef $(EDK2_SKIP_PEICORE)
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 # Install Debugger Exception Handlers.
70 gArmTokenSpaceGuid.PcdDebuggerExceptionSupport|TRUE
71
72 [PcdsFixedAtBuild.common]
73 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board"
74 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A8"
75
76 #
77 # NV Storage PCDs. Use base of 0x43F00000 for NOR0
78 #
79 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000
80 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x000C0000
81 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43FC0000
82 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000
83 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43FE0000
84 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000
85
86 # Stack for CPU Cores in Secure Mode
87 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000
88 # Stack for CPU Cores in Secure Monitor Mode
89 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000
90 # Stack for CPU Cores in Non Secure Mode
91 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x48000000
92
93 # System Memory (256MB)
94 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000
95 gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000
96
97 # Size of the region used by UEFI in permanent memory (Reserved 64MB)
98 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
99
100 #
101 # ARM Pcds
102 #
103 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
104
105 #
106 # ARM EB PCDS
107 #
108 gArmRealViewEbPkgTokenSpaceGuid.PcdGdbUartBase|0x1000a000
109
110 #
111 # ARM PrimeCells
112 #
113
114 ## SP804 Timer
115 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000
116 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms
117 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|36
118 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000
119 gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10011020
120 gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10012020
121
122 ## PL031 RealTimeClock
123 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000
124
125 ## PL111 Lcd
126 gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x10020000
127
128 #
129 # ARM PL011 - Serial Terminal
130 #
131 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000
132
133 #
134 # ARM PL390 General Interrupt Controller
135 #
136 gArmTokenSpaceGuid.PcdGicDistributorBase|0x10041000
137 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x10040000
138 gArmTokenSpaceGuid.PcdGicNumInterrupts|96
139
140 #
141 # ARM L2x0 PCDs
142 #
143 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000
144
145
146 ################################################################################
147 #
148 # Components Section - list of all EDK II Modules needed by this Platform
149 #
150 ################################################################################
151 [Components.common]
152
153 #
154 # SEC
155 #
156 ArmPlatformPkg/Sec/Sec.inf
157
158 #
159 # PEI Phase modules
160 #
161 !ifdef $(EDK2_SKIP_PEICORE)
162 ArmPlatformPkg/PrePi/PeiUniCore.inf {
163 <LibraryClasses>
164 ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
165 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
166 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
167 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
168 }
169 !else
170 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {
171 <LibraryClasses>
172 ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
173 }
174 MdeModulePkg/Core/Pei/PeiMain.inf
175 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
176 <LibraryClasses>
177 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
178 }
179 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
180 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
181 ArmPkg/Drivers/CpuPei/CpuPei.inf
182 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
183 Nt32Pkg/BootModePei/BootModePei.inf
184 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
185 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
186 <LibraryClasses>
187 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
188 }
189 !endif
190
191 #
192 # DXE
193 #
194 MdeModulePkg/Core/Dxe/DxeMain.inf {
195 <LibraryClasses>
196 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
197 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
198 }
199
200 #
201 # Architectural Protocols
202 #
203 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
204 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
205 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
206 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
207 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
208 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
209 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
210 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
211
212 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
213 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
214 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
215
216 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
217 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
218 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf
219
220 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
221 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
222 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
223 EmbeddedPkg/SerialDxe/SerialDxe.inf
224
225 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
226 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
227
228 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
229
230 #
231 # Semi-hosting filesystem
232 #
233 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
234
235 #
236 # FAT filesystem + GPT/MBR partitioning
237 #
238 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
239 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
240 FatPkg/EnhancedFatDxe/Fat.inf
241 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
242
243 #
244 # Application
245 #
246 EmbeddedPkg/Ebl/Ebl.inf
247
248 #
249 # Bds
250 #
251 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
252 ArmPlatformPkg/Bds/Bds.inf