blob: 66a940d85b6170d24de5ae7ab6b605b9bccb5f24 [file] [log] [blame]
oliviermartin1e57a462013-01-25 11:28:06 +00001#/** @file
2# Embedded Package
3#
4#
5# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
Olivier Martin35a3e762014-03-01 11:01:44 +00006# Copyright (c) 2012-2014, ARM Ltd. All rights reserved.<BR>
oliviermartin1e57a462013-01-25 11:28:06 +00007#
8# This program and the accompanying materials
9# are licensed and made available under the terms and conditions of the BSD License
10# which accompanies this distribution. The full text of the license may be found at
11# http://opensource.org/licenses/bsd-license.php
12#
13# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15#
16#**/
17
18################################################################################
19#
20# Defines Section - statements that will be processed to create a Makefile.
21#
22################################################################################
23[Defines]
24 PLATFORM_NAME = Embedded
25 PLATFORM_GUID = 8DBB580B-CF89-4D57-95C6-DFE96C44686E
26 PLATFORM_VERSION = 0.1
27 DSC_SPECIFICATION = 0x00010005
28 OUTPUT_DIRECTORY = Build/Embedded
Olivier Martin35a3e762014-03-01 11:01:44 +000029 SUPPORTED_ARCHITECTURES = IA32|X64|IPF|ARM|AARCH64
oliviermartin1e57a462013-01-25 11:28:06 +000030 BUILD_TARGETS = DEBUG|RELEASE
31 SKUID_IDENTIFIER = DEFAULT
32 FLASH_DEFINITION = EmbeddedPkg/EmbeddedPkg.fdf
33
34
35################################################################################
36#
37# SKU Identification section - list of all SKU IDs supported by this
38# Platform.
39#
40################################################################################
41[SkuIds]
42 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
43
44################################################################################
45#
46# Library Class section - list of all Library Classes needed by this Platform.
47#
48################################################################################
49[LibraryClasses.common]
50# DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
51 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
52
Ronald Cron3402aac2014-08-19 13:29:52 +000053
oliviermartin1e57a462013-01-25 11:28:06 +000054 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
55 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
56 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
57 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
58 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
59 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
60 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000061
oliviermartin1e57a462013-01-25 11:28:06 +000062 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000063
oliviermartin1e57a462013-01-25 11:28:06 +000064 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000065
oliviermartin1e57a462013-01-25 11:28:06 +000066 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
67 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
68 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
69 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
70 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000071
oliviermartin1e57a462013-01-25 11:28:06 +000072 SerialPortLib|EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.inf
oliviermartind38c35f2013-03-12 00:40:11 +000073 SerialPortExtLib|EmbeddedPkg/Library/TemplateSerialPortExtLib/TemplateSerialPortExtLib.inf
oliviermartin1e57a462013-01-25 11:28:06 +000074 RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
75 EfiResetSystemLib|EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf
76 GdbSerialLib|EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf
77
78
79 #
80 # Need to change this for IPF
81 #
82 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000083
oliviermartin1e57a462013-01-25 11:28:06 +000084 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
85 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
86 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
87 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
88 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
89 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
90 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
91
92 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
93 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
94 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
95
oliviermartin1e57a462013-01-25 11:28:06 +000096 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
97 EblCmdLib|EmbeddedPkg/Library/EblCmdLibNull/EblCmdLibNull.inf
Olivier Martinfebad022014-08-20 11:38:45 +000098
oliviermartin1e57a462013-01-25 11:28:06 +000099 EblNetworkLib|EmbeddedPkg/Library/EblNetworkLib/EblNetworkLib.inf
Olivier Martinf6755902014-03-05 04:15:44 +0000100
101 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
oliviermartin1e57a462013-01-25 11:28:06 +0000102
Olivier Martin46f2c532014-04-24 19:29:11 +0000103 # Networking Requirements
104 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
105 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000106 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
Olivier Martin46f2c532014-04-24 19:29:11 +0000107
oliviermartin1e57a462013-01-25 11:28:06 +0000108[LibraryClasses.common.DXE_DRIVER]
109 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
110 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
111
112
113[LibraryClasses.common.UEFI_APPLICATION]
114 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
115 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
116
117[LibraryClasses.common.UEFI_DRIVER]
118 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
119 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000120
oliviermartin1e57a462013-01-25 11:28:06 +0000121[LibraryClasses.common.SEC]
122 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
123
Olivier Martin35a3e762014-03-01 11:01:44 +0000124[LibraryClasses.ARM, LibraryClasses.AARCH64]
Olivier Martinf6755902014-03-05 04:15:44 +0000125 ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
126 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
127 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
oliviermartin1e57a462013-01-25 11:28:06 +0000128 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
oliviermartin1e57a462013-01-25 11:28:06 +0000129 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
130
Olivier Martinf6755902014-03-05 04:15:44 +0000131[LibraryClasses.ARM]
132 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
133
134[LibraryClasses.AARCH64]
135 ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
136
oliviermartin1e57a462013-01-25 11:28:06 +0000137
138################################################################################
139#
140# Pcd Section - list of all PCD Entries defined by this Platform
141#
142################################################################################
143
144[PcdsFeatureFlag.common]
145 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE
146 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE
147 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE
148 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE
Ronald Cron3402aac2014-08-19 13:29:52 +0000149
oliviermartin1e57a462013-01-25 11:28:06 +0000150 #
151 # Control what commands are supported from the UI
152 # Turn these on and off to add features or save size
Ronald Cron3402aac2014-08-19 13:29:52 +0000153 #
oliviermartin1e57a462013-01-25 11:28:06 +0000154 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
155 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
156 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
157 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
158 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
159 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
160 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
Ronald Cron3402aac2014-08-19 13:29:52 +0000161
oliviermartin1e57a462013-01-25 11:28:06 +0000162 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE
163
164
165[PcdsFixedAtBuild.common]
166 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
167 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
168 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
169 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
170 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
171 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
172 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
173 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
174 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0
175 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
176 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
177 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000
178 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
179 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
180 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
181 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000
Olivier Martin8f12aa72013-08-23 18:21:46 +0000182 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|L""
oliviermartin1e57a462013-01-25 11:28:06 +0000183 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
184 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
Ronald Cron3402aac2014-08-19 13:29:52 +0000185
oliviermartin1e57a462013-01-25 11:28:06 +0000186 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|0
187 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0
188 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0
189
190#
191# Optinal feature to help prevent EFI memory map fragments
192# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
Ronald Cron3402aac2014-08-19 13:29:52 +0000193# Values are in EFI Pages (4K). DXE Core will make sure that
194# at least this much of each type of memory can be allocated
oliviermartin1e57a462013-01-25 11:28:06 +0000195# from a single memory range. This way you only end up with
196# maximum of two fragements for each type in the memory map
197# (the memory used, and the free memory that was prereserved
198# but not used).
199#
200 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
201 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
202 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
203 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0
204 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0
205 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0
206 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0
207 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0
208 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
209
210#
211# Timer config for this platform
212#
213 gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000
214 gEmbeddedTokenSpaceGuid.PcdTimerVector|7
215 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
216
oliviermartin1e57a462013-01-25 11:28:06 +0000217[PcdsFixedAtBuild.IPF]
218 gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf|0x0ffffc000000
219
220#
221# This makes it so you can source level debug with NT32. VC++ debugger limitiation!
222#
223#[BuildOptions]
224# DEBUG_*_IA32_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /ALIGN:4096 /SUBSYSTEM:CONSOLE
225# RELEASE_*_IA32_DLINK_FLAGS = /ALIGN:4096
226# *_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D TIANO_RELEASE_VERSION=0x00080006
227
Olivier Martinf6755902014-03-05 04:15:44 +0000228[BuildOptions]
229 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu=7-A.security
230
oliviermartin1e57a462013-01-25 11:28:06 +0000231
232################################################################################
233#
234# Components Section - list of all Modules needed by this Platform
235#
236################################################################################
237[Components.common]
Ronald Cron3402aac2014-08-19 13:29:52 +0000238 EmbeddedPkg/Library/EblAddExternalCommandLib/EblAddExternalCommandLib.inf
oliviermartin1e57a462013-01-25 11:28:06 +0000239 EmbeddedPkg/Library/EblCmdLibNull/EblCmdLibNull.inf
240 EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000241 EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.inf
242 EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.inf
oliviermartin1e57a462013-01-25 11:28:06 +0000243 EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
244 EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
245 EmbeddedPkg/Library/TemplateSerialPortLib/TemplateSerialPortLib.inf
246 EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf
247 EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
248 EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf
249 EmbeddedPkg/Library/NullDmaLib/NullDmaLib.inf
250
251 EmbeddedPkg/Ebl/Ebl.inf
252#### EmbeddedPkg/EblExternCmd/EblExternCmd.inf
253 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
oliviermartin1e57a462013-01-25 11:28:06 +0000254 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
255 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
256 EmbeddedPkg/SerialDxe/SerialDxe.inf
257 EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
258 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
259
260 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
oliviermartin1e57a462013-01-25 11:28:06 +0000261
Olivier Martinf6755902014-03-05 04:15:44 +0000262 EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf
Olivier Martind3f99772014-03-05 04:51:31 +0000263 EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf
Brendan Jackman4d6e1e52014-04-24 19:27:46 +0000264 EmbeddedPkg/Drivers/AndroidFastbootTransportTcpDxe/FastbootTransportTcpDxe.inf
Olivier Martinf6755902014-03-05 04:15:44 +0000265
Olivier Martin785e3cf2014-03-24 15:29:50 +0000266 # Drivers
267 EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf
Olivier Martin46f2c532014-04-24 19:29:11 +0000268 EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.inf
Olivier Martin785e3cf2014-03-24 15:29:50 +0000269
Olivier Martin35a3e762014-03-01 11:01:44 +0000270[Components.IA32, Components.X64, Components.IPF, Components.ARM]
271 EmbeddedPkg/GdbStub/GdbStub.inf