CorebootPayloadPkg: Add SD/eMMC support
[mirror_edk2.git] / CorebootPayloadPkg / CorebootPayloadPkgIa32X64.dsc
CommitLineData
9c228fb0
MM
1## @file\r
2# Coreboot Payload Package\r
3#\r
1fee349a 4# Provides drivers and definitions to create uefi payload for coreboot.\r
9c228fb0 5#\r
1fee349a
LL
6# Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
7# This program and the accompanying materials are licensed and made available under\r
8# the terms and conditions of the BSD License that accompanies this distribution.\r
9c228fb0 9# The full text of the license may be found at\r
1fee349a
LL
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
9c228fb0
MM
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 = CorebootPayloadPkg\r
24 PLATFORM_GUID = F71608AB-D63D-4491-B744-A99998C8CD96\r
25 PLATFORM_VERSION = 0.1\r
1fee349a 26 DSC_SPECIFICATION = 0x00010005\r
9c228fb0 27 SUPPORTED_ARCHITECTURES = IA32|X64\r
090b856b 28 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
9c228fb0 29 SKUID_IDENTIFIER = DEFAULT\r
08fc1818 30 OUTPUT_DIRECTORY = Build/CorebootPayloadPkgX64\r
9c228fb0 31 FLASH_DEFINITION = CorebootPayloadPkg/CorebootPayloadPkg.fdf\r
1fee349a 32\r
9c228fb0
MM
33 DEFINE SECURE_BOOT_ENABLE = FALSE\r
34 DEFINE SOURCE_DEBUG_ENABLE = FALSE\r
1fee349a
LL
35\r
36 #\r
37 # CPU options\r
38 #\r
39 DEFINE MAX_LOGICAL_PROCESSORS = 64\r
40\r
41 #\r
42 # Serial port set up\r
43 #\r
44 DEFINE BAUD_RATE = 115200\r
45 DEFINE SERIAL_CLOCK_RATE = 1843200\r
46 DEFINE SERIAL_LINE_CONTROL = 3 # 8-bits, no parity\r
47 DEFINE SERIAL_HARDWARE_FLOW_CONTROL = FALSE\r
48 DEFINE SERIAL_DETECT_CABLE = FALSE\r
49 DEFINE SERIAL_FIFO_CONTROL = 7 # Enable FIFO\r
50 DEFINE SERIAL_EXTENDED_TX_FIFO_SIZE = 16\r
51 DEFINE UART_DEFAULT_BAUD_RATE = $(BAUD_RATE)\r
52 DEFINE UART_DEFAULT_DATA_BITS = 8\r
53 DEFINE UART_DEFAULT_PARITY = 1\r
54 DEFINE UART_DEFAULT_STOP_BITS = 1\r
55 DEFINE DEFAULT_TERMINAL_TYPE = 0\r
56\r
57 #\r
58 # typedef struct {\r
59 # UINT16 VendorId; ///< Vendor ID to match the PCI device. The value 0xFFFF terminates the list of entries.\r
60 # UINT16 DeviceId; ///< Device ID to match the PCI device\r
61 # UINT32 ClockRate; ///< UART clock rate. Set to 0 for default clock rate of 1843200 Hz\r
62 # UINT64 Offset; ///< The byte offset into to the BAR\r
63 # UINT8 BarIndex; ///< Which BAR to get the UART base address\r
64 # UINT8 RegisterStride; ///< UART register stride in bytes. Set to 0 for default register stride of 1 byte.\r
65 # UINT16 ReceiveFifoDepth; ///< UART receive FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.\r
66 # UINT16 TransmitFifoDepth; ///< UART transmit FIFO depth in bytes. Set to 0 for a default FIFO depth of 16 bytes.\r
67 # UINT8 Reserved[2];\r
68 # } PCI_SERIAL_PARAMETER;\r
69 #\r
5a38784b 70 # Vendor FFFF Device 0000 Prog Interface 1, BAR #0, Offset 0, Stride = 1, Clock 1843200 (0x1c2000)
1fee349a
LL
71 #\r
72 # [Vendor] [Device] [----ClockRate---] [------------Offset-----------] [Bar] [Stride] [RxFifo] [TxFifo] [Rsvd] [Vendor]\r
5a38784b 73 DEFINE PCI_SERIAL_PARAMETERS = {0xff,0xff, 0x00,0x00, 0x0,0x20,0x1c,0x00, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x00, 0x01, 0x0,0x0, 0x0,0x0, 0x0,0x0, 0xff,0xff}
1fee349a
LL
74\r
75 #\r
76 # Shell options: [BUILD_SHELL, FULL_BIN, MIN_BIN, NONE, UEFI]\r
77 #\r
78 DEFINE SHELL_TYPE = FULL_BIN\r
79\r
9c228fb0 80[BuildOptions]\r
1fee349a
LL
81 GCC:DEBUG_*_*_CC_FLAGS = -Og -flto\r
82 GCC:DEBUG_*_*_DLINK_FLAGS = -flto\r
9c228fb0
MM
83 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
84 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
85 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
86 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
87\r
88################################################################################\r
89#\r
90# SKU Identification section - list of all SKU IDs supported by this Platform.\r
91#\r
92################################################################################\r
93[SkuIds]\r
94 0|DEFAULT\r
95\r
96################################################################################\r
97#\r
98# Library Class section - list of all Library Classes needed by this Platform.\r
99#\r
100################################################################################\r
101[LibraryClasses]\r
102 #\r
103 # Entry point\r
104 #\r
105 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
106 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
107 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
108 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
109 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
110\r
111 #\r
112 # Basic\r
113 #\r
1fee349a 114 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
9c228fb0
MM
115 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
116 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
117 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
118 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
119 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
120 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
121 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
122 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
123 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
124 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
1fee349a 125\r
9c228fb0
MM
126 #\r
127 # UEFI & PI\r
128 #\r
129 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
130 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
131 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
132 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
133 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
134 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
135 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
136 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
137 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
138 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
139 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
140 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
141 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
1fee349a 142\r
9c228fb0
MM
143 #\r
144 # Generic Modules\r
145 #\r
146 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
147 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
148 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
149 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
150 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
151 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
152 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
1fee349a 153\r
9c228fb0
MM
154 #\r
155 # CPU\r
156 #\r
157 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
1fee349a
LL
158 LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf\r
159\r
9c228fb0
MM
160 #\r
161 # Platform\r
162 #\r
163 TimerLib|CorebootPayloadPkg/Library/AcpiTimerLib/AcpiTimerLib.inf\r
164 ResetSystemLib|CorebootPayloadPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
b18f91c0 165 SerialPortLib|CorebootModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
bae5ddc0 166 PlatformHookLib|CorebootPayloadPkg/Library/PlatformHookLib/PlatformHookLib.inf\r
9c228fb0 167 PlatformBdsLib|CorebootPayloadPkg/Library/PlatformBdsLib/PlatformBdsLib.inf\r
1fee349a 168\r
9c228fb0
MM
169 #\r
170 # Misc\r
171 #\r
172 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
173 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
174 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
175!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
176 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
177 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
178!else\r
179 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
1fee349a 180 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
9c228fb0
MM
181!endif\r
182 CbParseLib|CorebootModulePkg/Library/CbParseLib/CbParseLib.inf\r
183 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
184 LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r
185\r
186[LibraryClasses.IA32.SEC]\r
187 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
188 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
189 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
190 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
191 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
192 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
193\r
194[LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.PEIM]\r
195 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
196 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
197 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
198 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
199 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
200!if $(SOURCE_DEBUG_ENABLE)\r
201 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
202!endif\r
203\r
204[LibraryClasses.common.DXE_CORE]\r
205 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
206 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
207 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
208 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
1fee349a 209 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
9c228fb0
MM
210!if $(SOURCE_DEBUG_ENABLE)\r
211 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
1fee349a 212!endif\r
9c228fb0
MM
213 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
214\r
1fee349a 215[LibraryClasses.common.DXE_DRIVER]\r
9c228fb0
MM
216 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
217 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
218 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
219 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
220 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
221 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
1fee349a 222\r
9c228fb0
MM
223[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
224 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
225 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
226 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
227 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
1fee349a 228\r
9c228fb0
MM
229[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION]\r
230 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
231 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
232 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
1fee349a
LL
233 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
234\r
9c228fb0
MM
235################################################################################\r
236#\r
237# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
238#\r
239################################################################################\r
240[PcdsFeatureFlag]\r
241 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r
242 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE\r
243 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
244 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
245 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
246\r
247[PcdsFixedAtBuild]\r
9c228fb0
MM
248 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000\r
249 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
250 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000\r
1fee349a
LL
251\r
252 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
8e0fdb3a 253 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE\r
9c228fb0
MM
254\r
255!if $(SOURCE_DEBUG_ENABLE)\r
256 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
257!endif\r
258\r
bae5ddc0 259[PcdsPatchableInModule.common]\r
1fee349a
LL
260 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x7\r
261 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
262!if $(SOURCE_DEBUG_ENABLE)\r
263 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
264!else\r
265 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
266!endif\r
267\r
268 #\r
269 # The following parameters are set by Library/PlatformHookLib\r
270 #\r
bae5ddc0 271 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|FALSE\r
1fee349a
LL
272 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8\r
273 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate|$(BAUD_RATE)\r
274 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|1\r
275\r
276 #\r
277 # Enable these parameters to be set on the command line\r
278 #\r
279 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|$(SERIAL_CLOCK_RATE)\r
280 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl|$(SERIAL_LINE_CONTROL)\r
281 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|$(SERIAL_HARDWARE_FLOW_CONTROL)\r
282 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialDetectCable|$(SERIAL_DETECT_CABLE)\r
283 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|$(SERIAL_FIFO_CONTROL)\r
284 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|$(SERIAL_EXTENDED_TX_FIFO_SIZE)\r
285\r
286 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|$(UART_DEFAULT_BAUD_RATE)\r
287 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|$(UART_DEFAULT_DATA_BITS)\r
288 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|$(UART_DEFAULT_PARITY)\r
289 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|$(UART_DEFAULT_STOP_BITS)\r
290 gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|$(DEFAULT_TERMINAL_TYPE)\r
291 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters|$(PCI_SERIAL_PARAMETERS)\r
292\r
293 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|$(MAX_LOGICAL_PROCESSORS)\r
294\r
d1b96516
LL
295 #
296 # Set the proper Shell file GUID
297 #
298 !if $(SHELL_TYPE) == FULL_BIN
299 # c57ad6b7-0515-40a8-9d21-551652854e37
300 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0xB7, 0xD6, 0x7A, 0xC5, 0x15, 0x05, 0xA8, 0x40, 0x9D, 0x21, 0x55, 0x16, 0x52, 0x85, 0x4E, 0x37 }
301 !else
302 # 7C04A583-9E3E-4f1c-AD65-E05268D0B4D1
303 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1c, 0x4f, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
304 !endif
305
9c228fb0
MM
306################################################################################\r
307#\r
308# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
309#\r
310################################################################################\r
311\r
312[PcdsDynamicDefault]\r
313 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
314 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
315 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
316 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
317\r
9c228fb0
MM
318################################################################################\r
319#\r
320# Components Section - list of all EDK II Modules needed by this Platform.\r
321#\r
322################################################################################\r
323[Components.IA32]\r
324 #\r
325 # SEC Core\r
326 #\r
327 CorebootModulePkg/SecCore/SecCore.inf\r
1fee349a 328\r
9c228fb0
MM
329 #\r
330 # PEI Core\r
331 #\r
332 MdeModulePkg/Core/Pei/PeiMain.inf\r
1fee349a 333\r
9c228fb0
MM
334 #\r
335 # PEIM\r
336 #\r
337 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
338 <LibraryClasses>\r
339 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
340 }\r
341 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
1fee349a
LL
342\r
343 CorebootModulePkg/CbSupportPei/CbSupportPei.inf\r
9c228fb0
MM
344 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
345\r
346[Components.X64]\r
347 #\r
348 # DXE Core\r
349 #\r
350 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
351 <LibraryClasses>\r
352 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
353 }\r
1fee349a 354\r
9c228fb0
MM
355 #\r
356 # Components that produce the architectural protocols\r
357 #\r
358 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
359 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
360 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
361 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
362 MdeModulePkg/Universal/Metronome/Metronome.inf\r
363 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
364 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
365 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
366 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
1fee349a
LL
367 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
368 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
9c228fb0 369 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
1fee349a 370\r
9c228fb0 371 #\r
1fee349a 372 # Following are the DXE drivers\r
9c228fb0
MM
373 #\r
374 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
375 <LibraryClasses>\r
376 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
377 }\r
1fee349a 378\r
9c228fb0
MM
379 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
380 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
381 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
382 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
1fee349a 383 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
9c228fb0 384 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
1fee349a 385 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
9c228fb0 386 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
1fee349a
LL
387\r
388 CorebootModulePkg/CbSupportDxe/CbSupportDxe.inf\r
389\r
9c228fb0
MM
390 #\r
391 # SMBIOS Support\r
392 #\r
393 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
1fee349a 394\r
9c228fb0
MM
395 #\r
396 # ACPI Support\r
397 #\r
1fee349a
LL
398 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
399\r
9c228fb0
MM
400 #\r
401 # PCI Support\r
1fee349a
LL
402 #\r
403 CorebootModulePkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf\r
404 CorebootModulePkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf\r
405 CorebootModulePkg/PciSioSerialDxe/PciSioSerialDxe.inf\r
406\r
9c228fb0
MM
407 #\r
408 # SCSI/ATA/IDE/DISK Support\r
409 #\r
410 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
411 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
412 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
1fee349a
LL
413 FatPkg/EnhancedFatDxe/Fat.inf\r
414 CorebootModulePkg/SataControllerDxe/SataControllerDxe.inf\r
9c228fb0 415 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
1fee349a 416 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
9c228fb0
MM
417 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
418 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
1fee349a 419\r
9c228fb0 420 #\r
f4e84386
LL
421 # SD/eMMC Support
422 #
423 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
424 MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
425 MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
426
427 #
9c228fb0
MM
428 # Usb Support\r
429 #\r
430 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
431 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
432 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
433 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
434 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
435 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
1fee349a 436\r
9c228fb0
MM
437 #\r
438 # ISA Support\r
439 #\r
1fee349a
LL
440 CorebootModulePkg/SerialDxe/SerialDxe.inf\r
441\r
9c228fb0
MM
442 #\r
443 # Console Support\r
444 #\r
445 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
446 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
447 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
448 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
1fee349a 449\r
9c228fb0 450 #\r
1fee349a 451 # Framebuffer Gop\r
9c228fb0
MM
452 #\r
453 CorebootPayloadPkg/FbGop/FbGop.inf\r
1fee349a
LL
454\r
455 #------------------------------\r
456 # Build the shell\r
457 #------------------------------\r
458\r
459!if $(SHELL_TYPE) == BUILD_SHELL\r
460\r
461[PcdsFixedAtBuild]\r
462 ## This flag is used to control initialization of the shell library\r
463 # This should be FALSE for compiling the shell application itself only.\r
464 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
465\r
466 #\r
467 # Shell Lib\r
468 #\r
469[LibraryClasses]\r
470 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
471 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
472 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
473\r
474[Components.X64]\r
475 ShellPkg/Application/Shell/Shell.inf {\r
476\r
477 #------------------------------\r
478 # Basic commands\r
479 #------------------------------\r
480\r
481 <LibraryClasses>\r
482 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
483 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
484 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
485 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
486 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
487 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
488\r
489 #------------------------------\r
490 # Networking commands\r
491 #------------------------------\r
492\r
493 <LibraryClasses>\r
494 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
495 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
496\r
497 #------------------------------\r
498 # Performance command\r
499 #------------------------------\r
500\r
501 <LibraryClasses>\r
502 NULL|ShellPkg/Library/UefiDpLib/UefiDpLib.inf\r
503\r
504 #------------------------------\r
505 # Support libraries\r
506 #------------------------------\r
507\r
508 <LibraryClasses>\r
509 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
510 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
511 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
512 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
513 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
514 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
515 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
516 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
517 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
518 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
519 }\r
520\r
521!endif\r