CorebootPayloadPkg: Use SerialDxe in MdeModulePkg
[mirror_edk2.git] / CorebootPayloadPkg / CorebootPayloadPkg.fdf
CommitLineData
9c228fb0
MM
1## @file\r
2# Coreboot Payload Package\r
3#\r
4# Provides drivers and definitions to create uefi payload for coreboot. \r
5#\r
bae5ddc0 6# Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
9c228fb0
MM
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
9# 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[FD.UefiPayload]\r
19BaseAddress = 0x800000|gUefiCorebootModulePkgTokenSpaceGuid.PcdPayloadFdMemBase\r
08e9b6f7 20Size = 0x410000|gUefiCorebootModulePkgTokenSpaceGuid.PcdPayloadFdMemSize\r
9c228fb0
MM
21ErasePolarity = 1\r
22BlockSize = 0x1000\r
08e9b6f7 23NumBlocks = 0x410\r
9c228fb0 24\r
08e9b6f7 250x00000000|0x030000\r
9c228fb0
MM
26FV = PEIFV\r
27\r
08e9b6f7 280x00030000|0x3E0000\r
9c228fb0
MM
29FV = DXEFV\r
30\r
31################################################################################\r
32[FV.PEIFV]\r
33BlockSize = 0x1000\r
34FvAlignment = 16\r
35ERASE_POLARITY = 1\r
36MEMORY_MAPPED = TRUE\r
37STICKY_WRITE = TRUE\r
38LOCK_CAP = TRUE\r
39LOCK_STATUS = TRUE\r
40WRITE_DISABLED_CAP = TRUE\r
41WRITE_ENABLED_CAP = TRUE\r
42WRITE_STATUS = TRUE\r
43WRITE_LOCK_CAP = TRUE\r
44WRITE_LOCK_STATUS = TRUE\r
45READ_DISABLED_CAP = TRUE\r
46READ_ENABLED_CAP = TRUE\r
47READ_STATUS = TRUE\r
48READ_LOCK_CAP = TRUE\r
49READ_LOCK_STATUS = TRUE\r
50\r
51INF CorebootModulePkg/SecCore/SecCore.inf\r
52\r
53INF MdeModulePkg/Core/Pei/PeiMain.inf\r
54INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf\r
55INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
56INF CorebootModulePkg/CbSupportPei/CbSupportPei.inf\r
57INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
58\r
59################################################################################\r
60\r
61[FV.DXEFV]\r
62BlockSize = 0x1000\r
63FvAlignment = 16\r
64ERASE_POLARITY = 1\r
65MEMORY_MAPPED = TRUE\r
66STICKY_WRITE = TRUE\r
67LOCK_CAP = TRUE\r
68LOCK_STATUS = TRUE\r
69WRITE_DISABLED_CAP = TRUE\r
70WRITE_ENABLED_CAP = TRUE\r
71WRITE_STATUS = TRUE\r
72WRITE_LOCK_CAP = TRUE\r
73WRITE_LOCK_STATUS = TRUE\r
74READ_DISABLED_CAP = TRUE\r
75READ_ENABLED_CAP = TRUE\r
76READ_STATUS = TRUE\r
77READ_LOCK_CAP = TRUE\r
78READ_LOCK_STATUS = TRUE\r
79\r
80#\r
81# DXE Phase modules\r
82#\r
83INF MdeModulePkg/Core/Dxe/DxeMain.inf\r
84INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
85INF IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
86\r
87INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
88INF UefiCpuPkg/CpuDxe/CpuDxe.inf\r
89INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
90INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
91INF MdeModulePkg/Universal/Metronome/Metronome.inf\r
92INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
93INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
94INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
95INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
96INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf \r
97INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf \r
98INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
99\r
100INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
101INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
102INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
103INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf \r
104INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
105INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf \r
106INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
107INF CorebootModulePkg/CbSupportDxe/CbSupportDxe.inf \r
108\r
109INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
110#\r
111# PCI Support\r
112#\r
4665ec98 113INF DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf\r
9c228fb0
MM
114INF DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf \r
115\r
116#\r
117# ISA Support\r
118#\r
bae5ddc0 119INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
9c228fb0
MM
120\r
121#\r
122# Console Support\r
123#\r
124INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
125INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
126INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
127INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
128\r
129#\r
130# SCSI/ATA/IDE/DISK Support\r
131#\r
132INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
133INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
134INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
135INF DuetPkg/SataControllerDxe/SataControllerDxe.inf \r
136INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
137INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
138INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
139INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
140\r
141!if $(ARCH) == IA32\r
142INF RuleOverride = BINARY USE = IA32 FatBinPkg/EnhancedFatDxe/Fat.inf\r
143!else\r
144INF RuleOverride = BINARY USE = X64 FatBinPkg/EnhancedFatDxe/Fat.inf\r
145!endif\r
146\r
147#\r
148# Usb Support\r
149#\r
150INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
151INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
152INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
153INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
154INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
155INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
156\r
157#\r
158# Shell\r
159#\r
160#!if $(ARCH) == IA32\r
161#INF RuleOverride = BINARY USE = IA32 ShellBinPkg/UefiShell/UefiShell.inf\r
162#!else\r
163#INF RuleOverride = BINARY USE = X64 ShellBinPkg/UefiShell/UefiShell.inf\r
164#!endif\r
165#\r
166!if $(ARCH) == IA32\r
167INF RuleOverride = BINARY USE = IA32 EdkShellBinPkg/FullShell/FullShell.inf\r
168!else\r
169INF RuleOverride = BINARY USE = X64 EdkShellBinPkg/FullShell/FullShell.inf\r
170!endif\r
171\r
172FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {\r
173 SECTION RAW = MdeModulePkg/Logo/Logo.bmp\r
174}\r
175\r
176#\r
177# Framebuffer Gop \r
178#\r
179INF CorebootPayloadPkg/FbGop/FbGop.inf\r
180\r
181################################################################################\r
182#\r
183# Rules are use with the [FV] section's module INF type to define\r
184# how an FFS file is created for a given INF file. The following Rule are the default\r
185# rules for the different module type. User can add the customized rules to define the\r
186# content of the FFS file.\r
187#\r
188################################################################################\r
189\r
190[Rule.Common.SEC]\r
191 FILE SEC = $(NAMED_GUID) {\r
192 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
193 }\r
194\r
195[Rule.Common.PEI_CORE]\r
196 FILE PEI_CORE = $(NAMED_GUID) {\r
197 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
198 UI STRING ="$(MODULE_NAME)" Optional\r
199 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
200 }\r
201\r
202[Rule.Common.PEIM]\r
203 FILE PEIM = $(NAMED_GUID) {\r
204 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
205 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
206 UI STRING="$(MODULE_NAME)" Optional\r
207 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
208 }\r
209\r
210[Rule.Common.DXE_CORE]\r
211 FILE DXE_CORE = $(NAMED_GUID) {\r
212 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
213 UI STRING="$(MODULE_NAME)" Optional\r
214 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
215 }\r
216\r
217[Rule.Common.DXE_DRIVER]\r
218 FILE DRIVER = $(NAMED_GUID) {\r
219 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
220 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
221 UI STRING="$(MODULE_NAME)" Optional\r
222 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
223 }\r
224\r
225[Rule.Common.DXE_RUNTIME_DRIVER]\r
226 FILE DRIVER = $(NAMED_GUID) {\r
227 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
228 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
229 UI STRING="$(MODULE_NAME)" Optional\r
230 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
231 }\r
232\r
233[Rule.Common.UEFI_DRIVER]\r
234 FILE DRIVER = $(NAMED_GUID) {\r
235 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
236 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
237 UI STRING="$(MODULE_NAME)" Optional\r
238 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
239 }\r
240\r
241[Rule.Common.UEFI_DRIVER.BINARY]\r
242 FILE DRIVER = $(NAMED_GUID) {\r
243 DXE_DEPEX DXE_DEPEX Optional |.depex\r
244 PE32 PE32 |.efi\r
245 UI STRING="$(MODULE_NAME)" Optional\r
246 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
247 }\r
248\r
249[Rule.Common.UEFI_APPLICATION]\r
250 FILE APPLICATION = $(NAMED_GUID) {\r
251 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
252 UI STRING="$(MODULE_NAME)" Optional\r
253 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
254 }\r
255\r
256[Rule.Common.UEFI_APPLICATION.BINARY]\r
257 FILE APPLICATION = $(NAMED_GUID) {\r
258 PE32 PE32 |.efi\r
259 UI STRING="$(MODULE_NAME)" Optional\r
260 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
261 }\r
262\r
263[Rule.Common.USER_DEFINED.ACPITABLE]\r
264 FILE FREEFORM = $(NAMED_GUID) {\r
265 RAW ACPI |.acpi\r
266 RAW ASL |.aml\r
267 }\r
268\r
269[Rule.Common.USER_DEFINED.CSM]\r
270 FILE FREEFORM = $(NAMED_GUID) {\r
271 RAW BIN |.bin\r
272 }\r
273\r
274[Rule.Common.SEC.RESET_VECTOR]\r
275 FILE RAW = $(NAMED_GUID) {\r
276 RAW RAW |.raw\r
277 }\r
278\r