]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-A8.dsc
ArmPlatformPkg/EblCmdLib: Add the 'devicepaths' EBL command
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / ArmRealViewEb-RTSM-A8.dsc
CommitLineData
1d5d0ae9 1#\r
2# Copyright (c) 2011, ARM Limited. All rights reserved.\r
3# \r
4# This program and the accompanying materials \r
5# are licensed and made available under the terms and conditions of the BSD License \r
6# which accompanies this distribution. The full text of the license may be found at \r
7# http://opensource.org/licenses/bsd-license.php \r
8#\r
9# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11#\r
12#\r
13\r
14################################################################################\r
15#\r
16# Defines Section - statements that will be processed to create a Makefile.\r
17#\r
18################################################################################\r
19[Defines]\r
20 PLATFORM_NAME = ArmRealViewEbPkg\r
21 PLATFORM_GUID = F4C1AD3E-9D3E-4F61-8791-B3BB1C43D04C\r
22 PLATFORM_VERSION = 0.1\r
23 DSC_SPECIFICATION = 0x00010005\r
24 OUTPUT_DIRECTORY = Build/ArmRealViewEb-RTSM-A8\r
25 SUPPORTED_ARCHITECTURES = ARM\r
26 BUILD_TARGETS = DEBUG|RELEASE\r
27 SKUID_IDENTIFIER = DEFAULT\r
28 FLASH_DEFINITION = ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-UniCore.fdf\r
29\r
30[LibraryClasses.common]\r
31!if $(BUILD_TARGETS) == RELEASE\r
32 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
33 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
34!else\r
35 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
36 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r
37# UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r
38!endif\r
a54d2109 39 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
1d5d0ae9 40\r
41 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf\r
42 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbLib.inf\r
43 \r
44 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
45 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r
a89cb4b7 46 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
1d5d0ae9 47\r
48 EfiResetSystemLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
49 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
50 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
51 \r
52 EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf\r
53 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r
54 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
55 \r
56 #\r
57 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window \r
58 # in the debugger will show load and unload commands for symbols. You can cut and paste this\r
59 # into the command window to load symbols. We should be able to use a script to do this, but\r
60 # the version of RVD I have does not support scripts accessing system memory.\r
61 #\r
62# PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r
63 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r
64# PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
65 \r
66 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r
67 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r
68 \r
69 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
70 \r
71 RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf\r
72\r
73 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
74 \r
75 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
76 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
77 \r
78 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
79 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
80 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
81 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
82 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
83\r
84 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
85 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
86 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
87\r
88#\r
89# Assume everything is fixed at build\r
90#\r
91 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
92\r
93 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
94\r
95 EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf\r
96\r
97 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
98 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
99\r
100 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf\r
101 \r
102 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r
103 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
104 DebugAgentTimerLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf\r
105\r
106 SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf\r
107 TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf \r
108 GdbSerialLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/GdbSerialLib/GdbSerialLib.inf\r
109 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r
110 \r
9dcfb8e5 111 # ARM PL011 UART Driver\r
112 PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf\r
113\r
1d5d0ae9 114 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r
a89cb4b7 115 \r
d355ba48 116 ArmPlatformSysConfigLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/SysConfigArmRealViewEbLib/SysConfigArmRealViewEbLib.inf\r
a89cb4b7 117 NorFlashPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/NorFlashArmRealViewEbLib/NorFlashArmRealViewEbLib.inf\r
9bc6ef02 118 LcdPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/PL111LcdArmRealViewEbLib/PL111LcdArmRealViewEbLib.inf\r
1d5d0ae9 119\r
120[LibraryClasses.common.SEC]\r
121 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf\r
122 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
123 ArmPlatformLib|ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbSecLib.inf\r
124 \r
125 # 1/123 faster than Stm or Vstm version\r
126 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
127\r
128 # Uncomment to turn on GDB stub in SEC. \r
129 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf\r
130 \r
131 # L2 Cache Driver\r
132 L2X0CacheLib|ArmPkg/Library/L2X0CacheLibNull/L2X0CacheLibNull.inf\r
133 # ARM PL390 General Interrupt Driver in Secure and Non-secure\r
134 PL390GicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSec.inf\r
135\r
136[LibraryClasses.common.PEI_CORE]\r
137 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
138 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
139 # note: this won't actually work since globals in PEI are not writeable\r
140 # need to generate an ARM PEI services table pointer implementation\r
141 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
142 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
143 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
144 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
145 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
146 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
147 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
148 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
149 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
150 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
151 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
152 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
153\r
154[LibraryClasses.common.PEIM]\r
155 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
156 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
157 # note: this won't actually work since globals in PEI are not writeable\r
158 # need to generate an ARM PEI services table pointer implementation\r
159 PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
160 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
161 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
162 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
163 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
164 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
165 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
166 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
167 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
168 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
169 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
170 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
171 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
172\r
173[LibraryClasses.common.DXE_CORE]\r
174 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
175 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
176 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
177 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
178 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
179 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
180 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
181\r
182 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r
183 \r
184\r
185[LibraryClasses.common.DXE_DRIVER]\r
186 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
187 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
188 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
189 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
190 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
191\r
192\r
193[LibraryClasses.common.UEFI_APPLICATION]\r
194 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
195 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
196 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
197 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
198\r
199[LibraryClasses.common.UEFI_DRIVER]\r
200 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
201 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
202 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
203 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
204 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
205\r
206[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
207 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
208 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
209 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
210 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
211# PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
212 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
213\r
214[LibraryClasses.ARM]\r
215 #\r
216 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
217 # This library provides the instrinsic functions generate by a given compiler.\r
218 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r
219 #\r
220 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
221\r
222[BuildOptions]\r
223 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8 --thumb --fpu=softvfp -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
224 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
225 RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
226\r
227 GCC:*_*_ARM_ARCHCC_FLAGS == -march=armv7-a -mthumb -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform \r
228 GCC:*_*_ARM_ARCHASM_FLAGS == -march=armv7-a -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
229 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
230\r
231 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv7 -march=armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
232 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
233 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv7 -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
234 XCODE:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -I$(WORKSPACE)/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform\r
235\r
236\r
237################################################################################\r
238#\r
239# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
240#\r
241################################################################################\r
242\r
243[PcdsFeatureFlag.common]\r
244 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r
245 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r
246 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r
247 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r
248 \r
249 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r
250 \r
251 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r
252 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r
253 \r
254 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE\r
255\r
256 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
257 \r
258 gArmPlatformTokenSpaceGuid.PcdStandalone|TRUE\r
259\r
260!if $(EDK2_SKIP_PEICORE) == 1\r
261 gArmTokenSpaceGuid.PcdSkipPeiCore|TRUE\r
262!endif\r
263\r
264[PcdsFixedAtBuild.common]\r
ea46ebbe 265 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM RealView Emulation Board"\r
266 \r
e6b3b508 267 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmRealViewEb-A8"\r
1d5d0ae9 268 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32\r
269 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0\r
270 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
271 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
272 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
273 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
274 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
275 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r
276 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
277 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
278\r
279# DEBUG_ASSERT_ENABLED 0x01\r
280# DEBUG_PRINT_ENABLED 0x02\r
281# DEBUG_CODE_ENABLED 0x04\r
282# CLEAR_MEMORY_ENABLED 0x08\r
283# ASSERT_BREAKPOINT_ENABLED 0x10\r
284# ASSERT_DEADLOOP_ENABLED 0x20\r
285 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r
286\r
287# DEBUG_INIT 0x00000001 // Initialization\r
288# DEBUG_WARN 0x00000002 // Warnings\r
289# DEBUG_LOAD 0x00000004 // Load events\r
290# DEBUG_FS 0x00000008 // EFI File system\r
291# DEBUG_POOL 0x00000010 // Alloc & Free's\r
292# DEBUG_PAGE 0x00000020 // Alloc & Free's\r
293# DEBUG_INFO 0x00000040 // Verbose\r
294# DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers\r
295# DEBUG_VARIABLE 0x00000100 // Variable\r
296# DEBUG_BM 0x00000400 // Boot Manager\r
297# DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
298# DEBUG_NET 0x00004000 // SNI Driver\r
299# DEBUG_UNDI 0x00010000 // UNDI Driver\r
300# DEBUG_LOADFILE 0x00020000 // UNDI Driver\r
301# DEBUG_EVENT 0x00080000 // Event messages\r
302# DEBUG_ERROR 0x80000000 // Error\r
303 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F\r
304\r
305 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
a89cb4b7 306 \r
307 #\r
308 # NV Storage PCDs. Use base of 0x43F00000 for NOR0\r
309 #\r
310 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x43F00000\r
311 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x000C0000\r
312 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x43FC0000\r
313 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00020000\r
314 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x43FE0000\r
315 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00020000\r
1d5d0ae9 316\r
317 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r
318 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
319 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
320 \r
321#\r
322# Optional feature to help prevent EFI memory map fragments\r
323# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
324# Values are in EFI Pages (4K). DXE Core will make sure that \r
325# at least this much of each type of memory can be allocated \r
326# from a single memory range. This way you only end up with\r
327# maximum of two fragements for each type in the memory map\r
328# (the memory used, and the free memory that was prereserved\r
329# but not used).\r
330#\r
331 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x00000000\r
332 \r
333 # Stack for CPU Cores in Secure Mode\r
334 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x4B000000 # Top of SEC Stack for Secure World\r
335 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecStackSize|0x2000 # Size of SEC Stack for Secure World\r
336\r
337 # Stack for CPU Cores in Secure Monitor Mode\r
338 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x4A000000 # Top of SEC Stack for Monitor World\r
339 gArmPlatformTokenSpaceGuid.PcdCPUCoreSecMonStackSize|0x2000 # Size of SEC Stack for Monitor World\r
340\r
341 # Stack for CPU Cores in Non Secure Mode\r
342 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackBase|0x48000000 # Top of SEC Stack for Normal World\r
343 gArmPlatformTokenSpaceGuid.PcdCPUCoresNonSecStackSize|0x20000 # Size of SEC Stack for Normal World\r
344 gArmPlatformTokenSpaceGuid.PcdPeiServicePtrAddr|0x48020004 # Pei Services Ptr just above stack\r
345\r
346 # Non Sec UEFI Firmware: These two PCDs must match PcdFlashFvMainBase/PcdFlashFvMainSize\r
262a9b04 347 gArmTokenSpaceGuid.PcdNormalFdBaseAddress|0x40050000 # Must be equal to gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase\r
348 gArmTokenSpaceGuid.PcdNormalFdSize|0x00100000 # Must be equal to gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize\r
1d5d0ae9 349 \r
964680c1 350 # System Memory (256MB) \r
351 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x70000000\r
352 gArmTokenSpaceGuid.PcdSystemMemorySize|0x10000000\r
353 \r
354 # Size of the region used by UEFI in permanent memory (Reserved 64MB)\r
355 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000\r
356 \r
6fd231c0 357 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000\r
1d5d0ae9 358 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms\r
1eb3454b 359 gArmPlatformTokenSpaceGuid.PcdSP804Timer0InterruptNum|36\r
1d5d0ae9 360 \r
361 #\r
362 # ARM Pcds\r
363 #\r
364 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r
365 \r
366 #\r
367 # ARM EB PCDS\r
368 #\r
369 gArmRealViewEbPkgTokenSpaceGuid.PcdGdbUartBase|0x1000a000\r
370 \r
6fd231c0 371 #\r
372 # ARM PL011 - Serial Terminal\r
373 #\r
374 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000\r
375 \r
1d5d0ae9 376 #\r
377 # ARM PL390 General Interrupt Controller\r
378 #\r
379 gArmTokenSpaceGuid.PcdGicDistributorBase|0x10041000\r
380 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x10040000\r
55fad965 381 gArmTokenSpaceGuid.PcdGicNumInterrupts|96\r
1d5d0ae9 382\r
383 #\r
384 # ARM OS Loader\r
385 #\r
ea46ebbe 386 gArmTokenSpaceGuid.PcdArmMachineType|827\r
387 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"SemiHosting"\r
388 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/zImage-RTSM"\r
389 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"rdinit=/bin/ash debug earlyprintk console=ttyAMA0,38400 mem=128M"\r
390 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1\r
1d5d0ae9 391 \r
392 #\r
393 # ARM L2x0 PCDs\r
394 #\r
395 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1F002000\r
396 \r
397\r
398\r
399################################################################################\r
400#\r
401# Components Section - list of all EDK II Modules needed by this Platform\r
402#\r
403################################################################################\r
404[Components.common]\r
405 \r
406#\r
407# SEC\r
408#\r
409 ArmPlatformPkg/Sec/Sec.inf\r
410 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf\r
411 \r
412#\r
413# PEI Phase modules\r
414#\r
415 MdeModulePkg/Core/Pei/PeiMain.inf\r
416 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
417 <LibraryClasses>\r
418 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
419 }\r
420 ArmPlatformPkg/PlatformPei/PlatformPei.inf\r
421 ArmPlatformPkg/MemoryInitPei/MemoryInitPei.inf\r
422 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
423 Nt32Pkg/BootModePei/BootModePei.inf\r
424 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
425 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
426 <LibraryClasses>\r
427 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
428 }\r
429\r
430#\r
431# DXE\r
432#\r
433 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
434 <LibraryClasses>\r
435 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
436 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
437 }\r
438\r
439 #\r
440 # Architectural Protocols\r
441 #\r
442 ArmPkg/Drivers/CpuDxe/CpuDxe.inf \r
443 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
444 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
445 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
446 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
a89cb4b7 447 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf\r
448 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
1d5d0ae9 449 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf \r
450 \r
451 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
452 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
453 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
454 \r
455 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf\r
9bc6ef02 456 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf\r
1d5d0ae9 457\r
458 ArmPlatformPkg/ArmRealViewEbPkg/FvbDxe/FvbDxe.inf\r
55fad965 459 ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf\r
1d5d0ae9 460 ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf\r
a89cb4b7 461 \r
462 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf\r
1d5d0ae9 463\r
464 #\r
465 # Semi-hosting filesystem\r
466 #\r
467 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r
468 \r
469 #\r
470 # FAT filesystem + GPT/MBR partitioning\r
471 #\r
472 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
473 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
474 FatPkg/EnhancedFatDxe/Fat.inf\r
475 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
476 \r
477 \r
478 #\r
479 # Application\r
480 # \r
481 EmbeddedPkg/Ebl/Ebl.inf\r
482\r
483 #\r
484 # Bds\r
485 #\r
486 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
487 ArmPlatformPkg/Bds/Bds.inf\r