]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/EmbeddedPkg.dsc
ARM Packages: Fixed line endings
[mirror_edk2.git] / EmbeddedPkg / EmbeddedPkg.dsc
CommitLineData
1e57a462 1#/** @file\r
2# Embedded Package\r
3#\r
4#\r
5# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
6#\r
7# This program and the accompanying materials\r
8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14#\r
15#**/\r
16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 PLATFORM_NAME = Embedded\r
24 PLATFORM_GUID = 8DBB580B-CF89-4D57-95C6-DFE96C44686E\r
25 PLATFORM_VERSION = 0.1\r
26 DSC_SPECIFICATION = 0x00010005\r
27 OUTPUT_DIRECTORY = Build/Embedded\r
28 SUPPORTED_ARCHITECTURES = IA32|X64|IPF|ARM\r
29 BUILD_TARGETS = DEBUG|RELEASE\r
30 SKUID_IDENTIFIER = DEFAULT\r
31 FLASH_DEFINITION = EmbeddedPkg/EmbeddedPkg.fdf\r
32\r
33\r
34################################################################################\r
35#\r
36# SKU Identification section - list of all SKU IDs supported by this\r
37# Platform.\r
38#\r
39################################################################################\r
40[SkuIds]\r
41 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.\r
42\r
43################################################################################\r
44#\r
45# Library Class section - list of all Library Classes needed by this Platform.\r
46#\r
47################################################################################\r
48[LibraryClasses.common]\r
49# DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
50 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
51\r
52 \r
53 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
54 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
55 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
56 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
57 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
58 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
59 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r
60 \r
61 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
62 \r
63 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
64 \r
65 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
66 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
67 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
68 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
69 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
70 \r
71 SerialPortLib|EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.inf\r
72 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r
73 EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf\r
74 GdbSerialLib|EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf\r
75\r
76\r
77 #\r
78 # Need to change this for IPF\r
79 #\r
80 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
81 \r
82 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
83 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
84 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
85 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
86 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
87 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
88 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
89\r
90 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
91 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
92 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
93\r
94\r
95 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
96 EblCmdLib|EmbeddedPkg/Library/EblCmdLibNull/EblCmdLibNull.inf\r
97 \r
98 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf\r
99 \r
100\r
101[LibraryClasses.common.DXE_DRIVER]\r
102 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
103 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
104\r
105\r
106[LibraryClasses.common.UEFI_APPLICATION]\r
107 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
108 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
109\r
110[LibraryClasses.common.UEFI_DRIVER]\r
111 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
112 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
113 \r
114[LibraryClasses.common.SEC]\r
115 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
116\r
117[LibraryClasses.ARM]\r
118 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r
119\r
120[LibraryClasses.ARM]\r
121 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
122\r
123\r
124################################################################################\r
125#\r
126# Pcd Section - list of all PCD Entries defined by this Platform\r
127#\r
128################################################################################\r
129\r
130[PcdsFeatureFlag.common]\r
131 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE\r
132 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE\r
133 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE\r
134 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE\r
135 \r
136 #\r
137 # Control what commands are supported from the UI\r
138 # Turn these on and off to add features or save size\r
139 # \r
140 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r
141 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r
142 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r
143 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r
144 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r
145 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r
146 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r
147 \r
148 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE\r
149\r
150\r
151[PcdsFixedAtBuild.common]\r
152 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r
153 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r
154 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r
155 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r
156 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
157 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
158 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r
159 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r
160 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0\r
161 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r
162 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
163 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r
164 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r
165 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
166 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
167 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000\r
168 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|L""|VOID*|2\r
169 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
170 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
171 \r
172 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0\r
173 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0\r
174 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0\r
175\r
176#\r
177# Optinal feature to help prevent EFI memory map fragments\r
178# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
179# Values are in EFI Pages (4K). DXE Core will make sure that \r
180# at least this much of each type of memory can be allocated \r
181# from a single memory range. This way you only end up with\r
182# maximum of two fragements for each type in the memory map\r
183# (the memory used, and the free memory that was prereserved\r
184# but not used).\r
185#\r
186 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r
187 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r
188 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r
189 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0\r
190 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0\r
191 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0\r
192 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0\r
193 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0\r
194 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r
195\r
196#\r
197# Timer config for this platform\r
198#\r
199 gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000\r
200 gEmbeddedTokenSpaceGuid.PcdTimerVector|7\r
201 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r
202\r
203\r
204[PcdsFixedAtBuild.ARM]\r
205 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32\r
206 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0\r
207\r
208[PcdsFixedAtBuild.IA32]\r
209 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|36\r
210 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16\r
211\r
212[PcdsFixedAtBuild.X64]\r
213 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|52\r
214 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16\r
215\r
216\r
217\r
218[PcdsFixedAtBuild.IPF]\r
219 gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf|0x0ffffc000000\r
220\r
221#\r
222# This makes it so you can source level debug with NT32. VC++ debugger limitiation!\r
223#\r
224#[BuildOptions]\r
225# DEBUG_*_IA32_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /ALIGN:4096 /SUBSYSTEM:CONSOLE\r
226# RELEASE_*_IA32_DLINK_FLAGS = /ALIGN:4096\r
227# *_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D TIANO_RELEASE_VERSION=0x00080006\r
228\r
229\r
230################################################################################\r
231#\r
232# Components Section - list of all Modules needed by this Platform\r
233#\r
234################################################################################\r
235[Components.common]\r
236 EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf \r
237 EmbeddedPkg/Library/EblCmdLibNull/EblCmdLibNull.inf\r
238 EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r
239 EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.inf \r
240 EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf \r
241 EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r
242 EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r
243 EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.inf\r
244 EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf\r
245 EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf\r
246 EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf\r
247 EmbeddedPkg/Library/NullDmaLib/NullDmaLib.inf\r
248\r
249 EmbeddedPkg/Ebl/Ebl.inf\r
250#### EmbeddedPkg/EblExternCmd/EblExternCmd.inf\r
251 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf\r
252 EmbeddedPkg/GdbStub/GdbStub.inf\r
253 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r
254 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r
255 EmbeddedPkg/SerialDxe/SerialDxe.inf\r
256 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf\r
257 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r
258\r
259 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r
260 \r
261 \r
262\r