blob: ca2fb33028effdcc866b323adb7c4b3bcd265640 [file] [log] [blame]
Patrick Georgi0588d192009-08-12 15:00:51 +00001##
2## This file is part of the coreboot project.
3##
Stefan Reinauerd650e992010-02-22 04:33:13 +00004## Copyright (C) 2007-2010 coresystems GmbH
Patrick Georgi0588d192009-08-12 15:00:51 +00005## (Written by Stefan Reinauer <stepan@coresystems.de> for coresystems GmbH)
6##
7## This program is free software; you can redistribute it and/or modify
8## it under the terms of the GNU General Public License as published by
Uwe Hermannc70e9fc2010-02-15 23:10:19 +00009## the Free Software Foundation; version 2 of the License.
Patrick Georgi0588d192009-08-12 15:00:51 +000010##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15##
16## You should have received a copy of the GNU General Public License
17## along with this program; if not, write to the Free Software
Paul Menzela46a7122013-02-23 18:37:27 +010018## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Patrick Georgi0588d192009-08-12 15:00:51 +000019##
20
Stefan Reinauer95a63962012-11-13 17:00:01 -080021menu "Devices"
Ronald G. Minnich69efaa02013-02-26 10:07:40 -080022
23# Only set this in the mainboard
24config MAINBOARD_HAS_NATIVE_VGA_INIT
25 bool
26 default n
27
28config MAINBOARD_DO_NATIVE_VGA_INIT
29 bool "Use native graphics initialization"
30 depends on MAINBOARD_HAS_NATIVE_VGA_INIT
31 default n
32 help
33 Some mainboards, such as the Google Link, allow initializing the display
34 without the need of a binary only VGA OPROM. Enabling this option may be
35 faster, but also lack flexibility in setting modes.
36
37 If unsure, say N.
38
Uwe Hermann168b11b2009-10-07 16:15:40 +000039# TODO: Explain differences (if any) for onboard cards.
Patrick Georgi0588d192009-08-12 15:00:51 +000040config VGA_ROM_RUN
Stefan Reinauerafaa2572011-10-06 16:47:51 -070041 bool "Run VGA Option ROMs"
Peter Stugebe0ede42012-10-27 14:17:04 +020042 default n if PAYLOAD_SEABIOS
43 default y if !PAYLOAD_SEABIOS
Ronald G. Minnich69efaa02013-02-26 10:07:40 -080044 depends on PCI && !PAYLOAD_SEABIOS && !MAINBOARD_DO_NATIVE_VGA_INIT || EXPERT
Patrick Georgi0588d192009-08-12 15:00:51 +000045 help
Peter Stugeb6fa47c2012-10-27 13:45:51 +020046 Execute VGA Option ROMs in coreboot if found. This is required
47 to enable PCI/AGP/PCI-E video cards when not using a SeaBIOS
48 payload.
49
50 When using a SeaBIOS payload it runs all option ROMs with much
51 more complete BIOS interrupt services available than coreboot,
52 which some option ROMs require in order to function correctly.
53
54 If unsure, say N when using SeaBIOS as payload, Y otherwise.
Myles Watsone6804952009-08-28 14:36:12 +000055
Stefan Reinauer0a500842011-09-23 10:33:58 -070056config S3_VGA_ROM_RUN
Stefan Reinauerafaa2572011-10-06 16:47:51 -070057 bool "Re-run VGA Option ROMs on S3 resume"
Stefan Reinauer0a500842011-09-23 10:33:58 -070058 default y
59 depends on VGA_ROM_RUN && HAVE_ACPI_RESUME
60 help
Peter Stugeb6fa47c2012-10-27 13:45:51 +020061 Execute VGA Option ROMs in coreboot when resuming from S3 suspend.
62
63 When using a SeaBIOS payload it runs all option ROMs with much
64 more complete BIOS interrupt services available than coreboot,
65 which some option ROMs require in order to function correctly.
66
67 If unsure, say N when using SeaBIOS as payload, Y otherwise.
Stefan Reinauer0a500842011-09-23 10:33:58 -070068
Myles Watsone6804952009-08-28 14:36:12 +000069config PCI_ROM_RUN
Stefan Reinauerafaa2572011-10-06 16:47:51 -070070 bool "Run non-VGA Option ROMs"
Peter Stugebe0ede42012-10-27 14:17:04 +020071 default n if PAYLOAD_SEABIOS
72 default y if !PAYLOAD_SEABIOS
Stefan Reinauer2110c972012-12-08 00:50:44 +010073 depends on PCI && !PAYLOAD_SEABIOS || EXPERT
Myles Watsone6804952009-08-28 14:36:12 +000074 help
Peter Stugeb6fa47c2012-10-27 13:45:51 +020075 Execute non-VGA PCI Option ROMs in coreboot if found.
Patrick Georgi0588d192009-08-12 15:00:51 +000076
Stefan Reinauerafaa2572011-10-06 16:47:51 -070077 Examples include IDE/SATA controller Option ROMs and Option ROMs
Uwe Hermann168b11b2009-10-07 16:15:40 +000078 for network cards (NICs).
79
Peter Stugeb6fa47c2012-10-27 13:45:51 +020080 When using a SeaBIOS payload it runs all option ROMs with much
81 more complete BIOS interrupt services available than coreboot,
82 which some option ROMs require in order to function correctly.
83
84 If unsure, say N when using SeaBIOS as payload, Y otherwise.
85
Stefan Reinauerafaa2572011-10-06 16:47:51 -070086config ON_DEVICE_ROM_RUN
87 bool "Run Option ROMs on PCI devices"
Peter Stugebe0ede42012-10-27 14:17:04 +020088 default n if PAYLOAD_SEABIOS
89 default y if !PAYLOAD_SEABIOS
Stefan Reinauer2110c972012-12-08 00:50:44 +010090 depends on PCI && !PAYLOAD_SEABIOS || EXPERT
Stefan Reinauerafaa2572011-10-06 16:47:51 -070091 help
Peter Stugeb6fa47c2012-10-27 13:45:51 +020092 Execute Option ROMs stored on PCI/PCIe/AGP devices in coreboot.
Stefan Reinauerafaa2572011-10-06 16:47:51 -070093
Peter Stugeb6fa47c2012-10-27 13:45:51 +020094 If disabled, only Option ROMs stored in CBFS will be executed by
95 coreboot. If you are concerned about security, you might want to
96 disable this option, but it might leave your system in a state of
97 degraded functionality.
Stefan Reinauerafaa2572011-10-06 16:47:51 -070098
Peter Stugeb6fa47c2012-10-27 13:45:51 +020099 When using a SeaBIOS payload it runs all option ROMs with much
100 more complete BIOS interrupt services available than coreboot,
101 which some option ROMs require in order to function correctly.
102
103 If unsure, say N when using SeaBIOS as payload, Y otherwise.
Stefan Reinauerafaa2572011-10-06 16:47:51 -0700104
Patrick Georgi0588d192009-08-12 15:00:51 +0000105choice
Uwe Hermann168b11b2009-10-07 16:15:40 +0000106 prompt "Option ROM execution type"
Stefan Reinauer14be4d02010-01-31 21:46:12 +0000107 default PCI_OPTION_ROM_RUN_YABEL if !ARCH_X86
108 default PCI_OPTION_ROM_RUN_REALMODE if ARCH_X86
Myles Watsone3df1212010-06-04 15:55:12 +0000109 depends on PCI_ROM_RUN || VGA_ROM_RUN || GEODE_VSA
Uwe Hermann168b11b2009-10-07 16:15:40 +0000110
111config PCI_OPTION_ROM_RUN_REALMODE
Stefan Reinauerd650e992010-02-22 04:33:13 +0000112 prompt "Native mode"
Uwe Hermann168b11b2009-10-07 16:15:40 +0000113 bool
Stefan Reinauer14be4d02010-01-31 21:46:12 +0000114 depends on ARCH_X86
Myles Watson28412f52009-09-17 16:54:46 +0000115 help
Stefan Reinauerafaa2572011-10-06 16:47:51 -0700116 If you select this option, PCI Option ROMs will be executed
Stefan Reinauer14be4d02010-01-31 21:46:12 +0000117 natively on the CPU in real mode. No CPU emulation is involved,
118 so this is the fastest, but also the least secure option.
119 (only works on x86/x64 systems)
Patrick Georgi0588d192009-08-12 15:00:51 +0000120
Stefan Reinauerd650e992010-02-22 04:33:13 +0000121config PCI_OPTION_ROM_RUN_YABEL
Uwe Hermann548dbe72010-02-22 16:41:49 +0000122 prompt "Secure mode"
Uwe Hermann168b11b2009-10-07 16:15:40 +0000123 bool
Myles Watsone3df1212010-06-04 15:55:12 +0000124 depends on !GEODE_VSA
Uwe Hermann168b11b2009-10-07 16:15:40 +0000125 help
Stefan Reinauer14be4d02010-01-31 21:46:12 +0000126 If you select this option, the x86emu CPU emulator will be used to
Stefan Reinauerafaa2572011-10-06 16:47:51 -0700127 execute PCI Option ROMs.
Uwe Hermann548dbe72010-02-22 16:41:49 +0000128
Stefan Reinauerafaa2572011-10-06 16:47:51 -0700129 This option prevents Option ROMs from doing dirty tricks with the
Uwe Hermann548dbe72010-02-22 16:41:49 +0000130 system (such as installing SMM modules or hypervisors), but it is
Stefan Reinauerafaa2572011-10-06 16:47:51 -0700131 also significantly slower than the native Option ROM initialization
Uwe Hermann548dbe72010-02-22 16:41:49 +0000132 method.
133
Stefan Reinauerd650e992010-02-22 04:33:13 +0000134 This is the default choice for non-x86 systems.
Uwe Hermann548dbe72010-02-22 16:41:49 +0000135
Patrick Georgi0588d192009-08-12 15:00:51 +0000136endchoice
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000137
Stefan Reinauer9a358532010-02-12 09:32:17 +0000138config YABEL_PCI_ACCESS_OTHER_DEVICES
Stefan Reinauerafaa2572011-10-06 16:47:51 -0700139 prompt "Allow Option ROMs to access other devices"
Stefan Reinauer9a358532010-02-12 09:32:17 +0000140 bool
141 depends on PCI_OPTION_ROM_RUN_YABEL
142 help
Stefan Reinauerafaa2572011-10-06 16:47:51 -0700143 Per default, YABEL only allows Option ROMs to access the PCI device
Stefan Reinauer9a358532010-02-12 09:32:17 +0000144 that they are associated with. However, this causes trouble for some
Stefan Reinauerafaa2572011-10-06 16:47:51 -0700145 onboard graphics chips whose Option ROM needs to reconfigure the
Uwe Hermann548dbe72010-02-22 16:41:49 +0000146 north bridge.
Stefan Reinauer9a358532010-02-12 09:32:17 +0000147
Patrick Georgic4b2a1b2012-07-20 13:44:50 +0200148config YABEL_PCI_FAKE_WRITING_OTHER_DEVICES_CONFIG
149 prompt "Fake success on writing other device's config space"
150 bool
151 depends on YABEL_PCI_ACCESS_OTHER_DEVICES
152 help
153 By default, YABEL aborts when the Option ROM tries to write to other
154 devices' config spaces. With this option enabled, the write doesn't
155 follow through, but the Option ROM is allowed to go on.
156 This can create issues such as hanging Option ROMs (if it depends on
157 that other register changing to the written value), so test for
158 impact before using this option.
159
Stefan Reinauer9a358532010-02-12 09:32:17 +0000160config YABEL_VIRTMEM_LOCATION
161 prompt "Location of YABEL's virtual memory"
162 hex
Stefan Reinauerd650e992010-02-22 04:33:13 +0000163 depends on PCI_OPTION_ROM_RUN_YABEL && EXPERT
Stefan Reinauer9a358532010-02-12 09:32:17 +0000164 default 0x1000000
165 help
166 YABEL requires 1MB memory for its CPU emulation. This memory is
167 normally located at 16MB.
168
Uwe Hermann01ce6012010-03-05 10:03:50 +0000169config YABEL_VIRTMEM_LOCATION
170 hex
171 depends on PCI_OPTION_ROM_RUN_YABEL && !EXPERT
172 default 0x1000000
173
Stefan Reinauerd650e992010-02-22 04:33:13 +0000174config YABEL_DIRECTHW
Uwe Hermann548dbe72010-02-22 16:41:49 +0000175 prompt "Direct hardware access"
Stefan Reinauerd650e992010-02-22 04:33:13 +0000176 bool
Stefan Reinauer91f14232012-12-07 16:55:12 -0800177 depends on PCI_OPTION_ROM_RUN_YABEL && ARCH_X86
Myles Watsone6804952009-08-28 14:36:12 +0000178 help
Stefan Reinauerd650e992010-02-22 04:33:13 +0000179 YABEL consists of two parts: It uses x86emu for the CPU emulation and
Uwe Hermann548dbe72010-02-22 16:41:49 +0000180 additionally provides a PC system emulation that filters bad device
181 and memory access (such as PCI config space access to other devices
182 than the initialized one).
183
Stefan Reinauerd650e992010-02-22 04:33:13 +0000184 When choosing this option, x86emu will pass through all hardware
Uwe Hermann548dbe72010-02-22 16:41:49 +0000185 accesses to memory and I/O devices to the underlying memory and I/O
Stefan Reinauerafaa2572011-10-06 16:47:51 -0700186 addresses. While this option prevents Option ROMs from doing dirty
Stefan Reinauerd650e992010-02-22 04:33:13 +0000187 tricks with the CPU (such as installing SMM modules or hypervisors),
188 they can still access all devices in the system.
189 Enable this option for a good compromise between security and speed.
190
Stefan Reinauerabc0c852010-11-22 08:09:50 +0000191config MULTIPLE_VGA_ADAPTERS
Myles Watson28412f52009-09-17 16:54:46 +0000192 bool
193 default n
194
Ronald G. Minnich78a16672012-11-29 16:28:21 -0800195config PCI
196 bool
197 default n
198
Ronald G. Minnich876d7e92009-08-28 14:23:38 +0000199config PCI_64BIT_PREF_MEM
200 bool
Ronald G. Minnich78a16672012-11-29 16:28:21 -0800201 depends on PCI
Ronald G. Minnich876d7e92009-08-28 14:23:38 +0000202 default n
203
204config HYPERTRANSPORT_PLUGIN_SUPPORT
205 bool
Ronald G. Minnich78a16672012-11-29 16:28:21 -0800206 depends on PCI
Myles Watson74fb8f22009-09-24 15:09:11 +0000207 default n
Ronald G. Minnich876d7e92009-08-28 14:23:38 +0000208
209config PCIX_PLUGIN_SUPPORT
210 bool
Ronald G. Minnich78a16672012-11-29 16:28:21 -0800211 depends on PCI
Myles Watsoned035562009-09-22 21:29:32 +0000212 default y
Ronald G. Minnich876d7e92009-08-28 14:23:38 +0000213
214config PCIEXP_PLUGIN_SUPPORT
215 bool
Ronald G. Minnich78a16672012-11-29 16:28:21 -0800216 depends on PCI
Myles Watsoned035562009-09-22 21:29:32 +0000217 default y
Ronald G. Minnich876d7e92009-08-28 14:23:38 +0000218
219config AGP_PLUGIN_SUPPORT
220 bool
Ronald G. Minnich78a16672012-11-29 16:28:21 -0800221 depends on PCI
Myles Watsoned035562009-09-22 21:29:32 +0000222 default y
Ronald G. Minnich876d7e92009-08-28 14:23:38 +0000223
224config CARDBUS_PLUGIN_SUPPORT
225 bool
Ronald G. Minnich78a16672012-11-29 16:28:21 -0800226 depends on PCI
Myles Watsoned035562009-09-22 21:29:32 +0000227 default y
Duncan Laurie90dcdd42011-10-25 14:15:11 -0700228
229config PCIEXP_COMMON_CLOCK
230 prompt "Enable PCIe Common Clock"
231 bool
Stefan Reinauerc4077d42013-01-04 10:07:28 -0800232 depends on PCIEXP_PLUGIN_SUPPORT
Duncan Laurie90dcdd42011-10-25 14:15:11 -0700233 default n
234 help
235 Detect and enable Common Clock on PCIe links.
236
237config PCIEXP_ASPM
238 prompt "Enable PCIe ASPM"
239 bool
Stefan Reinauerc4077d42013-01-04 10:07:28 -0800240 depends on PCIEXP_PLUGIN_SUPPORT
Duncan Laurie90dcdd42011-10-25 14:15:11 -0700241 default n
242 help
243 Detect and enable ASPM on PCIe links.
Stefan Reinauer95a63962012-11-13 17:00:01 -0800244
245config PCI_BUS_SEGN_BITS
246 int
247 default 0
248endmenu
249
250menu "VGA BIOS"
251
252config VGA_BIOS
253 bool "Add a VGA BIOS image"
254 help
255 Select this option if you have a VGA BIOS image that you would
256 like to add to your ROM.
257
258 You will be able to specify the location and file name of the
259 image later.
260
261config VGA_BIOS_FILE
262 string "VGA BIOS path and filename"
263 depends on VGA_BIOS
264 default "vgabios.bin"
265 help
266 The path and filename of the file to use as VGA BIOS.
267
268config VGA_BIOS_ID
269 string "VGA device PCI IDs"
270 depends on VGA_BIOS
271 default "1106,3230"
272 help
273 The comma-separated PCI vendor and device ID that would associate
274 your VGA BIOS to your video card.
275
276 Example: 1106,3230
277
278 In the above example 1106 is the PCI vendor ID (in hex, but without
279 the "0x" prefix) and 3230 specifies the PCI device ID of the
280 video card (also in hex, without "0x" prefix).
281
282config INTEL_MBI
283 bool "Add an MBI image"
284 depends on NORTHBRIDGE_INTEL_I82830
285 help
286 Select this option if you have an Intel MBI image that you would
287 like to add to your ROM.
288
289 You will be able to specify the location and file name of the
290 image later.
291
292config MBI_FILE
293 string "Intel MBI path and filename"
294 depends on INTEL_MBI
295 default "mbi.bin"
296 help
297 The path and filename of the file to use as VGA BIOS.
298
299endmenu
300
301menu "Display"
Ronald G. Minnich69efaa02013-02-26 10:07:40 -0800302 depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE || MAINBOARD_DO_NATIVE_VGA_INIT
Stefan Reinauer95a63962012-11-13 17:00:01 -0800303
304config FRAMEBUFFER_SET_VESA_MODE
Ronald G. Minnich69efaa02013-02-26 10:07:40 -0800305 prompt "Set framebuffer graphics resolution"
Stefan Reinauer95a63962012-11-13 17:00:01 -0800306 bool
307 depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE
308 help
Ronald G. Minnich69efaa02013-02-26 10:07:40 -0800309 Set VESA/native framebuffer mode (needed for bootsplash and graphical framebuffer console)
Stefan Reinauer95a63962012-11-13 17:00:01 -0800310
311choice
Ronald G. Minnich69efaa02013-02-26 10:07:40 -0800312 prompt "framebuffer graphics resolution"
Stefan Reinauer95a63962012-11-13 17:00:01 -0800313 default FRAMEBUFFER_VESA_MODE_117
Ronald G. Minnich69efaa02013-02-26 10:07:40 -0800314 depends on FRAMEBUFFER_SET_VESA_MODE || MAINBOARD_DO_NATIVE_VGA_INIT
Stefan Reinauer95a63962012-11-13 17:00:01 -0800315 help
316 This option sets the resolution used for the coreboot framebuffer (and
317 bootsplash screen).
318
319config FRAMEBUFFER_VESA_MODE_100
320 bool "640x400 256-color"
321
322config FRAMEBUFFER_VESA_MODE_101
323 bool "640x480 256-color"
324
325config FRAMEBUFFER_VESA_MODE_102
326 bool "800x600 16-color"
327
328config FRAMEBUFFER_VESA_MODE_103
329 bool "800x600 256-color"
330
331config FRAMEBUFFER_VESA_MODE_104
332 bool "1024x768 16-color"
333
334config FRAMEBUFFER_VESA_MODE_105
335 bool "1024x7686 256-color"
336
337config FRAMEBUFFER_VESA_MODE_106
338 bool "1280x1024 16-color"
339
340config FRAMEBUFFER_VESA_MODE_107
341 bool "1280x1024 256-color"
342
343config FRAMEBUFFER_VESA_MODE_108
344 bool "80x60 text"
345
346config FRAMEBUFFER_VESA_MODE_109
347 bool "132x25 text"
348
349config FRAMEBUFFER_VESA_MODE_10A
350 bool "132x43 text"
351
352config FRAMEBUFFER_VESA_MODE_10B
353 bool "132x50 text"
354
355config FRAMEBUFFER_VESA_MODE_10C
356 bool "132x60 text"
357
358config FRAMEBUFFER_VESA_MODE_10D
359 bool "320x200 32k-color (1:5:5:5)"
360
361config FRAMEBUFFER_VESA_MODE_10E
362 bool "320x200 64k-color (5:6:5)"
363
364config FRAMEBUFFER_VESA_MODE_10F
365 bool "320x200 16.8M-color (8:8:8)"
366
367config FRAMEBUFFER_VESA_MODE_110
368 bool "640x480 32k-color (1:5:5:5)"
369
370config FRAMEBUFFER_VESA_MODE_111
371 bool "640x480 64k-color (5:6:5)"
372
373config FRAMEBUFFER_VESA_MODE_112
374 bool "640x480 16.8M-color (8:8:8)"
375
376config FRAMEBUFFER_VESA_MODE_113
377 bool "800x600 32k-color (1:5:5:5)"
378
379config FRAMEBUFFER_VESA_MODE_114
380 bool "800x600 64k-color (5:6:5)"
381
382config FRAMEBUFFER_VESA_MODE_115
383 bool "800x600 16.8M-color (8:8:8)"
384
385config FRAMEBUFFER_VESA_MODE_116
386 bool "1024x768 32k-color (1:5:5:5)"
387
388config FRAMEBUFFER_VESA_MODE_117
389 bool "1024x768 64k-color (5:6:5)"
390
391config FRAMEBUFFER_VESA_MODE_118
392 bool "1024x768 16.8M-color (8:8:8)"
393
394config FRAMEBUFFER_VESA_MODE_119
395 bool "1280x1024 32k-color (1:5:5:5)"
396
397config FRAMEBUFFER_VESA_MODE_11A
398 bool "1280x1024 64k-color (5:6:5)"
399
400config FRAMEBUFFER_VESA_MODE_11B
401 bool "1280x1024 16.8M-color (8:8:8)"
402
403config FRAMEBUFFER_VESA_MODE_USER
404 bool "Manually select VESA mode"
Ronald G. Minnich69efaa02013-02-26 10:07:40 -0800405 depends on !MAINBOARD_DO_NATIVE_VGA_INIT
Stefan Reinauer95a63962012-11-13 17:00:01 -0800406
407endchoice
408
409# Map the config names to an integer (KB).
410config FRAMEBUFFER_VESA_MODE
411 prompt "VESA mode" if FRAMEBUFFER_VESA_MODE_USER
412 hex
413 default 0x100 if FRAMEBUFFER_VESA_MODE_100
414 default 0x101 if FRAMEBUFFER_VESA_MODE_101
415 default 0x102 if FRAMEBUFFER_VESA_MODE_102
416 default 0x103 if FRAMEBUFFER_VESA_MODE_103
417 default 0x104 if FRAMEBUFFER_VESA_MODE_104
418 default 0x105 if FRAMEBUFFER_VESA_MODE_105
419 default 0x106 if FRAMEBUFFER_VESA_MODE_106
420 default 0x107 if FRAMEBUFFER_VESA_MODE_107
421 default 0x108 if FRAMEBUFFER_VESA_MODE_108
422 default 0x109 if FRAMEBUFFER_VESA_MODE_109
423 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
424 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
425 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
426 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
427 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
428 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
429 default 0x110 if FRAMEBUFFER_VESA_MODE_110
430 default 0x111 if FRAMEBUFFER_VESA_MODE_111
431 default 0x112 if FRAMEBUFFER_VESA_MODE_112
432 default 0x113 if FRAMEBUFFER_VESA_MODE_113
433 default 0x114 if FRAMEBUFFER_VESA_MODE_114
434 default 0x115 if FRAMEBUFFER_VESA_MODE_115
435 default 0x116 if FRAMEBUFFER_VESA_MODE_116
436 default 0x117 if FRAMEBUFFER_VESA_MODE_117
437 default 0x118 if FRAMEBUFFER_VESA_MODE_118
438 default 0x119 if FRAMEBUFFER_VESA_MODE_119
439 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
440 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
441 default 0x117 if FRAMEBUFFER_VESA_MODE_USER
442
443config FRAMEBUFFER_KEEP_VESA_MODE
444 prompt "Keep VESA framebuffer"
445 bool
Ronald G. Minnich69efaa02013-02-26 10:07:40 -0800446 depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE || !MAINBOARD_DO_NATIVE_VGA_INIT
Stefan Reinauer95a63962012-11-13 17:00:01 -0800447 help
448 This option keeps the framebuffer mode set after coreboot finishes
449 execution. If this option is enabled, coreboot will pass a
450 framebuffer entry in its coreboot table and the payload will need a
451 framebuffer driver. If this option is disabled, coreboot will switch
452 back to text mode before handing control to a payload.
453
454config BOOTSPLASH
455 prompt "Show graphical bootsplash"
456 bool
457 depends on FRAMEBUFFER_SET_VESA_MODE
458 help
459 This option shows a graphical bootsplash screen. The grapics are
460 loaded from the CBFS file bootsplash.jpg.
461
462config BOOTSPLASH_FILE
463 string "Bootsplash path and filename"
464 depends on BOOTSPLASH
465 default "bootsplash.jpg"
466 help
467 The path and filename of the file to use as graphical bootsplash
468 screen. The file format has to be jpg.
469endmenu
Siyuan Wang64a7ed62013-04-03 17:02:58 +0800470
471menu "PXE ROM"
472config PXE_ROM
473 bool "Add a PXE ROM image"
474 help
475 Select this option if you have a PXE ROM image that you would
476 like to add to your ROM.
477
478config PXE_ROM_FILE
479 string "PXE ROM filename"
480 depends on PXE_ROM
481 default "pxe.rom"
482 help
483 The path and filename of the file to use as PXE ROM.
484
485config PXE_ROM_ID
486 string "network card PCI IDs"
487 depends on PXE_ROM
488 default "10ec,8168"
489 help
490 The comma-separated PCI vendor and device ID that would associate
491 your PXE ROM to your network card.
492
493 Example: 10ec,8168
494
495 In the above example 10ec is the PCI vendor ID (in hex, but without
496 the "0x" prefix) and 8168 specifies the PCI device ID of the
497 network card (also in hex, without "0x" prefix).
498
499 Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices.
500endmenu