]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-A8.dsc
c43b8857586a5aa25e053a54e7fa601a84ecf1ed
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / ArmRealViewEb-RTSM-A8.dsc
1 #
2 # Copyright (c) 2011-2012, 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 [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-A8 --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform
44
45 GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a8 -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 # Install Debugger Exception Handlers.
67 gArmTokenSpaceGuid.PcdDebuggerExceptionSupport|TRUE
68
69 [PcdsFixedAtBuild.common]
70 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board"
71 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A8"
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 # Stack for CPU Cores in Secure Mode
84 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000
85 # Stack for CPU Cores in Secure Monitor Mode
86 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000
87 # Stack for CPU Cores in Non Secure Mode
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 PrimeCells
104 #
105
106 ## SP804 Timer
107 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000
108 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms
109 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|36
110 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000
111 gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10011020
112 gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10012020
113
114 ## PL031 RealTimeClock
115 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000
116
117 ## PL111 Lcd
118 gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x10020000
119
120 #
121 # ARM PL011 - Serial Terminal
122 #
123 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000
124
125 #
126 # ARM PL390 General Interrupt Controller
127 #
128 gArmTokenSpaceGuid.PcdGicDistributorBase|0x10041000
129 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x10040000
130
131 #
132 # ARM L2x0 PCDs
133 #
134 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000
135
136
137 ################################################################################
138 #
139 # Components Section - list of all EDK II Modules needed by this Platform
140 #
141 ################################################################################
142 [Components.common]
143
144 #
145 # SEC
146 #
147 ArmPlatformPkg/Sec/Sec.inf {
148 <LibraryClasses>
149 # Use the implementation which set the Secure bits
150 ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
151 }
152
153 #
154 # PEI Phase modules
155 #
156 !ifdef $(EDK2_SKIP_PEICORE)
157 ArmPlatformPkg/PrePi/PeiUniCore.inf {
158 <LibraryClasses>
159 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
160 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf
161 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
162 }
163 !else
164 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf {
165 <LibraryClasses>
166 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
167 }
168 MdeModulePkg/Core/Pei/PeiMain.inf
169 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
170 <LibraryClasses>
171 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
172 }
173 ArmPlatformPkg/PlatformPei/PlatformPeim.inf
174 ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
175 ArmPkg/Drivers/CpuPei/CpuPei.inf
176 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
177 Nt32Pkg/BootModePei/BootModePei.inf
178 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
179 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
180 <LibraryClasses>
181 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
182 }
183 !endif
184
185 #
186 # DXE
187 #
188 MdeModulePkg/Core/Dxe/DxeMain.inf {
189 <LibraryClasses>
190 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
191 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
192 }
193
194 #
195 # Architectural Protocols
196 #
197 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
198 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
199 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
200 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
201 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
202 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
203 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
204 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
205
206 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
207 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
208 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
209
210 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
211 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
212 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf
213
214 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
215 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
216 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
217 EmbeddedPkg/SerialDxe/SerialDxe.inf
218
219 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
220 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
221
222 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
223
224 #
225 # Semi-hosting filesystem
226 #
227 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
228
229 #
230 # FAT filesystem + GPT/MBR partitioning
231 #
232 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
233 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
234 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
235
236 #
237 # Bds
238 #
239 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
240 ArmPlatformPkg/Bds/Bds.inf