1d5d0ae9 |
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 | [LibraryClasses.common] |
4d900a63 |
31 | !if $(TARGET) == RELEASE |
1d5d0ae9 |
32 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf |
33 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf |
34 | !else |
35 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf |
36 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf |
37 | # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf |
38 | !endif |
a54d2109 |
39 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf |
1d5d0ae9 |
40 | |
41 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf |
42 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf |
43 | ArmMPCoreMailBoxLib|ArmPkg/Library/ArmMPCoreMailBoxLib/ArmMPCoreMailBoxLib.inf |
44 | |
45 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf |
46 | BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf |
a89cb4b7 |
47 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf |
1d5d0ae9 |
48 | |
49 | EfiResetSystemLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ResetSystemLib/ResetSystemLib.inf |
50 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf |
51 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf |
52 | |
53 | EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf |
54 | EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf |
55 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf |
56 | |
936eff09 |
57 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf |
58 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf |
59 | |
1d5d0ae9 |
60 | # |
61 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window |
62 | # in the debugger will show load and unload commands for symbols. You can cut and paste this |
63 | # into the command window to load symbols. We should be able to use a script to do this, but |
64 | # the version of RVD I have does not support scripts accessing system memory. |
65 | # |
66 | # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf |
67 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf |
68 | # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf |
69 | |
70 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf |
71 | DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf |
72 | |
73 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf |
74 | |
75 | RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf |
76 | |
77 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf |
78 | |
79 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf |
80 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf |
81 | |
82 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf |
83 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf |
84 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf |
85 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf |
86 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf |
87 | |
88 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf |
89 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf |
90 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf |
91 | |
92 | # |
93 | # Assume everything is fixed at build |
94 | # |
95 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf |
96 | |
97 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf |
98 | |
99 | EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf |
100 | |
101 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf |
102 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf |
103 | |
104 | EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf |
105 | |
106 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf |
107 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf |
108 | DebugAgentTimerLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf |
109 | |
110 | SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf |
111 | TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf |
112 | GdbSerialLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/GdbSerialLib/GdbSerialLib.inf |
113 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf |
114 | |
9dcfb8e5 |
115 | # ARM PL011 UART Driver |
116 | PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf |
a6caee65 |
117 | # ARM PL390 General Interrupt Driver in Secure and Non-secure |
118 | PL390GicNonSecLib|ArmPkg/Drivers/PL390Gic/PL390GicNonSec.inf |
9dcfb8e5 |
119 | |
1d5d0ae9 |
120 | BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf |
a89cb4b7 |
121 | |
d355ba48 |
122 | ArmPlatformSysConfigLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/SysConfigArmRealViewEbLib/SysConfigArmRealViewEbLib.inf |
a89cb4b7 |
123 | NorFlashPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/NorFlashArmRealViewEbLib/NorFlashArmRealViewEbLib.inf |
9bc6ef02 |
124 | LcdPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/PL111LcdArmRealViewEbLib/PL111LcdArmRealViewEbLib.inf |
1d5d0ae9 |
125 | |
126 | [LibraryClasses.common.SEC] |
127 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLibSec.inf |
1d5d0ae9 |
128 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbSecLib.inf |
a6caee65 |
129 | DebugSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf |
130 | |
9d074e73 |
131 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf |
1d5d0ae9 |
132 | |
133 | # 1/123 faster than Stm or Vstm version |
134 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf |
135 | |
136 | # Uncomment to turn on GDB stub in SEC. |
137 | #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf |
138 | |
139 | # L2 Cache Driver |
5cc45b70 |
140 | L2X0CacheLib|ArmPlatformPkg/Library/L2X0CacheLibNull/L2X0CacheLibNull.inf |
a6caee65 |
141 | # ARM PL390 General Interrupt Driver in Secure |
1d5d0ae9 |
142 | PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSec.inf |
1d5d0ae9 |
143 | |
64e03133 |
144 | !if $(EDK2_SKIP_PEICORE) == 1 |
145 | PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf |
146 | ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf |
147 | LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf |
148 | MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf |
149 | HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf |
150 | PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf |
151 | PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf |
152 | MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf |
153 | !endif |
154 | |
1d5d0ae9 |
155 | [LibraryClasses.common.PEI_CORE] |
156 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf |
157 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf |
158 | # note: this won't actually work since globals in PEI are not writeable |
159 | # need to generate an ARM PEI services table pointer implementation |
160 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf |
161 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf |
162 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf |
163 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf |
164 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf |
165 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf |
166 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf |
167 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf |
1d5d0ae9 |
168 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf |
169 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf |
170 | |
171 | [LibraryClasses.common.PEIM] |
172 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf |
173 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf |
174 | # note: this won't actually work since globals in PEI are not writeable |
175 | # need to generate an ARM PEI services table pointer implementation |
176 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf |
177 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf |
178 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf |
179 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf |
180 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf |
181 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf |
182 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf |
183 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf |
1d5d0ae9 |
184 | PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf |
185 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf |
186 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf |
187 | |
188 | [LibraryClasses.common.DXE_CORE] |
189 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf |
190 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf |
191 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf |
192 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf |
193 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf |
194 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf |
195 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf |
1d5d0ae9 |
196 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf |
1d5d0ae9 |
197 | |
198 | [LibraryClasses.common.DXE_DRIVER] |
199 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf |
200 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf |
201 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf |
202 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf |
203 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf |
204 | |
1d5d0ae9 |
205 | [LibraryClasses.common.UEFI_APPLICATION] |
206 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf |
207 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf |
208 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf |
209 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf |
210 | |
211 | [LibraryClasses.common.UEFI_DRIVER] |
212 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf |
213 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf |
214 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf |
215 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf |
216 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf |
217 | |
218 | [LibraryClasses.common.DXE_RUNTIME_DRIVER] |
219 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf |
220 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf |
221 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf |
222 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf |
1d5d0ae9 |
223 | |
224 | [LibraryClasses.ARM] |
225 | # |
226 | # It is not possible to prevent the ARM compiler for generic intrinsic functions. |
227 | # This library provides the instrinsic functions generate by a given compiler. |
228 | # [LibraryClasses.ARM] and NULL mean link this library into all ARM images. |
229 | # |
230 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf |
231 | |
232 | [BuildOptions] |
233 | RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A9 --thumb --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform |
234 | RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform |
235 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform |
236 | |
237 | GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform |
238 | GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform |
239 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform |
240 | |
241 | XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform |
242 | XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform |
243 | XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform |
244 | XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform |
245 | |
246 | |
247 | ################################################################################ |
248 | # |
249 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform |
250 | # |
251 | ################################################################################ |
252 | |
253 | [PcdsFeatureFlag.common] |
254 | gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE |
255 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE |
256 | gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE |
257 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE |
258 | |
259 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE |
260 | |
261 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress |
262 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE |
263 | |
264 | gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE |
265 | |
266 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE |
1d5d0ae9 |
267 | |
268 | !if $(EDK2_SKIP_PEICORE) == 1 |
a6caee65 |
269 | gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE |
270 | gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE |
1d5d0ae9 |
271 | !endif |
272 | |
936eff09 |
273 | ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe. |
274 | # It could be set FALSE to save size. |
275 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE |
276 | |
1d5d0ae9 |
277 | [PcdsFixedAtBuild.common] |
ea46ebbe |
278 | gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board" |
279 | |
e6b3b508 |
280 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A9x2" |
1d5d0ae9 |
281 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32 |
282 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0 |
283 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000 |
284 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000 |
285 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000 |
286 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000 |
287 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF |
288 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1 |
289 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0 |
290 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320 |
291 | |
292 | # DEBUG_ASSERT_ENABLED 0x01 |
293 | # DEBUG_PRINT_ENABLED 0x02 |
294 | # DEBUG_CODE_ENABLED 0x04 |
295 | # CLEAR_MEMORY_ENABLED 0x08 |
296 | # ASSERT_BREAKPOINT_ENABLED 0x10 |
297 | # ASSERT_DEADLOOP_ENABLED 0x20 |
4d900a63 |
298 | !if $(TARGET) == RELEASE |
299 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21 |
300 | !else |
1d5d0ae9 |
301 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f |
4d900a63 |
302 | !endif |
1d5d0ae9 |
303 | |
304 | # DEBUG_INIT 0x00000001 // Initialization |
305 | # DEBUG_WARN 0x00000002 // Warnings |
306 | # DEBUG_LOAD 0x00000004 // Load events |
307 | # DEBUG_FS 0x00000008 // EFI File system |
308 | # DEBUG_POOL 0x00000010 // Alloc & Free's |
309 | # DEBUG_PAGE 0x00000020 // Alloc & Free's |
310 | # DEBUG_INFO 0x00000040 // Verbose |
311 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers |
312 | # DEBUG_VARIABLE 0x00000100 // Variable |
313 | # DEBUG_BM 0x00000400 // Boot Manager |
314 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver |
315 | # DEBUG_NET 0x00004000 // SNI Driver |
316 | # DEBUG_UNDI 0x00010000 // UNDI Driver |
317 | # DEBUG_LOADFILE 0x00020000 // UNDI Driver |
318 | # DEBUG_EVENT 0x00080000 // Event messages |
319 | # DEBUG_ERROR 0x80000000 // Error |
320 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F |
321 | |
322 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 |
a89cb4b7 |
323 | |
324 | # |
325 | # NV Storage PCDs. Use base of 0x43F00000 for NOR0 |
326 | # |
327 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000 |
328 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x000C0000 |
329 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43FC0000 |
330 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000 |
331 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43FE0000 |
332 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000 |
1d5d0ae9 |
333 | |
334 | gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|"" |
335 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07 |
336 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000 |
337 | |
338 | # |
339 | # Optional feature to help prevent EFI memory map fragments |
340 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob |
341 | # Values are in EFI Pages (4K). DXE Core will make sure that |
342 | # at least this much of each type of memory can be allocated |
343 | # from a single memory range. This way you only end up with |
344 | # maximum of two fragements for each type in the memory map |
345 | # (the memory used, and the free memory that was prereserved |
346 | # but not used). |
347 | # |
348 | gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x00000000 |
349 | |
350 | gArmPlatformTokenSpaceGuid.PcdMPCoreSupport|1 |
d269095b |
351 | gArmPlatformTokenSpaceGuid.PcdMPCoreMaxCores|2 |
1d5d0ae9 |
352 | |
353 | # Stacks for MPCores in Secure World |
354 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000 # Top of SEC Stack for Secure World |
355 | gArmPlatformTokenSpaceGuid.PcdCPUCoreSecStackSize|0x2000 # Stack for each of the 4 CPU cores |
356 | |
357 | # Stacks for MPCores in Monitor Mode |
358 | gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000 # Top of SEC Stack for Monitor World |
359 | gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x2000 # Stack for each of the 4 CPU cores |
360 | |
361 | # Stacks for MPCores in Normal World |
362 | gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x48000000 # Top of SEC Stack for Normal World |
363 | gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x20000 # Stack for each of the 4 CPU cores |
1d5d0ae9 |
364 | |
964680c1 |
365 | # System Memory (256MB) |
366 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000 |
367 | gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000 |
368 | |
369 | # Size of the region used by UEFI in permanent memory (Reserved 64MB) |
370 | gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000 |
5cc45b70 |
371 | |
1d5d0ae9 |
372 | # |
373 | # ARM Pcds |
374 | # |
375 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 |
376 | |
377 | # |
378 | # ARM EB PCDS |
379 | # |
380 | gArmRealViewEbPkgTokenSpaceGuid.PcdGdbUartBase|0x1000a000 |
381 | |
5cc45b70 |
382 | # |
383 | # ARM PrimeCells |
384 | # |
385 | |
386 | ## SP804 Timer |
387 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000 |
388 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms |
389 | gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|33 |
390 | gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000 |
391 | gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10012020 |
392 | gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10012000 |
393 | |
394 | ## PL031 RealTimeClock |
395 | gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000 |
396 | |
6fd231c0 |
397 | # |
398 | # ARM PL011 - Serial Terminal |
399 | # |
400 | gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000 |
401 | |
1d5d0ae9 |
402 | # |
403 | # ARM PL390 General Interrupt Controller |
404 | # |
b1b0fbed |
405 | gArmTokenSpaceGuid.PcdGicDistributorBase|0x1F001000 |
406 | gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1F000100 |
55fad965 |
407 | gArmTokenSpaceGuid.PcdGicNumInterrupts|96 |
1d5d0ae9 |
408 | |
409 | # |
410 | # ARM OS Loader |
411 | # |
ea46ebbe |
412 | gArmTokenSpaceGuid.PcdArmMachineType|827 |
413 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"SemiHosting" |
414 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/zImage" |
cb5bf269 |
415 | gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"" |
ea46ebbe |
416 | gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1 |
1d5d0ae9 |
417 | |
936eff09 |
418 | # Use the Serial console (ConIn & ConOut) and the Graphic driver (ConOut) |
419 | gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)" |
420 | gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()" |
421 | gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10 |
422 | |
1d5d0ae9 |
423 | # |
424 | # ARM L2x0 PCDs |
425 | # |
426 | gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000 |
427 | |
428 | # |
429 | # ARM VE MP Core Mailbox |
430 | # |
431 | gArmTokenSpaceGuid.PcdMPCoreMailboxSetAddress|0x10000030 |
432 | gArmTokenSpaceGuid.PcdMPCoreMailboxGetAddress|0x10000030 |
433 | gArmTokenSpaceGuid.PcdMPCoreMailboxClearAddress|0x10000034 |
434 | gArmTokenSpaceGuid.PcdMPCoreMailboxClearValue|0xFFFFFFFF |
435 | |
436 | |
437 | ################################################################################ |
438 | # |
439 | # Components Section - list of all EDK II Modules needed by this Platform |
440 | # |
441 | ################################################################################ |
442 | [Components.common] |
443 | |
444 | # |
445 | # SEC |
446 | # |
447 | ArmPlatformPkg/Sec/Sec.inf |
1d5d0ae9 |
448 | |
449 | # |
450 | # PEI Phase modules |
451 | # |
64e03133 |
452 | !if $(EDK2_SKIP_PEICORE) == 1 |
a6caee65 |
453 | ArmPlatformPkg/PrePi/PeiMPCore.inf { |
64e03133 |
454 | <LibraryClasses> |
455 | ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7MPCoreLib.inf |
456 | ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf |
457 | } |
458 | !else |
a6caee65 |
459 | ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf { |
460 | <LibraryClasses> |
461 | PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicNonSec.inf |
462 | } |
1d5d0ae9 |
463 | MdeModulePkg/Core/Pei/PeiMain.inf |
464 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf { |
465 | <LibraryClasses> |
466 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf |
467 | } |
64e03133 |
468 | ArmPlatformPkg/PlatformPei/PlatformPeim.inf |
469 | ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf |
1d5d0ae9 |
470 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf |
471 | Nt32Pkg/BootModePei/BootModePei.inf |
472 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf |
473 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf { |
474 | <LibraryClasses> |
475 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf |
476 | } |
64e03133 |
477 | !endif |
1d5d0ae9 |
478 | |
479 | # |
480 | # DXE |
481 | # |
482 | MdeModulePkg/Core/Dxe/DxeMain.inf { |
483 | <LibraryClasses> |
484 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf |
485 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf |
486 | } |
487 | |
488 | # |
489 | # Architectural Protocols |
490 | # |
491 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf |
492 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf |
493 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf |
494 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf |
495 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf |
a89cb4b7 |
496 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf |
497 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf |
1d5d0ae9 |
498 | EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf |
499 | |
500 | EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf |
501 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf |
502 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf |
936eff09 |
503 | |
504 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf |
505 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf |
9bc6ef02 |
506 | ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf |
1d5d0ae9 |
507 | |
936eff09 |
508 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf |
509 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf |
510 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf |
511 | EmbeddedPkg/SerialDxe/SerialDxe.inf |
512 | |
55fad965 |
513 | ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf |
1d5d0ae9 |
514 | ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf |
a89cb4b7 |
515 | |
516 | ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf |
1d5d0ae9 |
517 | |
518 | # |
519 | # Semi-hosting filesystem |
520 | # |
521 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf |
522 | |
523 | # |
524 | # FAT filesystem + GPT/MBR partitioning |
525 | # |
526 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf |
527 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf |
528 | FatPkg/EnhancedFatDxe/Fat.inf |
529 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf |
530 | |
531 | |
532 | # |
533 | # Application |
534 | # |
535 | EmbeddedPkg/Ebl/Ebl.inf |
536 | |
537 | # |
538 | # Bds |
539 | # |
540 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf |
541 | ArmPlatformPkg/Bds/Bds.inf |