blob: d361315540780f6a4015673a99d793e9650a05f6 [file] [log] [blame]
Patrick Georgi0588d192009-08-12 15:00:51 +00001##
Stefan Reinauer16f515a2010-01-20 18:44:30 +00002## This file is part of the coreboot project.
Patrick Georgi0588d192009-08-12 15:00:51 +00003##
Stefan Reinauer16f515a2010-01-20 18:44:30 +00004## Copyright (C) 2009-2010 coresystems GmbH
Patrick Georgi0588d192009-08-12 15:00:51 +00005##
Stefan Reinauer16f515a2010-01-20 18:44:30 +00006## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; version 2 of the License.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14##
15## You should have received a copy of the GNU General Public License
16## along with this program; if not, write to the Free Software
17## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Patrick Georgi0588d192009-08-12 15:00:51 +000018##
19
20mainmenu "Coreboot Configuration"
21
Uwe Hermannc04be932009-10-05 13:55:28 +000022menu "General setup"
23
Uwe Hermanna29ad5c2009-10-18 18:35:50 +000024config EXPERT
25 bool "Expert mode"
26 help
27 This allows you to select certain advanced configuration options.
28
29 Warning: Only enable this option if you really know what you are
30 doing! You have been warned!
31
Uwe Hermannc04be932009-10-05 13:55:28 +000032config LOCALVERSION
Uwe Hermann168b11b2009-10-07 16:15:40 +000033 string "Local version string"
Uwe Hermannc04be932009-10-05 13:55:28 +000034 help
35 Append an extra string to the end of the coreboot version.
36
Uwe Hermann168b11b2009-10-07 16:15:40 +000037 This can be useful if, for instance, you want to append the
38 respective board's hostname or some other identifying string to
39 the coreboot version number, so that you can easily distinguish
40 boot logs of different boards from each other.
41
Patrick Georgi4b8a2412010-02-09 19:35:16 +000042config CBFS_PREFIX
43 string "CBFS prefix to use"
44 default "fallback"
45 help
46 Select the prefix to all files put into the image. It's "fallback"
47 by default, "normal" is a common alternative.
48
Patrick Georgi020f51f2010-03-14 21:25:03 +000049config SCANBUILD_ENABLE
50 bool "build with scan-build for static analysis"
51 default n
52 help
53 Changes the build process to scan-build is used.
54 Requires scan-build in path.
55
56config SCANBUILD_REPORT_LOCATION
57 string "directory to put scan-build report in"
58 default ""
59 depends on SCANBUILD_ENABLE
60 help
61 Where the scan-build report should be stored
62
Uwe Hermannc04be932009-10-05 13:55:28 +000063endmenu
64
Patrick Georgi0588d192009-08-12 15:00:51 +000065source src/mainboard/Kconfig
66source src/arch/i386/Kconfig
Uwe Hermann63a8f2a2009-10-26 21:42:13 +000067
68menu "Chipset"
69
70comment "CPU"
Patrick Georgi0588d192009-08-12 15:00:51 +000071source src/cpu/Kconfig
Uwe Hermann63a8f2a2009-10-26 21:42:13 +000072comment "Northbridge"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +000073
Uwe Hermann2bb4acf2010-03-01 17:19:55 +000074menu "HyperTransport setup"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +000075 depends on (NORTHBRIDGE_AMD_AMDK8 || NORTHBRIDGE_AMD_AMDFAM10) && EXPERT
76
77choice
Uwe Hermann2bb4acf2010-03-01 17:19:55 +000078 prompt "HyperTransport frequency"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +000079 default LIMIT_HT_SPEED_AUTO
80 help
Uwe Hermann2bb4acf2010-03-01 17:19:55 +000081 This option sets the maximum permissible HyperTransport link
82 frequency.
83
84 Use of this option will only limit the autodetected HT frequency.
85 It will not (and cannot) increase the frequency beyond the
86 autodetected limits.
87
88 This is primarily used to work around poorly designed or laid out
89 HT traces on certain motherboards.
Timothy Pearson55cf7bc2010-03-01 10:30:08 +000090
91config LIMIT_HT_SPEED_200
92 bool "Limit HT frequency to 200MHz"
93config LIMIT_HT_SPEED_400
94 bool "Limit HT frequency to 400MHz"
95config LIMIT_HT_SPEED_600
96 bool "Limit HT frequency to 600MHz"
97config LIMIT_HT_SPEED_800
98 bool "Limit HT frequency to 800MHz"
99config LIMIT_HT_SPEED_1000
100 bool "Limit HT frequency to 1.0GHz"
101config LIMIT_HT_SPEED_1200
102 bool "Limit HT frequency to 1.2GHz"
103config LIMIT_HT_SPEED_1400
104 bool "Limit HT frequency to 1.4GHz"
105config LIMIT_HT_SPEED_1600
106 bool "Limit HT frequency to 1.6GHz"
107config LIMIT_HT_SPEED_1800
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000108 bool "Limit HT frequency to 1.8GHz"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000109config LIMIT_HT_SPEED_2000
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000110 bool "Limit HT frequency to 2.0GHz"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000111config LIMIT_HT_SPEED_2200
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000112 bool "Limit HT frequency to 2.2GHz"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000113config LIMIT_HT_SPEED_2400
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000114 bool "Limit HT frequency to 2.4GHz"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000115config LIMIT_HT_SPEED_2600
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000116 bool "Limit HT frequency to 2.6GHz"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000117config LIMIT_HT_SPEED_AUTO
118 bool "Autodetect HT frequency"
119endchoice
120
121choice
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000122 prompt "HyperTransport downlink width"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000123 default LIMIT_HT_DOWN_WIDTH_16
124 help
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000125 This option sets the maximum permissible HyperTransport
126 downlink width.
127
128 Use of this option will only limit the autodetected HT width.
129 It will not (and cannot) increase the width beyond the autodetected
130 limits.
131
132 This is primarily used to work around poorly designed or laid out HT
133 traces on certain motherboards.
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000134
135config LIMIT_HT_DOWN_WIDTH_8
136 bool "8 bits"
137config LIMIT_HT_DOWN_WIDTH_16
138 bool "16 bits"
139endchoice
140
141choice
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000142 prompt "HyperTransport uplink width"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000143 default LIMIT_HT_UP_WIDTH_16
144 help
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000145 This option sets the maximum permissible HyperTransport
146 uplink width.
147
148 Use of this option will only limit the autodetected HT width.
149 It will not (and cannot) increase the width beyond the autodetected
150 limits.
151
152 This is primarily used to work around poorly designed or laid out HT
153 traces on certain motherboards.
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000154
155config LIMIT_HT_UP_WIDTH_8
156 bool "8 bits"
157config LIMIT_HT_UP_WIDTH_16
158 bool "16 bits"
159endchoice
160
161endmenu
162
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000163source src/northbridge/Kconfig
164comment "Southbridge"
165source src/southbridge/Kconfig
166comment "Super I/O"
167source src/superio/Kconfig
168comment "Devices"
169source src/devices/Kconfig
170
171endmenu
Patrick Georgi0588d192009-08-12 15:00:51 +0000172
Patrick Georgi0588d192009-08-12 15:00:51 +0000173config PCI_BUS_SEGN_BITS
Myles Watson74fb8f22009-09-24 15:09:11 +0000174 int
175 default 0
Patrick Georgi892b0912009-09-24 09:03:06 +0000176
Patrick Georgi0588d192009-08-12 15:00:51 +0000177config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000178 hex
Uwe Hermann748475b2009-10-09 11:47:21 +0000179 default 0x0
Patrick Georgi0588d192009-08-12 15:00:51 +0000180
181config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000182 hex
Uwe Hermann748475b2009-10-09 11:47:21 +0000183 default 0x0
Patrick Georgi0588d192009-08-12 15:00:51 +0000184
185config CPU_ADDR_BITS
186 int
187 default 36
188
189config XIP_ROM_BASE
190 hex
191 default 0xfffe0000
192
193config XIP_ROM_SIZE
194 hex
195 default 0x20000
196
197config LB_CKS_RANGE_START
198 int
199 default 49
200
201config LB_CKS_RANGE_END
202 int
203 default 125
204
205config LB_CKS_LOC
206 int
207 default 126
208
209config LOGICAL_CPUS
Myles Watson45bb25f2009-09-22 18:49:08 +0000210 bool
211 default y
Patrick Georgi0588d192009-08-12 15:00:51 +0000212
213config PCI_ROM_RUN
Patrick Georgi698c0e0e2009-08-25 17:38:24 +0000214 bool
215 default n
Patrick Georgi0588d192009-08-12 15:00:51 +0000216
Patrick Georgi0588d192009-08-12 15:00:51 +0000217config HEAP_SIZE
218 hex
Myles Watson04000f42009-10-16 19:12:49 +0000219 default 0x4000
Patrick Georgi0588d192009-08-12 15:00:51 +0000220
Patrick Georgi0588d192009-08-12 15:00:51 +0000221config DEBUG
222 bool
223 default n
224
225config USE_PRINTK_IN_CAR
226 bool
227 default n
228
229config USE_OPTION_TABLE
230 bool
231 default n
232
233config MAX_CPUS
234 int
235 default 1
236
237config MMCONF_SUPPORT_DEFAULT
238 bool
239 default n
240
241config MMCONF_SUPPORT
242 bool
243 default n
244
Myles Watson0f61a4f2009-10-16 16:32:57 +0000245config RAMTOP
Myles Watson3db199c2009-10-12 22:39:08 +0000246 hex
Myles Watson0f61a4f2009-10-16 16:32:57 +0000247 default 0x200000
Patrick Georgi0588d192009-08-12 15:00:51 +0000248
Patrick Georgi91ff0df2009-10-09 12:32:52 +0000249config ATI_RAGE_XL
250 bool
Patrick Georgi91ff0df2009-10-09 12:32:52 +0000251
Patrick Georgi0588d192009-08-12 15:00:51 +0000252source src/console/Kconfig
253
254config HAVE_ACPI_RESUME
255 bool
256 default n
257
258config ACPI_SSDTX_NUM
259 int
260 default 0
261
Patrick Georgi0588d192009-08-12 15:00:51 +0000262config HAVE_FALLBACK_BOOT
263 bool
264 default y
265
266config USE_FALLBACK_IMAGE
267 bool
268 default y
269
Patrick Georgi37ea3412009-10-03 21:04:13 +0000270config HAVE_FAILOVER_BOOT
271 bool
272 default n
273
274config USE_FAILOVER_IMAGE
275 bool
276 default n
277
Patrick Georgi0588d192009-08-12 15:00:51 +0000278config HAVE_HARD_RESET
279 bool
Patrick Georgi37bdb872010-02-27 08:39:04 +0000280 default y if BOARD_HAS_HARD_RESET
Uwe Hermann748475b2009-10-09 11:47:21 +0000281 default n
Patrick Georgi37bdb872010-02-27 08:39:04 +0000282 help
283 This variable specifies whether a given board has a hard_reset
284 function, no matter if it's provided by board code or chipset code.
285
286config BOARD_HAS_HARD_RESET
287 bool
288 default n
289 help
290 This variable specifies whether a given board has a reset.c
291 file containing a hard_reset() function.
Patrick Georgi0588d192009-08-12 15:00:51 +0000292
Patrick Georgi9ea7bff2010-02-28 18:23:00 +0000293config BOARD_HAS_FADT
294 bool
295 default n
296 help
297 This variable specifies whether a given board has a board-local
298 FADT in fadt.c. Long-term, those should be moved to appropriate
299 chipset components (eg. southbridge)
300
301config HAVE_BUS_CONFIG
302 bool
303 default n
304 help
305 This variable specifies whether a given board has a get_bus_conf.c
306 file containing bus configuration data.
307
Patrick Georgi0588d192009-08-12 15:00:51 +0000308config HAVE_INIT_TIMER
309 bool
Patrick Georgi1f807fd2010-01-04 20:09:27 +0000310 default n if UDELAY_IO
Myles Watsond73c1b52009-10-26 15:14:07 +0000311 default y
Patrick Georgi0588d192009-08-12 15:00:51 +0000312
313config HAVE_MAINBOARD_RESOURCES
314 bool
315 default n
316
Patrick Georgi0588d192009-08-12 15:00:51 +0000317config HAVE_OPTION_TABLE
318 bool
319 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000320 help
321 This variable specifies whether a given board has a cmos.layout
322 file containing NVRAM/CMOS bit definitions.
323 It defaults to 'y' but can be changed to 'n' in mainboard/*/Kconfig.
Patrick Georgi0588d192009-08-12 15:00:51 +0000324
Patrick Georgi0588d192009-08-12 15:00:51 +0000325config PIRQ_ROUTE
326 bool
327 default n
328
329config HAVE_SMI_HANDLER
330 bool
331 default n
332
333config PCI_IO_CFG_EXT
334 bool
335 default n
336
337config IOAPIC
338 bool
339 default n
340
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000341# TODO: Can probably be removed once all chipsets have kconfig options for it.
Uwe Hermann70b0cf22009-10-04 17:15:39 +0000342config VIDEO_MB
343 int
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000344 default 0
Uwe Hermann70b0cf22009-10-04 17:15:39 +0000345
Myles Watson45bb25f2009-09-22 18:49:08 +0000346config USE_WATCHDOG_ON_BOOT
347 bool
348 default n
349
350config VGA
351 bool
352 default n
353 help
354 Build board-specific VGA code.
355
356config GFXUMA
357 bool
Myles Watsond73c1b52009-10-26 15:14:07 +0000358 default n
Myles Watson45bb25f2009-09-22 18:49:08 +0000359 help
360 Enable Unified Memory Architecture for graphics.
361
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000362# TODO
363# menu "Drivers"
Uwe Hermann168b11b2009-10-07 16:15:40 +0000364#
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000365# endmenu
Patrick Georgi0588d192009-08-12 15:00:51 +0000366
Myles Watsond73c1b52009-10-26 15:14:07 +0000367#TODO Remove this option or make it useful.
368config HAVE_LOW_TABLES
369 bool
370 default y
371 help
372 This Option is unused in the code. Since two boards try to set it to
373 'n', they may be broken. We either need to make the option useful or
374 get rid of it. The broken boards are:
375 asus/m2v-mx_se
376 supermicro/h8dme
377
378config HAVE_HIGH_TABLES
379 bool
Stefan Reinauer13f2bb02010-02-25 13:45:08 +0000380 default y
Myles Watsond73c1b52009-10-26 15:14:07 +0000381 help
382 This variable specifies whether a given northbridge has high table
383 support.
384 It is set in northbridge/*/Kconfig.
385 Whether or not the high tables are actually written by coreboot is
386 configurable by the user via WRITE_HIGH_TABLES.
387
Myles Watsonb8e20272009-10-15 13:35:47 +0000388config HAVE_ACPI_TABLES
389 bool
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000390 help
391 This variable specifies whether a given board has ACPI table support.
392 It is usually set in mainboard/*/Kconfig.
393 Whether or not the ACPI tables are actually generated by coreboot
394 is configurable by the user via GENERATE_ACPI_TABLES.
Myles Watsonb8e20272009-10-15 13:35:47 +0000395
396config HAVE_MP_TABLE
397 bool
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000398 help
399 This variable specifies whether a given board has MP table support.
400 It is usually set in mainboard/*/Kconfig.
401 Whether or not the MP table is actually generated by coreboot
402 is configurable by the user via GENERATE_MP_TABLE.
Myles Watsonb8e20272009-10-15 13:35:47 +0000403
404config HAVE_PIRQ_TABLE
405 bool
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000406 help
407 This variable specifies whether a given board has PIRQ table support.
408 It is usually set in mainboard/*/Kconfig.
409 Whether or not the PIRQ table is actually generated by coreboot
410 is configurable by the user via GENERATE_PIRQ_TABLE.
Myles Watsonb8e20272009-10-15 13:35:47 +0000411
Myles Watsond73c1b52009-10-26 15:14:07 +0000412#These Options are here to avoid "undefined" warnings.
413#The actual selection and help texts are in the following menu.
414
415config GENERATE_ACPI_TABLES
Myles Watsonb8e20272009-10-15 13:35:47 +0000416 bool
Myles Watsond73c1b52009-10-26 15:14:07 +0000417 default HAVE_ACPI_TABLES
418
419config GENERATE_MP_TABLE
420 bool
421 default HAVE_MP_TABLE
422
423config GENERATE_PIRQ_TABLE
424 bool
425 default HAVE_PIRQ_TABLE
426
427config WRITE_HIGH_TABLES
428 bool
429 default HAVE_HIGH_TABLES
Myles Watsonb8e20272009-10-15 13:35:47 +0000430
Uwe Hermann168b11b2009-10-07 16:15:40 +0000431menu "System tables"
Myles Watson45bb25f2009-09-22 18:49:08 +0000432
Myles Watsonb8e20272009-10-15 13:35:47 +0000433config WRITE_HIGH_TABLES
Myles Watson45bb25f2009-09-22 18:49:08 +0000434 bool "Write 'high' tables to avoid being overwritten in F segment"
Myles Watsonb8e20272009-10-15 13:35:47 +0000435 depends on HAVE_HIGH_TABLES
Myles Watson45bb25f2009-09-22 18:49:08 +0000436 default y
437
438config MULTIBOOT
Uwe Hermann168b11b2009-10-07 16:15:40 +0000439 bool "Generate Multiboot tables (for GRUB2)"
Ronald G. Minnich7f91d922009-11-09 17:56:47 +0000440 default y
Myles Watson45bb25f2009-09-22 18:49:08 +0000441
Myles Watsonb8e20272009-10-15 13:35:47 +0000442config GENERATE_ACPI_TABLES
443 depends on HAVE_ACPI_TABLES
Myles Watson45bb25f2009-09-22 18:49:08 +0000444 bool "Generate ACPI tables"
Myles Watsonb8e20272009-10-15 13:35:47 +0000445 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000446 help
447 Generate ACPI tables for this board.
448
449 If unsure, say Y.
Myles Watson45bb25f2009-09-22 18:49:08 +0000450
Myles Watsonb8e20272009-10-15 13:35:47 +0000451config GENERATE_MP_TABLE
452 depends on HAVE_MP_TABLE
Myles Watson45bb25f2009-09-22 18:49:08 +0000453 bool "Generate an MP table"
Myles Watsonb8e20272009-10-15 13:35:47 +0000454 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000455 help
456 Generate an MP table (conforming to the Intel MultiProcessor
457 specification 1.4) for this board.
458
459 If unsure, say Y.
Myles Watson45bb25f2009-09-22 18:49:08 +0000460
Myles Watsonb8e20272009-10-15 13:35:47 +0000461config GENERATE_PIRQ_TABLE
462 depends on HAVE_PIRQ_TABLE
Myles Watson45bb25f2009-09-22 18:49:08 +0000463 bool "Generate a PIRQ table"
Myles Watsonb8e20272009-10-15 13:35:47 +0000464 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000465 help
466 Generate a PIRQ table for this board.
467
468 If unsure, say Y.
Myles Watson45bb25f2009-09-22 18:49:08 +0000469
470endmenu
471
Patrick Georgi0588d192009-08-12 15:00:51 +0000472menu "Payload"
473
Patrick Georgi0588d192009-08-12 15:00:51 +0000474choice
Uwe Hermann168b11b2009-10-07 16:15:40 +0000475 prompt "Add a payload"
Patrick Georgi0588d192009-08-12 15:00:51 +0000476 default PAYLOAD_NONE
477
Uwe Hermann168b11b2009-10-07 16:15:40 +0000478config PAYLOAD_NONE
479 bool "None"
480 help
481 Select this option if you want to create an "empty" coreboot
482 ROM image for a certain mainboard, i.e. a coreboot ROM image
483 which does not yet contain a payload.
484
485 For such an image to be useful, you have to use 'cbfstool'
486 to add a payload to the ROM image later.
487
Patrick Georgi0588d192009-08-12 15:00:51 +0000488config PAYLOAD_ELF
Uwe Hermann168b11b2009-10-07 16:15:40 +0000489 bool "An ELF executable payload"
Patrick Georgi0588d192009-08-12 15:00:51 +0000490 help
491 Select this option if you have a payload image (an ELF file)
492 which coreboot should run as soon as the basic hardware
493 initialization is completed.
494
495 You will be able to specify the location and file name of the
496 payload image later.
Patrick Georgi0588d192009-08-12 15:00:51 +0000497
498endchoice
499
Patrick Georgi0588d192009-08-12 15:00:51 +0000500config FALLBACK_PAYLOAD_FILE
Cristi Magherusanb5034d42009-08-17 14:47:32 +0000501 string "Payload path and filename"
Patrick Georgi0588d192009-08-12 15:00:51 +0000502 depends on PAYLOAD_ELF
503 default "payload.elf"
504 help
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000505 The path and filename of the ELF executable file to use as payload.
Patrick Georgi0588d192009-08-12 15:00:51 +0000506
Uwe Hermann168b11b2009-10-07 16:15:40 +0000507# TODO: Defined if no payload? Breaks build?
508config COMPRESSED_PAYLOAD_LZMA
509 bool "Use LZMA compression for payloads"
510 default y
511 depends on PAYLOAD_ELF
512 help
513 In order to reduce the size payloads take up in the ROM chip
514 coreboot can compress them using the LZMA algorithm.
515
Myles Watson04000f42009-10-16 19:12:49 +0000516config COMPRESSED_PAYLOAD_NRV2B
Peter Stuged7b37b02009-10-17 03:00:04 +0000517 bool
Myles Watson04000f42009-10-16 19:12:49 +0000518 default n
519
Peter Stugea758ca22009-09-17 16:21:31 +0000520endmenu
521
522menu "VGA BIOS"
523
524config VGA_BIOS
525 bool "Add a VGA BIOS image"
526 help
527 Select this option if you have a VGA BIOS image that you would
528 like to add to your ROM.
529
530 You will be able to specify the location and file name of the
531 image later.
532
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000533config FALLBACK_VGA_BIOS_FILE
534 string "VGA BIOS path and filename"
535 depends on VGA_BIOS
536 default "vgabios.bin"
537 help
538 The path and filename of the file to use as VGA BIOS.
539
540config FALLBACK_VGA_BIOS_ID
Uwe Hermann81b3c0a2009-10-30 12:56:59 +0000541 string "VGA device PCI IDs"
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000542 depends on VGA_BIOS
543 default "1106,3230"
544 help
Uwe Hermann168b11b2009-10-07 16:15:40 +0000545 The comma-separated PCI vendor and device ID that would associate
546 your VGA BIOS to your video card.
547
548 Example: 1106,3230
549
550 In the above example 1106 is the PCI vendor ID (in hex, but without
551 the "0x" prefix) and 3230 specifies the PCI device ID of the
552 video card (also in hex, without "0x" prefix).
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000553
Stefan Reinauer800379f2010-03-01 08:34:19 +0000554config INTEL_MBI
555 bool "Add an MBI image"
556 depends on NORTHBRIDGE_INTEL_I82830
557 help
558 Select this option if you have an Intel MBI image that you would
559 like to add to your ROM.
560
561 You will be able to specify the location and file name of the
562 image later.
563
564config FALLBACK_MBI_FILE
565 string "Intel MBI path and filename"
566 depends on INTEL_MBI
567 default "mbi.bin"
568 help
569 The path and filename of the file to use as VGA BIOS.
570
571endmenu
572
573menu "Bootsplash"
574 depends on PCI_OPTION_ROM_RUN_YABEL
575
576config BOOTSPLASH
577 prompt "Show graphical bootsplash"
578 bool
579 depends on PCI_OPTION_ROM_RUN_YABEL
580 help
581 This option shows a graphical bootsplash screen. The grapics are
582 loaded from the CBFS file bootsplash.jpg.
583
584config FALLBACK_BOOTSPLASH_FILE
585 string "Bootsplash path and filename"
586 depends on BOOTSPLASH
587 default "bootsplash.jpg"
588 help
589 The path and filename of the file to use as graphical bootsplash
590 screen. The file format has to be jpg.
591
592# TODO: Turn this into a "choice".
593config FRAMEBUFFER_VESA_MODE
594 prompt "VESA framebuffer video mode"
595 hex
596 default 0x117
597 depends on BOOTSPLASH
598 help
599 This option sets the resolution used for the coreboot framebuffer and
600 bootsplash screen. Set to 0x117 for 1024x768x16. A diligent soul will
601 some day make this a "choice".
602
603config COREBOOT_KEEP_FRAMEBUFFER
604 prompt "Keep VESA framebuffer"
605 bool
606 depends on BOOTSPLASH
607 help
608 This option keeps the framebuffer mode set after coreboot finishes
609 execution. If this option is enabled, coreboot will pass a
610 framebuffer entry in its coreboot table and the payload will need a
611 framebuffer driver. If this option is disabled, coreboot will switch
612 back to text mode before handing control to a payload.
613
Patrick Georgi0588d192009-08-12 15:00:51 +0000614endmenu
615
Uwe Hermann168b11b2009-10-07 16:15:40 +0000616menu "Debugging"
617
618# TODO: Better help text and detailed instructions.
Patrick Georgi0588d192009-08-12 15:00:51 +0000619config GDB_STUB
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000620 bool "GDB debugging support"
Patrick Georgi0588d192009-08-12 15:00:51 +0000621 default y
622 help
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000623 If enabled, you will be able to set breakpoints for gdb debugging.
624 See src/arch/i386/lib/c_start.S for details.
Patrick Georgi0588d192009-08-12 15:00:51 +0000625
Uwe Hermann01ce6012010-03-05 10:03:50 +0000626config DEBUG_RAM_SETUP
627 bool "Output verbose RAM init debug messages"
628 default n
629 depends on (NORTHBRIDGE_AMD_AMDFAM10 \
630 || NORTHBRIDGE_AMD_AMDK8 \
631 || NORTHBRIDGE_VIA_CN700 \
632 || NORTHBRIDGE_VIA_CX700 \
633 || NORTHBRIDGE_VIA_VX800 \
634 || NORTHBRIDGE_INTEL_E7501 \
635 || NORTHBRIDGE_INTEL_I440BX \
636 || NORTHBRIDGE_INTEL_I82810 \
637 || NORTHBRIDGE_INTEL_I82830 \
638 || NORTHBRIDGE_INTEL_I945)
639 help
640 This option enables additional RAM init related debug messages.
641 It is recommended to enable this when debugging issues on your
642 board which might be RAM init related.
643
644 Note: This option will increase the size of the coreboot image.
645
646 If unsure, say N.
647
648config DEBUG_SMBUS
649 bool "Output verbose SMBus debug messages"
650 default n
651 depends on (SOUTHBRIDGE_VIA_VT8237R \
652 || NORTHBRIDGE_VIA_VX800 \
653 || NORTHBRIDGE_VIA_CX700 \
654 || NORTHBRIDGE_AMD_AMDK8)
655 help
656 This option enables additional SMBus (and SPD) debug messages.
657
658 Note: This option will increase the size of the coreboot image.
659
660 If unsure, say N.
661
662config DEBUG_SMI
663 bool "Output verbose SMI debug messages"
664 default n
665 depends on HAVE_SMI_HANDLER
666 help
667 This option enables additional SMI related debug messages.
668
669 Note: This option will increase the size of the coreboot image.
670
671 If unsure, say N.
672
673config X86EMU_DEBUG
674 bool "Output verbose x86emu debug messages"
675 default n
676 depends on PCI_OPTION_ROM_RUN_YABEL
677 help
678 This option enables additional x86emu related debug messages.
679
680 Note: This option will increase the size of the coreboot image.
681
682 If unsure, say N.
683
684config X86EMU_DEBUG_JMP
685 bool "Trace JMP/RETF"
686 default n
687 depends on X86EMU_DEBUG
688 help
689 Print information about JMP and RETF opcodes from x86emu.
690
691 Note: This option will increase the size of the coreboot image.
692
693 If unsure, say N.
694
695config X86EMU_DEBUG_TRACE
696 bool "Trace all opcodes"
697 default n
698 depends on X86EMU_DEBUG
699 help
700 Print _all_ opcodes that are executed by x86emu.
701
702 WARNING: This will produce a LOT of output and take a long time.
703
704 Note: This option will increase the size of the coreboot image.
705
706 If unsure, say N.
707
708config X86EMU_DEBUG_PNP
709 bool "Log Plug&Play accesses"
710 default n
711 depends on X86EMU_DEBUG
712 help
713 Print Plug And Play accesses made by option ROMs.
714
715 Note: This option will increase the size of the coreboot image.
716
717 If unsure, say N.
718
719config X86EMU_DEBUG_DISK
720 bool "Log Disk I/O"
721 default n
722 depends on X86EMU_DEBUG
723 help
724 Print Disk I/O related messages.
725
726 Note: This option will increase the size of the coreboot image.
727
728 If unsure, say N.
729
730config X86EMU_DEBUG_PMM
731 bool "Log PMM"
732 default n
733 depends on X86EMU_DEBUG
734 help
735 Print messages related to POST Memory Manager (PMM).
736
737 Note: This option will increase the size of the coreboot image.
738
739 If unsure, say N.
740
741
742config X86EMU_DEBUG_VBE
743 bool "Debug VESA BIOS Extensions"
744 default n
745 depends on X86EMU_DEBUG
746 help
747 Print messages related to VESA BIOS Extension (VBE) functions.
748
749 Note: This option will increase the size of the coreboot image.
750
751 If unsure, say N.
752
753config X86EMU_DEBUG_INT10
754 bool "Redirect INT10 output to console"
755 default n
756 depends on X86EMU_DEBUG
757 help
758 Let INT10 (i.e. character output) calls print messages to debug output.
759
760 Note: This option will increase the size of the coreboot image.
761
762 If unsure, say N.
763
764config X86EMU_DEBUG_INTERRUPTS
765 bool "Log intXX calls"
766 default n
767 depends on X86EMU_DEBUG
768 help
769 Print messages related to interrupt handling.
770
771 Note: This option will increase the size of the coreboot image.
772
773 If unsure, say N.
774
775config X86EMU_DEBUG_CHECK_VMEM_ACCESS
776 bool "Log special memory accesses"
777 default n
778 depends on X86EMU_DEBUG
779 help
780 Print messages related to accesses to certain areas of the virtual
781 memory (e.g. BDA (BIOS Data Area) or interrupt vectors)
782
783 Note: This option will increase the size of the coreboot image.
784
785 If unsure, say N.
786
787config X86EMU_DEBUG_MEM
788 bool "Log all memory accesses"
789 default n
790 depends on X86EMU_DEBUG
791 help
792 Print memory accesses made by option ROM.
793 Note: This also includes accesses to fetch instructions.
794
795 Note: This option will increase the size of the coreboot image.
796
797 If unsure, say N.
798
799config X86EMU_DEBUG_IO
800 bool "Log IO accesses"
801 default n
802 depends on X86EMU_DEBUG
803 help
804 Print I/O accesses made by option ROM.
805
806 Note: This option will increase the size of the coreboot image.
807
808 If unsure, say N.
809
Stefan Reinauer5c503922010-03-13 22:07:15 +0000810config LLSHELL
811 bool "Built-in low-level shell"
812 default n
813 help
814 If enabled, you will have a low level shell to examine your machine.
815 Put llshell() in your (romstage) code to start the shell.
816 See src/arch/i386/llshell/llshell.inc for details.
817
Uwe Hermann168b11b2009-10-07 16:15:40 +0000818endmenu
819
Myles Watson8f74c582009-10-20 16:10:04 +0000820config LIFT_BSP_APIC_ID
821 bool
822 default n
Myles Watsond73c1b52009-10-26 15:14:07 +0000823
824# These probably belong somewhere else, but they are needed somewhere.
825config AP_CODE_IN_CAR
826 bool
827 default n
828
829config USE_INIT
830 bool
831 default n
832
833config ENABLE_APIC_EXT_ID
834 bool
835 default n
Myles Watson2e672732009-11-12 16:38:03 +0000836
837config WARNINGS_ARE_ERRORS
838 bool
839 default n
Patrick Georgi436f99b2009-11-27 16:55:13 +0000840
841config ID_SECTION_OFFSET
842 hex
843 default 0x10