]>
Commit | Line | Data |
---|---|---|
1 | #\r | |
2 | # Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r | |
3 | # Copyright (c) 2015, Intel Corporation. All rights reserved.\r | |
4 | #\r | |
5 | # This program and the accompanying materials\r | |
6 | # are licensed and made available under the terms and conditions of the BSD License\r | |
7 | # which accompanies this distribution. The full text of the license may be found at\r | |
8 | # http://opensource.org/licenses/bsd-license.php\r | |
9 | #\r | |
10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | #\r | |
13 | #\r | |
14 | \r | |
15 | [BuildOptions.AARCH64.EDKII.DXE_RUNTIME_DRIVER]\r | |
16 | GCC:*_*_AARCH64_DLINK_FLAGS = --script=$(EDK_TOOLS_PATH)/Scripts/gcc-aarch64-64K-align-ld-script\r | |
17 | \r | |
18 | [LibraryClasses.common]\r | |
19 | !if $(TARGET) == RELEASE\r | |
20 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
21 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r | |
22 | !else\r | |
23 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
24 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r | |
25 | # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r | |
26 | !endif\r | |
27 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
28 | \r | |
29 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
30 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
31 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
32 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
33 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
34 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
35 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
36 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
37 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r | |
38 | \r | |
39 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
40 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
41 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
42 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
43 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
44 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
45 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
46 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
47 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
48 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
49 | \r | |
50 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
51 | \r | |
52 | #\r | |
53 | # Assume everything is fixed at build\r | |
54 | #\r | |
55 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
56 | \r | |
57 | # 1/123 faster than Stm or Vstm version\r | |
58 | #BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
59 | BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r | |
60 | \r | |
61 | # Networking Requirements\r | |
62 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r | |
63 | DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r | |
64 | UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r | |
65 | IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r | |
66 | \r | |
67 | # ARM Architectural Libraries\r | |
68 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r | |
69 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r | |
70 | CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r | |
71 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r | |
72 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r | |
73 | ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf\r | |
74 | ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf\r | |
75 | ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r | |
76 | ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf\r | |
77 | \r | |
78 | # Versatile Express Specific Libraries\r | |
79 | PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf\r | |
80 | ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf\r | |
81 | NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf\r | |
82 | EfiResetSystemLib|ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf\r | |
83 | # ARM PL111 Lcd Driver\r | |
84 | LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf\r | |
85 | # ARM PL031 RTC Driver\r | |
86 | RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf\r | |
87 | # ARM PL354 SMC Driver\r | |
88 | PL35xSmcLib|ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf\r | |
89 | # ARM PL011 UART Driver\r | |
90 | PL011UartLib|ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf\r | |
91 | SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf\r | |
92 | SerialPortExtLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortExtLib.inf\r | |
93 | # ARM SP804 Dual Timer Driver\r | |
94 | TimerLib|ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf\r | |
95 | \r | |
96 | # EBL Related Libraries\r | |
97 | EblCmdLib|ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.inf\r | |
98 | EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r | |
99 | EblAddExternalCommandLib|EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf\r | |
100 | EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf\r | |
101 | \r | |
102 | #\r | |
103 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window\r | |
104 | # in the debugger will show load and unload commands for symbols. You can cut and paste this\r | |
105 | # into the command window to load symbols. We should be able to use a script to do this, but\r | |
106 | # the version of RVD I have does not support scripts accessing system memory.\r | |
107 | #\r | |
108 | #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r | |
109 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r | |
110 | #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
111 | \r | |
112 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
113 | DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf\r | |
114 | \r | |
115 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r | |
116 | \r | |
117 | # BDS Libraries\r | |
118 | BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r | |
119 | \r | |
120 | AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf\r | |
121 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r | |
122 | \r | |
123 | # RunAxf support via Dynamic Shell Command protocol\r | |
124 | # It uses the Shell libraries.\r | |
125 | ArmShellCmdRunAxfLib|ArmPlatformPkg/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf.inf\r | |
126 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r | |
127 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
128 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
129 | \r | |
130 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r | |
131 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r | |
132 | \r | |
133 | [LibraryClasses.common.SEC]\r | |
134 | ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf\r | |
135 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf\r | |
136 | \r | |
137 | DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf\r | |
138 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf\r | |
139 | \r | |
140 | !ifdef $(EDK2_SKIP_PEICORE)\r | |
141 | PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r | |
142 | ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r | |
143 | LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r | |
144 | MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r | |
145 | HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r | |
146 | PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r | |
147 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
148 | !endif\r | |
149 | \r | |
150 | # Trustzone Support\r | |
151 | ArmTrustedMonitorLib|ArmPlatformPkg/Library/ArmTrustedMonitorLibNull/ArmTrustedMonitorLibNull.inf\r | |
152 | \r | |
153 | [LibraryClasses.common.PEI_CORE]\r | |
154 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
155 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
156 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
157 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r | |
158 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
159 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
160 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
161 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
162 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
163 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
164 | \r | |
165 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r | |
166 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
167 | \r | |
168 | [LibraryClasses.common.PEIM]\r | |
169 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
170 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
171 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
172 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
173 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
174 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
175 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
176 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
177 | PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r | |
178 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
179 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r | |
180 | \r | |
181 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf\r | |
182 | PeiServicesTablePointerLib|ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r | |
183 | \r | |
184 | [LibraryClasses.common.SEC, LibraryClasses.common.PEIM]\r | |
185 | MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf\r | |
186 | \r | |
187 | [LibraryClasses.common.DXE_CORE]\r | |
188 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
189 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
190 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
191 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
192 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
193 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
194 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
195 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r | |
196 | \r | |
197 | [LibraryClasses.common.DXE_DRIVER]\r | |
198 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
199 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
200 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r | |
201 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
202 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
203 | ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf\r | |
204 | \r | |
205 | [LibraryClasses.common.UEFI_APPLICATION]\r | |
206 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r | |
207 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
208 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
209 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
210 | \r | |
211 | [LibraryClasses.common.UEFI_DRIVER]\r | |
212 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
213 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r | |
214 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
215 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
216 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
217 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
218 | \r | |
219 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
220 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
221 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
222 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
223 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
224 | ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.inf\r | |
225 | \r | |
226 | [LibraryClasses.AARCH64.DXE_RUNTIME_DRIVER]\r | |
227 | #\r | |
228 | # PSCI support in EL3 may not be available if we are not running under a PSCI\r | |
229 | # compliant secure firmware, but since the default VExpress EfiResetSystemLib\r | |
230 | # cannot be supported at runtime (due to the fact that the syscfg MMIO registers\r | |
231 | # cannot be runtime remapped), it is our best bet to get ResetSystem functionality\r | |
232 | # on these platforms.\r | |
233 | #\r | |
234 | EfiResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf\r | |
235 | \r | |
236 | [LibraryClasses.ARM, LibraryClasses.AARCH64]\r | |
237 | #\r | |
238 | # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r | |
239 | # This library provides the instrinsic functions generate by a given compiler.\r | |
240 | # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r | |
241 | #\r | |
242 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r | |
243 | \r | |
244 | # Add support for GCC stack protector\r | |
245 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r | |
246 | \r | |
247 | \r | |
248 | [BuildOptions]\r | |
249 | RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
250 | \r | |
251 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r | |
252 | \r | |
253 | ################################################################################\r | |
254 | #\r | |
255 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r | |
256 | #\r | |
257 | ################################################################################\r | |
258 | \r | |
259 | [PcdsFeatureFlag.common]\r | |
260 | gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r | |
261 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r | |
262 | gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r | |
263 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r | |
264 | \r | |
265 | #\r | |
266 | # Control what commands are supported from the UI\r | |
267 | # Turn these on and off to add features or save size\r | |
268 | #\r | |
269 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r | |
270 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r | |
271 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r | |
272 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r | |
273 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r | |
274 | gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r | |
275 | gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r | |
276 | \r | |
277 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r | |
278 | \r | |
279 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r | |
280 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r | |
281 | \r | |
282 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r | |
283 | \r | |
284 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r | |
285 | \r | |
286 | [PcdsFixedAtBuild.common]\r | |
287 | gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"\r | |
288 | !ifdef $(FIRMWARE_VER)\r | |
289 | gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"\r | |
290 | !endif\r | |
291 | \r | |
292 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"VExpress"\r | |
293 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r | |
294 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r | |
295 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r | |
296 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r | |
297 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r | |
298 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r | |
299 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r | |
300 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r | |
301 | \r | |
302 | # DEBUG_ASSERT_ENABLED 0x01\r | |
303 | # DEBUG_PRINT_ENABLED 0x02\r | |
304 | # DEBUG_CODE_ENABLED 0x04\r | |
305 | # CLEAR_MEMORY_ENABLED 0x08\r | |
306 | # ASSERT_BREAKPOINT_ENABLED 0x10\r | |
307 | # ASSERT_DEADLOOP_ENABLED 0x20\r | |
308 | !if $(TARGET) == RELEASE\r | |
309 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r | |
310 | !else\r | |
311 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r | |
312 | !endif\r | |
313 | \r | |
314 | # DEBUG_INIT 0x00000001 // Initialization\r | |
315 | # DEBUG_WARN 0x00000002 // Warnings\r | |
316 | # DEBUG_LOAD 0x00000004 // Load events\r | |
317 | # DEBUG_FS 0x00000008 // EFI File system\r | |
318 | # DEBUG_POOL 0x00000010 // Alloc & Free's\r | |
319 | # DEBUG_PAGE 0x00000020 // Alloc & Free's\r | |
320 | # DEBUG_INFO 0x00000040 // Verbose\r | |
321 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers\r | |
322 | # DEBUG_VARIABLE 0x00000100 // Variable\r | |
323 | # DEBUG_BM 0x00000400 // Boot Manager\r | |
324 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r | |
325 | # DEBUG_NET 0x00004000 // SNI Driver\r | |
326 | # DEBUG_UNDI 0x00010000 // UNDI Driver\r | |
327 | # DEBUG_LOADFILE 0x00020000 // UNDI Driver\r | |
328 | # DEBUG_EVENT 0x00080000 // Event messages\r | |
329 | # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r | |
330 | # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r | |
331 | # DEBUG_ERROR 0x80000000 // Error\r | |
332 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F\r | |
333 | \r | |
334 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r | |
335 | \r | |
336 | gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r | |
337 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r | |
338 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r | |
339 | \r | |
340 | #\r | |
341 | # Optional feature to help prevent EFI memory map fragments\r | |
342 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r | |
343 | # Values are in EFI Pages (4K). DXE Core will make sure that\r | |
344 | # at least this much of each type of memory can be allocated\r | |
345 | # from a single memory range. This way you only end up with\r | |
346 | # maximum of two fragements for each type in the memory map\r | |
347 | # (the memory used, and the free memory that was prereserved\r | |
348 | # but not used).\r | |
349 | #\r | |
350 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r | |
351 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r | |
352 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r | |
353 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80\r | |
354 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|65\r | |
355 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400\r | |
356 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000\r | |
357 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20\r | |
358 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r | |
359 | \r | |
360 | # Device path of block device on which Android Fastboot should flash\r | |
361 | # partitions. We just use the SD card on VExpress.\r | |
362 | gArmVExpressTokenSpaceGuid.PcdAndroidFastbootNvmDevicePath|L"VenHw(09831032-6FA3-4484-AF4F-0A000A8D3A82)"\r | |
363 | \r | |
364 | #\r | |
365 | # ARM Pcds\r | |
366 | #\r | |
367 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000\r | |
368 | \r | |
369 | #\r | |
370 | # ARM PrimeCell\r | |
371 | #\r | |
372 | \r | |
373 | #\r | |
374 | # FileSystem\r | |
375 | #\r | |
376 | \r | |
377 | # List of Device Paths that support BootMonFs\r | |
378 | gArmPlatformTokenSpaceGuid.PcdBootMonFsSupportedDevicePaths|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59);VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)"\r | |
379 | \r | |
380 | #\r | |
381 | # ARM OS Loader\r | |
382 | #\r | |
383 | # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:\r | |
384 | gArmTokenSpaceGuid.PcdArmMachineType|2272\r | |
385 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NorFlash"\r | |
386 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/MemoryMapped(0x0,0xED000000,0xED400000)"\r | |
387 | gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1\r | |
388 | \r | |
389 | # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)\r | |
390 | gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(CE660500-824D-11E0-AC72-0002A5D5C51B)"\r | |
391 | gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"\r | |
392 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|10\r | |
393 | \r | |
394 | # RunAxf support via Dynamic Shell Command protocol\r | |
395 | # We want to use the Shell Libraries but don't want it to initialise\r | |
396 | # automatically. We initialise the libraries when the command is called by the\r | |
397 | # Shell.\r | |
398 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
399 | \r | |
400 | [Components.common]\r | |
401 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r | |
402 | \r | |
403 | # Versatile Express FileSystem\r | |
404 | ArmPlatformPkg/FileSystem/BootMonFs/BootMonFs.inf\r | |
405 | \r | |
406 | #\r | |
407 | # Networking stack\r | |
408 | #\r | |
409 | MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r | |
410 | MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r | |
411 | MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r | |
412 | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r | |
413 | MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r | |
414 | MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r | |
415 | MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r | |
416 | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r | |
417 | MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r | |
418 | MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r | |
419 | MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r | |
420 | \r | |
421 | # ISP1761 USB OTG Controller\r | |
422 | EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf\r | |
423 | \r | |
424 | #\r | |
425 | # Android Fastboot\r | |
426 | #\r | |
427 | EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf\r | |
428 | EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf\r | |
429 | ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe.inf\r | |
430 | \r | |
431 | # FV Filesystem\r | |
432 | MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf\r | |
433 | \r | |
434 | #\r | |
435 | # FDT installation\r | |
436 | #\r | |
437 | EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatformDxe.inf\r |