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