blob: 55a40ff4f0773072e3fb1ea21f04618304d4919c [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 Georgi23d89cc2010-03-16 01:17:19 +000049choice
50 prompt "Compiler"
51 default COMPILER_GCC
52 help
53 This option allows you to select the compiler used for building
54 coreboot.
55
56config COMPILER_GCC
57 bool "GCC"
58config COMPILER_LLVM_CLANG
59 bool "LLVM/clang"
60endchoice
61
Patrick Georgi020f51f2010-03-14 21:25:03 +000062config SCANBUILD_ENABLE
Patrick Georgi23d89cc2010-03-16 01:17:19 +000063 bool "Build with scan-build for static analysis"
Patrick Georgi020f51f2010-03-14 21:25:03 +000064 default n
65 help
66 Changes the build process to scan-build is used.
67 Requires scan-build in path.
68
69config SCANBUILD_REPORT_LOCATION
Patrick Georgi23d89cc2010-03-16 01:17:19 +000070 string "Directory to put scan-build report in"
Patrick Georgi020f51f2010-03-14 21:25:03 +000071 default ""
72 depends on SCANBUILD_ENABLE
73 help
74 Where the scan-build report should be stored
75
Uwe Hermannc04be932009-10-05 13:55:28 +000076endmenu
77
Patrick Georgi0588d192009-08-12 15:00:51 +000078source src/mainboard/Kconfig
79source src/arch/i386/Kconfig
Uwe Hermann63a8f2a2009-10-26 21:42:13 +000080
81menu "Chipset"
82
83comment "CPU"
Patrick Georgi0588d192009-08-12 15:00:51 +000084source src/cpu/Kconfig
Uwe Hermann63a8f2a2009-10-26 21:42:13 +000085comment "Northbridge"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +000086
Uwe Hermann2bb4acf2010-03-01 17:19:55 +000087menu "HyperTransport setup"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +000088 depends on (NORTHBRIDGE_AMD_AMDK8 || NORTHBRIDGE_AMD_AMDFAM10) && EXPERT
89
90choice
Uwe Hermann2bb4acf2010-03-01 17:19:55 +000091 prompt "HyperTransport frequency"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +000092 default LIMIT_HT_SPEED_AUTO
93 help
Uwe Hermann2bb4acf2010-03-01 17:19:55 +000094 This option sets the maximum permissible HyperTransport link
95 frequency.
96
97 Use of this option will only limit the autodetected HT frequency.
98 It will not (and cannot) increase the frequency beyond the
99 autodetected limits.
100
101 This is primarily used to work around poorly designed or laid out
102 HT traces on certain motherboards.
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000103
104config LIMIT_HT_SPEED_200
105 bool "Limit HT frequency to 200MHz"
106config LIMIT_HT_SPEED_400
107 bool "Limit HT frequency to 400MHz"
108config LIMIT_HT_SPEED_600
109 bool "Limit HT frequency to 600MHz"
110config LIMIT_HT_SPEED_800
111 bool "Limit HT frequency to 800MHz"
112config LIMIT_HT_SPEED_1000
113 bool "Limit HT frequency to 1.0GHz"
114config LIMIT_HT_SPEED_1200
115 bool "Limit HT frequency to 1.2GHz"
116config LIMIT_HT_SPEED_1400
117 bool "Limit HT frequency to 1.4GHz"
118config LIMIT_HT_SPEED_1600
119 bool "Limit HT frequency to 1.6GHz"
120config LIMIT_HT_SPEED_1800
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000121 bool "Limit HT frequency to 1.8GHz"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000122config LIMIT_HT_SPEED_2000
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000123 bool "Limit HT frequency to 2.0GHz"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000124config LIMIT_HT_SPEED_2200
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000125 bool "Limit HT frequency to 2.2GHz"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000126config LIMIT_HT_SPEED_2400
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000127 bool "Limit HT frequency to 2.4GHz"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000128config LIMIT_HT_SPEED_2600
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000129 bool "Limit HT frequency to 2.6GHz"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000130config LIMIT_HT_SPEED_AUTO
131 bool "Autodetect HT frequency"
132endchoice
133
134choice
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000135 prompt "HyperTransport downlink width"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000136 default LIMIT_HT_DOWN_WIDTH_16
137 help
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000138 This option sets the maximum permissible HyperTransport
139 downlink width.
140
141 Use of this option will only limit the autodetected HT width.
142 It will not (and cannot) increase the width beyond the autodetected
143 limits.
144
145 This is primarily used to work around poorly designed or laid out HT
146 traces on certain motherboards.
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000147
148config LIMIT_HT_DOWN_WIDTH_8
149 bool "8 bits"
150config LIMIT_HT_DOWN_WIDTH_16
151 bool "16 bits"
152endchoice
153
154choice
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000155 prompt "HyperTransport uplink width"
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000156 default LIMIT_HT_UP_WIDTH_16
157 help
Uwe Hermann2bb4acf2010-03-01 17:19:55 +0000158 This option sets the maximum permissible HyperTransport
159 uplink width.
160
161 Use of this option will only limit the autodetected HT width.
162 It will not (and cannot) increase the width beyond the autodetected
163 limits.
164
165 This is primarily used to work around poorly designed or laid out HT
166 traces on certain motherboards.
Timothy Pearson55cf7bc2010-03-01 10:30:08 +0000167
168config LIMIT_HT_UP_WIDTH_8
169 bool "8 bits"
170config LIMIT_HT_UP_WIDTH_16
171 bool "16 bits"
172endchoice
173
174endmenu
175
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000176source src/northbridge/Kconfig
177comment "Southbridge"
178source src/southbridge/Kconfig
179comment "Super I/O"
180source src/superio/Kconfig
181comment "Devices"
182source src/devices/Kconfig
183
184endmenu
Patrick Georgi0588d192009-08-12 15:00:51 +0000185
Patrick Georgi0588d192009-08-12 15:00:51 +0000186config PCI_BUS_SEGN_BITS
Myles Watson74fb8f22009-09-24 15:09:11 +0000187 int
188 default 0
Patrick Georgi892b0912009-09-24 09:03:06 +0000189
Patrick Georgi0588d192009-08-12 15:00:51 +0000190config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000191 hex
Uwe Hermann748475b2009-10-09 11:47:21 +0000192 default 0x0
Patrick Georgi0588d192009-08-12 15:00:51 +0000193
194config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000195 hex
Uwe Hermann748475b2009-10-09 11:47:21 +0000196 default 0x0
Patrick Georgi0588d192009-08-12 15:00:51 +0000197
198config CPU_ADDR_BITS
199 int
200 default 36
201
202config XIP_ROM_BASE
203 hex
204 default 0xfffe0000
205
206config XIP_ROM_SIZE
207 hex
208 default 0x20000
209
210config LB_CKS_RANGE_START
211 int
212 default 49
213
214config LB_CKS_RANGE_END
215 int
216 default 125
217
218config LB_CKS_LOC
219 int
220 default 126
221
222config LOGICAL_CPUS
Myles Watson45bb25f2009-09-22 18:49:08 +0000223 bool
224 default y
Patrick Georgi0588d192009-08-12 15:00:51 +0000225
226config PCI_ROM_RUN
Patrick Georgi698c0e0e2009-08-25 17:38:24 +0000227 bool
228 default n
Patrick Georgi0588d192009-08-12 15:00:51 +0000229
Patrick Georgi0588d192009-08-12 15:00:51 +0000230config HEAP_SIZE
231 hex
Myles Watson04000f42009-10-16 19:12:49 +0000232 default 0x4000
Patrick Georgi0588d192009-08-12 15:00:51 +0000233
Patrick Georgi0588d192009-08-12 15:00:51 +0000234config DEBUG
235 bool
236 default n
237
238config USE_PRINTK_IN_CAR
239 bool
240 default n
241
242config USE_OPTION_TABLE
243 bool
244 default n
245
246config MAX_CPUS
247 int
248 default 1
249
250config MMCONF_SUPPORT_DEFAULT
251 bool
252 default n
253
254config MMCONF_SUPPORT
255 bool
256 default n
257
Myles Watson0f61a4f2009-10-16 16:32:57 +0000258config RAMTOP
Myles Watson3db199c2009-10-12 22:39:08 +0000259 hex
Myles Watson0f61a4f2009-10-16 16:32:57 +0000260 default 0x200000
Patrick Georgi0588d192009-08-12 15:00:51 +0000261
Patrick Georgi91ff0df2009-10-09 12:32:52 +0000262config ATI_RAGE_XL
263 bool
Patrick Georgi91ff0df2009-10-09 12:32:52 +0000264
Patrick Georgi0588d192009-08-12 15:00:51 +0000265source src/console/Kconfig
266
267config HAVE_ACPI_RESUME
268 bool
269 default n
270
271config ACPI_SSDTX_NUM
272 int
273 default 0
274
Patrick Georgi0588d192009-08-12 15:00:51 +0000275config HAVE_FALLBACK_BOOT
276 bool
277 default y
278
279config USE_FALLBACK_IMAGE
280 bool
281 default y
282
Patrick Georgi37ea3412009-10-03 21:04:13 +0000283config HAVE_FAILOVER_BOOT
284 bool
285 default n
286
287config USE_FAILOVER_IMAGE
288 bool
289 default n
290
Patrick Georgi0588d192009-08-12 15:00:51 +0000291config HAVE_HARD_RESET
292 bool
Patrick Georgi37bdb872010-02-27 08:39:04 +0000293 default y if BOARD_HAS_HARD_RESET
Uwe Hermann748475b2009-10-09 11:47:21 +0000294 default n
Patrick Georgi37bdb872010-02-27 08:39:04 +0000295 help
296 This variable specifies whether a given board has a hard_reset
297 function, no matter if it's provided by board code or chipset code.
298
Patrick Georgi0588d192009-08-12 15:00:51 +0000299config HAVE_INIT_TIMER
300 bool
Patrick Georgi1f807fd2010-01-04 20:09:27 +0000301 default n if UDELAY_IO
Myles Watsond73c1b52009-10-26 15:14:07 +0000302 default y
Patrick Georgi0588d192009-08-12 15:00:51 +0000303
304config HAVE_MAINBOARD_RESOURCES
305 bool
306 default n
307
Patrick Georgi0588d192009-08-12 15:00:51 +0000308config HAVE_OPTION_TABLE
309 bool
310 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000311 help
312 This variable specifies whether a given board has a cmos.layout
313 file containing NVRAM/CMOS bit definitions.
314 It defaults to 'y' but can be changed to 'n' in mainboard/*/Kconfig.
Patrick Georgi0588d192009-08-12 15:00:51 +0000315
Patrick Georgi0588d192009-08-12 15:00:51 +0000316config PIRQ_ROUTE
317 bool
318 default n
319
320config HAVE_SMI_HANDLER
321 bool
322 default n
323
324config PCI_IO_CFG_EXT
325 bool
326 default n
327
328config IOAPIC
329 bool
330 default n
331
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000332# TODO: Can probably be removed once all chipsets have kconfig options for it.
Uwe Hermann70b0cf22009-10-04 17:15:39 +0000333config VIDEO_MB
334 int
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000335 default 0
Uwe Hermann70b0cf22009-10-04 17:15:39 +0000336
Myles Watson45bb25f2009-09-22 18:49:08 +0000337config USE_WATCHDOG_ON_BOOT
338 bool
339 default n
340
341config VGA
342 bool
343 default n
344 help
345 Build board-specific VGA code.
346
347config GFXUMA
348 bool
Myles Watsond73c1b52009-10-26 15:14:07 +0000349 default n
Myles Watson45bb25f2009-09-22 18:49:08 +0000350 help
351 Enable Unified Memory Architecture for graphics.
352
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000353# TODO
354# menu "Drivers"
Uwe Hermann168b11b2009-10-07 16:15:40 +0000355#
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000356# endmenu
Patrick Georgi0588d192009-08-12 15:00:51 +0000357
Myles Watsond73c1b52009-10-26 15:14:07 +0000358#TODO Remove this option or make it useful.
359config HAVE_LOW_TABLES
360 bool
361 default y
362 help
363 This Option is unused in the code. Since two boards try to set it to
364 'n', they may be broken. We either need to make the option useful or
365 get rid of it. The broken boards are:
366 asus/m2v-mx_se
367 supermicro/h8dme
368
369config HAVE_HIGH_TABLES
370 bool
Stefan Reinauer13f2bb02010-02-25 13:45:08 +0000371 default y
Myles Watsond73c1b52009-10-26 15:14:07 +0000372 help
373 This variable specifies whether a given northbridge has high table
374 support.
375 It is set in northbridge/*/Kconfig.
376 Whether or not the high tables are actually written by coreboot is
377 configurable by the user via WRITE_HIGH_TABLES.
378
Myles Watsonb8e20272009-10-15 13:35:47 +0000379config HAVE_ACPI_TABLES
380 bool
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000381 help
382 This variable specifies whether a given board has ACPI table support.
383 It is usually set in mainboard/*/Kconfig.
384 Whether or not the ACPI tables are actually generated by coreboot
385 is configurable by the user via GENERATE_ACPI_TABLES.
Myles Watsonb8e20272009-10-15 13:35:47 +0000386
387config HAVE_MP_TABLE
388 bool
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000389 help
390 This variable specifies whether a given board has MP table support.
391 It is usually set in mainboard/*/Kconfig.
392 Whether or not the MP table is actually generated by coreboot
393 is configurable by the user via GENERATE_MP_TABLE.
Myles Watsonb8e20272009-10-15 13:35:47 +0000394
395config HAVE_PIRQ_TABLE
396 bool
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000397 help
398 This variable specifies whether a given board has PIRQ table support.
399 It is usually set in mainboard/*/Kconfig.
400 Whether or not the PIRQ table is actually generated by coreboot
401 is configurable by the user via GENERATE_PIRQ_TABLE.
Myles Watsonb8e20272009-10-15 13:35:47 +0000402
Myles Watsond73c1b52009-10-26 15:14:07 +0000403#These Options are here to avoid "undefined" warnings.
404#The actual selection and help texts are in the following menu.
405
406config GENERATE_ACPI_TABLES
Myles Watsonb8e20272009-10-15 13:35:47 +0000407 bool
Myles Watsond73c1b52009-10-26 15:14:07 +0000408 default HAVE_ACPI_TABLES
409
410config GENERATE_MP_TABLE
411 bool
412 default HAVE_MP_TABLE
413
414config GENERATE_PIRQ_TABLE
415 bool
416 default HAVE_PIRQ_TABLE
417
418config WRITE_HIGH_TABLES
419 bool
420 default HAVE_HIGH_TABLES
Myles Watsonb8e20272009-10-15 13:35:47 +0000421
Uwe Hermann168b11b2009-10-07 16:15:40 +0000422menu "System tables"
Myles Watson45bb25f2009-09-22 18:49:08 +0000423
Myles Watsonb8e20272009-10-15 13:35:47 +0000424config WRITE_HIGH_TABLES
Myles Watson45bb25f2009-09-22 18:49:08 +0000425 bool "Write 'high' tables to avoid being overwritten in F segment"
Myles Watsonb8e20272009-10-15 13:35:47 +0000426 depends on HAVE_HIGH_TABLES
Myles Watson45bb25f2009-09-22 18:49:08 +0000427 default y
428
429config MULTIBOOT
Uwe Hermann168b11b2009-10-07 16:15:40 +0000430 bool "Generate Multiboot tables (for GRUB2)"
Ronald G. Minnich7f91d922009-11-09 17:56:47 +0000431 default y
Myles Watson45bb25f2009-09-22 18:49:08 +0000432
Myles Watsonb8e20272009-10-15 13:35:47 +0000433config GENERATE_ACPI_TABLES
434 depends on HAVE_ACPI_TABLES
Myles Watson45bb25f2009-09-22 18:49:08 +0000435 bool "Generate ACPI tables"
Myles Watsonb8e20272009-10-15 13:35:47 +0000436 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000437 help
438 Generate ACPI tables for this board.
439
440 If unsure, say Y.
Myles Watson45bb25f2009-09-22 18:49:08 +0000441
Myles Watsonb8e20272009-10-15 13:35:47 +0000442config GENERATE_MP_TABLE
443 depends on HAVE_MP_TABLE
Myles Watson45bb25f2009-09-22 18:49:08 +0000444 bool "Generate an MP table"
Myles Watsonb8e20272009-10-15 13:35:47 +0000445 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000446 help
447 Generate an MP table (conforming to the Intel MultiProcessor
448 specification 1.4) for this board.
449
450 If unsure, say Y.
Myles Watson45bb25f2009-09-22 18:49:08 +0000451
Myles Watsonb8e20272009-10-15 13:35:47 +0000452config GENERATE_PIRQ_TABLE
453 depends on HAVE_PIRQ_TABLE
Myles Watson45bb25f2009-09-22 18:49:08 +0000454 bool "Generate a PIRQ table"
Myles Watsonb8e20272009-10-15 13:35:47 +0000455 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000456 help
457 Generate a PIRQ table for this board.
458
459 If unsure, say Y.
Myles Watson45bb25f2009-09-22 18:49:08 +0000460
461endmenu
462
Patrick Georgi0588d192009-08-12 15:00:51 +0000463menu "Payload"
464
Patrick Georgi0588d192009-08-12 15:00:51 +0000465choice
Uwe Hermann168b11b2009-10-07 16:15:40 +0000466 prompt "Add a payload"
Patrick Georgi0588d192009-08-12 15:00:51 +0000467 default PAYLOAD_NONE
468
Uwe Hermann168b11b2009-10-07 16:15:40 +0000469config PAYLOAD_NONE
470 bool "None"
471 help
472 Select this option if you want to create an "empty" coreboot
473 ROM image for a certain mainboard, i.e. a coreboot ROM image
474 which does not yet contain a payload.
475
476 For such an image to be useful, you have to use 'cbfstool'
477 to add a payload to the ROM image later.
478
Patrick Georgi0588d192009-08-12 15:00:51 +0000479config PAYLOAD_ELF
Uwe Hermann168b11b2009-10-07 16:15:40 +0000480 bool "An ELF executable payload"
Patrick Georgi0588d192009-08-12 15:00:51 +0000481 help
482 Select this option if you have a payload image (an ELF file)
483 which coreboot should run as soon as the basic hardware
484 initialization is completed.
485
486 You will be able to specify the location and file name of the
487 payload image later.
Patrick Georgi0588d192009-08-12 15:00:51 +0000488
489endchoice
490
Patrick Georgi0588d192009-08-12 15:00:51 +0000491config FALLBACK_PAYLOAD_FILE
Cristi Magherusanb5034d42009-08-17 14:47:32 +0000492 string "Payload path and filename"
Patrick Georgi0588d192009-08-12 15:00:51 +0000493 depends on PAYLOAD_ELF
494 default "payload.elf"
495 help
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000496 The path and filename of the ELF executable file to use as payload.
Patrick Georgi0588d192009-08-12 15:00:51 +0000497
Uwe Hermann168b11b2009-10-07 16:15:40 +0000498# TODO: Defined if no payload? Breaks build?
499config COMPRESSED_PAYLOAD_LZMA
500 bool "Use LZMA compression for payloads"
501 default y
502 depends on PAYLOAD_ELF
503 help
504 In order to reduce the size payloads take up in the ROM chip
505 coreboot can compress them using the LZMA algorithm.
506
Myles Watson04000f42009-10-16 19:12:49 +0000507config COMPRESSED_PAYLOAD_NRV2B
Peter Stuged7b37b02009-10-17 03:00:04 +0000508 bool
Myles Watson04000f42009-10-16 19:12:49 +0000509 default n
510
Peter Stugea758ca22009-09-17 16:21:31 +0000511endmenu
512
513menu "VGA BIOS"
514
515config VGA_BIOS
516 bool "Add a VGA BIOS image"
517 help
518 Select this option if you have a VGA BIOS image that you would
519 like to add to your ROM.
520
521 You will be able to specify the location and file name of the
522 image later.
523
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000524config FALLBACK_VGA_BIOS_FILE
525 string "VGA BIOS path and filename"
526 depends on VGA_BIOS
527 default "vgabios.bin"
528 help
529 The path and filename of the file to use as VGA BIOS.
530
531config FALLBACK_VGA_BIOS_ID
Uwe Hermann81b3c0a2009-10-30 12:56:59 +0000532 string "VGA device PCI IDs"
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000533 depends on VGA_BIOS
534 default "1106,3230"
535 help
Uwe Hermann168b11b2009-10-07 16:15:40 +0000536 The comma-separated PCI vendor and device ID that would associate
537 your VGA BIOS to your video card.
538
539 Example: 1106,3230
540
541 In the above example 1106 is the PCI vendor ID (in hex, but without
542 the "0x" prefix) and 3230 specifies the PCI device ID of the
543 video card (also in hex, without "0x" prefix).
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000544
Stefan Reinauer800379f2010-03-01 08:34:19 +0000545config INTEL_MBI
546 bool "Add an MBI image"
547 depends on NORTHBRIDGE_INTEL_I82830
548 help
549 Select this option if you have an Intel MBI image that you would
550 like to add to your ROM.
551
552 You will be able to specify the location and file name of the
553 image later.
554
555config FALLBACK_MBI_FILE
556 string "Intel MBI path and filename"
557 depends on INTEL_MBI
558 default "mbi.bin"
559 help
560 The path and filename of the file to use as VGA BIOS.
561
562endmenu
563
564menu "Bootsplash"
565 depends on PCI_OPTION_ROM_RUN_YABEL
566
567config BOOTSPLASH
568 prompt "Show graphical bootsplash"
569 bool
570 depends on PCI_OPTION_ROM_RUN_YABEL
571 help
572 This option shows a graphical bootsplash screen. The grapics are
573 loaded from the CBFS file bootsplash.jpg.
574
575config FALLBACK_BOOTSPLASH_FILE
576 string "Bootsplash path and filename"
577 depends on BOOTSPLASH
578 default "bootsplash.jpg"
579 help
580 The path and filename of the file to use as graphical bootsplash
581 screen. The file format has to be jpg.
582
583# TODO: Turn this into a "choice".
584config FRAMEBUFFER_VESA_MODE
585 prompt "VESA framebuffer video mode"
586 hex
587 default 0x117
588 depends on BOOTSPLASH
589 help
590 This option sets the resolution used for the coreboot framebuffer and
591 bootsplash screen. Set to 0x117 for 1024x768x16. A diligent soul will
592 some day make this a "choice".
593
594config COREBOOT_KEEP_FRAMEBUFFER
595 prompt "Keep VESA framebuffer"
596 bool
597 depends on BOOTSPLASH
598 help
599 This option keeps the framebuffer mode set after coreboot finishes
600 execution. If this option is enabled, coreboot will pass a
601 framebuffer entry in its coreboot table and the payload will need a
602 framebuffer driver. If this option is disabled, coreboot will switch
603 back to text mode before handing control to a payload.
604
Patrick Georgi0588d192009-08-12 15:00:51 +0000605endmenu
606
Uwe Hermann168b11b2009-10-07 16:15:40 +0000607menu "Debugging"
608
609# TODO: Better help text and detailed instructions.
Patrick Georgi0588d192009-08-12 15:00:51 +0000610config GDB_STUB
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000611 bool "GDB debugging support"
Patrick Georgi0588d192009-08-12 15:00:51 +0000612 default y
613 help
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000614 If enabled, you will be able to set breakpoints for gdb debugging.
615 See src/arch/i386/lib/c_start.S for details.
Patrick Georgi0588d192009-08-12 15:00:51 +0000616
Uwe Hermann01ce6012010-03-05 10:03:50 +0000617config DEBUG_RAM_SETUP
618 bool "Output verbose RAM init debug messages"
619 default n
620 depends on (NORTHBRIDGE_AMD_AMDFAM10 \
621 || NORTHBRIDGE_AMD_AMDK8 \
622 || NORTHBRIDGE_VIA_CN700 \
623 || NORTHBRIDGE_VIA_CX700 \
624 || NORTHBRIDGE_VIA_VX800 \
625 || NORTHBRIDGE_INTEL_E7501 \
626 || NORTHBRIDGE_INTEL_I440BX \
627 || NORTHBRIDGE_INTEL_I82810 \
628 || NORTHBRIDGE_INTEL_I82830 \
629 || NORTHBRIDGE_INTEL_I945)
630 help
631 This option enables additional RAM init related debug messages.
632 It is recommended to enable this when debugging issues on your
633 board which might be RAM init related.
634
635 Note: This option will increase the size of the coreboot image.
636
637 If unsure, say N.
638
639config DEBUG_SMBUS
640 bool "Output verbose SMBus debug messages"
641 default n
642 depends on (SOUTHBRIDGE_VIA_VT8237R \
643 || NORTHBRIDGE_VIA_VX800 \
644 || NORTHBRIDGE_VIA_CX700 \
645 || NORTHBRIDGE_AMD_AMDK8)
646 help
647 This option enables additional SMBus (and SPD) debug messages.
648
649 Note: This option will increase the size of the coreboot image.
650
651 If unsure, say N.
652
653config DEBUG_SMI
654 bool "Output verbose SMI debug messages"
655 default n
656 depends on HAVE_SMI_HANDLER
657 help
658 This option enables additional SMI related debug messages.
659
660 Note: This option will increase the size of the coreboot image.
661
662 If unsure, say N.
663
664config X86EMU_DEBUG
665 bool "Output verbose x86emu debug messages"
666 default n
667 depends on PCI_OPTION_ROM_RUN_YABEL
668 help
669 This option enables additional x86emu related debug messages.
670
671 Note: This option will increase the size of the coreboot image.
672
673 If unsure, say N.
674
675config X86EMU_DEBUG_JMP
676 bool "Trace JMP/RETF"
677 default n
678 depends on X86EMU_DEBUG
679 help
680 Print information about JMP and RETF opcodes from x86emu.
681
682 Note: This option will increase the size of the coreboot image.
683
684 If unsure, say N.
685
686config X86EMU_DEBUG_TRACE
687 bool "Trace all opcodes"
688 default n
689 depends on X86EMU_DEBUG
690 help
691 Print _all_ opcodes that are executed by x86emu.
692
693 WARNING: This will produce a LOT of output and take a long time.
694
695 Note: This option will increase the size of the coreboot image.
696
697 If unsure, say N.
698
699config X86EMU_DEBUG_PNP
700 bool "Log Plug&Play accesses"
701 default n
702 depends on X86EMU_DEBUG
703 help
704 Print Plug And Play accesses made by option ROMs.
705
706 Note: This option will increase the size of the coreboot image.
707
708 If unsure, say N.
709
710config X86EMU_DEBUG_DISK
711 bool "Log Disk I/O"
712 default n
713 depends on X86EMU_DEBUG
714 help
715 Print Disk I/O related messages.
716
717 Note: This option will increase the size of the coreboot image.
718
719 If unsure, say N.
720
721config X86EMU_DEBUG_PMM
722 bool "Log PMM"
723 default n
724 depends on X86EMU_DEBUG
725 help
726 Print messages related to POST Memory Manager (PMM).
727
728 Note: This option will increase the size of the coreboot image.
729
730 If unsure, say N.
731
732
733config X86EMU_DEBUG_VBE
734 bool "Debug VESA BIOS Extensions"
735 default n
736 depends on X86EMU_DEBUG
737 help
738 Print messages related to VESA BIOS Extension (VBE) functions.
739
740 Note: This option will increase the size of the coreboot image.
741
742 If unsure, say N.
743
744config X86EMU_DEBUG_INT10
745 bool "Redirect INT10 output to console"
746 default n
747 depends on X86EMU_DEBUG
748 help
749 Let INT10 (i.e. character output) calls print messages to debug output.
750
751 Note: This option will increase the size of the coreboot image.
752
753 If unsure, say N.
754
755config X86EMU_DEBUG_INTERRUPTS
756 bool "Log intXX calls"
757 default n
758 depends on X86EMU_DEBUG
759 help
760 Print messages related to interrupt handling.
761
762 Note: This option will increase the size of the coreboot image.
763
764 If unsure, say N.
765
766config X86EMU_DEBUG_CHECK_VMEM_ACCESS
767 bool "Log special memory accesses"
768 default n
769 depends on X86EMU_DEBUG
770 help
771 Print messages related to accesses to certain areas of the virtual
772 memory (e.g. BDA (BIOS Data Area) or interrupt vectors)
773
774 Note: This option will increase the size of the coreboot image.
775
776 If unsure, say N.
777
778config X86EMU_DEBUG_MEM
779 bool "Log all memory accesses"
780 default n
781 depends on X86EMU_DEBUG
782 help
783 Print memory accesses made by option ROM.
784 Note: This also includes accesses to fetch instructions.
785
786 Note: This option will increase the size of the coreboot image.
787
788 If unsure, say N.
789
790config X86EMU_DEBUG_IO
791 bool "Log IO accesses"
792 default n
793 depends on X86EMU_DEBUG
794 help
795 Print I/O accesses made by option ROM.
796
797 Note: This option will increase the size of the coreboot image.
798
799 If unsure, say N.
800
Stefan Reinauer5c503922010-03-13 22:07:15 +0000801config LLSHELL
802 bool "Built-in low-level shell"
803 default n
804 help
805 If enabled, you will have a low level shell to examine your machine.
806 Put llshell() in your (romstage) code to start the shell.
807 See src/arch/i386/llshell/llshell.inc for details.
808
Uwe Hermann168b11b2009-10-07 16:15:40 +0000809endmenu
810
Myles Watson8f74c582009-10-20 16:10:04 +0000811config LIFT_BSP_APIC_ID
812 bool
813 default n
Myles Watsond73c1b52009-10-26 15:14:07 +0000814
815# These probably belong somewhere else, but they are needed somewhere.
816config AP_CODE_IN_CAR
817 bool
818 default n
819
820config USE_INIT
821 bool
822 default n
823
824config ENABLE_APIC_EXT_ID
825 bool
826 default n
Myles Watson2e672732009-11-12 16:38:03 +0000827
828config WARNINGS_ARE_ERRORS
829 bool
830 default n
Patrick Georgi436f99b2009-11-27 16:55:13 +0000831
832config ID_SECTION_OFFSET
833 hex
834 default 0x10
Patrick Georgicc669262010-03-14 21:31:05 +0000835
836source src/Kconfig.deprecated_options