blob: 3453614d1fdcccfe8ad2f20c74554cdf066ac7f9 [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
Uwe Hermannad8c95f2012-04-12 22:00:03 +020020mainmenu "coreboot configuration"
Patrick Georgi0588d192009-08-12 15:00:51 +000021
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
Uwe Hermannad8c95f2012-04-12 22:00:03 +020050 prompt "Compiler to use"
Patrick Georgi23d89cc2010-03-16 01:17:19 +000051 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"
Uwe Hermannad8c95f2012-04-12 22:00:03 +020058 help
59 Use the GNU Compiler Collection (GCC) to build coreboot.
60
61 For details see http://gcc.gnu.org.
62
Patrick Georgi23d89cc2010-03-16 01:17:19 +000063config COMPILER_LLVM_CLANG
64 bool "LLVM/clang"
Uwe Hermannad8c95f2012-04-12 22:00:03 +020065 help
66 Use LLVM/clang to build coreboot.
67
68 For details see http://clang.llvm.org.
69
Patrick Georgi23d89cc2010-03-16 01:17:19 +000070endchoice
71
Patrick Georgi020f51f2010-03-14 21:25:03 +000072config SCANBUILD_ENABLE
Uwe Hermannad8c95f2012-04-12 22:00:03 +020073 bool "Build with scan-build for static code analysis"
Patrick Georgi020f51f2010-03-14 21:25:03 +000074 default n
75 help
Uwe Hermannad8c95f2012-04-12 22:00:03 +020076 Changes the build process to use scan-build (a utility for
77 running the clang static code analyzer from the command line).
78
79 Requires the scan-build utility in your system $PATH.
80
81 For details see http://clang-analyzer.llvm.org/scan-build.html.
Patrick Georgi020f51f2010-03-14 21:25:03 +000082
83config SCANBUILD_REPORT_LOCATION
Uwe Hermannad8c95f2012-04-12 22:00:03 +020084 string "Directory for the scan-build report(s)"
Patrick Georgi020f51f2010-03-14 21:25:03 +000085 default ""
86 depends on SCANBUILD_ENABLE
87 help
Uwe Hermannad8c95f2012-04-12 22:00:03 +020088 Directory where the scan-build reports should be stored in. The
89 reports are stored in subdirectories of the form 'yyyy-mm-dd-*'
90 in the specified directory.
91
92 If this setting is left empty, the coreboot top-level directory
93 will be used to store the report subdirectories.
Patrick Georgi020f51f2010-03-14 21:25:03 +000094
Patrick Georgi516a2a72010-03-25 21:45:25 +000095config CCACHE
Uwe Hermannad8c95f2012-04-12 22:00:03 +020096 bool "Use ccache to speed up (re)compilation"
Patrick Georgi516a2a72010-03-25 21:45:25 +000097 default n
98 help
99 Enables the use of ccache for faster builds.
Uwe Hermannad8c95f2012-04-12 22:00:03 +0200100
101 Requires the ccache utility in your system $PATH.
102
103 For details see https://ccache.samba.org.
Patrick Georgi516a2a72010-03-25 21:45:25 +0000104
Stefan Reinauer9bf78102010-08-09 13:28:18 +0000105config SCONFIG_GENPARSER
106 bool "Generate SCONFIG parser using flex and bison"
107 default n
108 depends on EXPERT
109 help
Uwe Hermannad8c95f2012-04-12 22:00:03 +0200110 Enable this option if you are working on the sconfig device tree
111 parser and made changes to sconfig.l and sconfig.y.
112
Stefan Reinauer9bf78102010-08-09 13:28:18 +0000113 Otherwise, say N.
114
Joe Korty6d772522010-05-19 18:41:15 +0000115config USE_OPTION_TABLE
116 bool "Use CMOS for configuration values"
117 default n
Edwin Beasanteb50c7d2010-07-06 21:05:04 +0000118 depends on HAVE_OPTION_TABLE
Joe Korty6d772522010-05-19 18:41:15 +0000119 help
120 Enable this option if coreboot shall read options from the "CMOS"
Uwe Hermannad8c95f2012-04-12 22:00:03 +0200121 NVRAM instead of using hard-coded values.
Joe Korty6d772522010-05-19 18:41:15 +0000122
Sven Schnelle8eee19d2011-05-02 19:53:04 +0000123config COMPRESS_RAMSTAGE
124 bool "Compress ramstage with LZMA"
125 default y
126 help
127 Compress ramstage to save memory in the flash image. Note
128 that decompression might slow down booting if the boot flash
Uwe Hermannad8c95f2012-04-12 22:00:03 +0200129 is connected through a slow link (i.e. SPI).
Sven Schnelle8eee19d2011-05-02 19:53:04 +0000130
Cristian Măgherușan-Stanciud367b002011-06-19 03:03:28 +0200131config INCLUDE_CONFIG_FILE
Uwe Hermannad8c95f2012-04-12 22:00:03 +0200132 bool "Include the coreboot .config file into the ROM image"
Cristian Măgherușan-Stanciud367b002011-06-19 03:03:28 +0200133 default y
Uwe Hermannad8c95f2012-04-12 22:00:03 +0200134 help
135 Include the .config file that was used to compile coreboot
136 in the (CBFS) ROM image. This is useful if you want to know which
137 options were used to build a specific coreboot.rom image.
138
139 Saying Y here will increase the image size by 2-3kB.
140
141 You can use the following command to easily list the options:
142
143 grep -a CONFIG_ coreboot.rom
144
145 Alternatively, you can also use cbfstool to print the image
146 contents (including the raw 'config' item we're looking for).
147
148 Example:
149
150 $ cbfstool coreboot.rom print
151 coreboot.rom: 4096 kB, bootblocksize 1008, romsize 4194304,
152 offset 0x0
153 Alignment: 64 bytes
Steve Goodrichf0269122012-05-18 11:18:47 -0600154
Uwe Hermannad8c95f2012-04-12 22:00:03 +0200155 Name Offset Type Size
156 cmos_layout.bin 0x0 cmos layout 1159
157 fallback/romstage 0x4c0 stage 339756
158 fallback/coreboot_ram 0x53440 stage 186664
159 fallback/payload 0x80dc0 payload 51526
160 config 0x8d740 raw 3324
161 (empty) 0x8e480 null 3610440
Cristian Măgherușan-Stanciud367b002011-06-19 03:03:28 +0200162
Vadim Bendeburye6b6aff2011-09-20 16:46:46 -0700163config EARLY_CBMEM_INIT
164 bool "Initialize CBMEM while in ROM stage"
165 default n
166 help
Uwe Hermannad8c95f2012-04-12 22:00:03 +0200167 Make coreboot initialize the cbmem structures while running in ROM
168 stage. This could be useful when the ROM stage wants to communicate
Vadim Bendeburye6b6aff2011-09-20 16:46:46 -0700169 some, for instance, execution timestamps.
170
Vadim Bendebury9202473d2011-09-21 14:46:43 -0700171config COLLECT_TIMESTAMPS
172 bool "Create a table of timestamps collected during boot"
173 depends on EARLY_CBMEM_INIT
174 help
Uwe Hermannad8c95f2012-04-12 22:00:03 +0200175 Make coreboot create a table of timer-ID/timer-value pairs to
176 allow measuring time spent at different phases of the boot process.
177
Patrick Georgi7e9b9d82012-04-30 21:06:10 +0200178config USE_BLOBS
179 bool "Allow use of binary-only repository"
180 default n
181 help
182 This draws in the blobs repository, which contains binary files that
183 might be required for some chipsets or boards.
184 This flag ensures that a "Free" option remains available for users.
185
186config REQUIRES_BLOB
187 bool
188 default n
189 help
190 This option can be configured by boards that require the blobs
191 repository for the default configuration. It will make the build
192 fail if USE_BLOBS is disabled. Users that still desire to do a
193 coreboot build for such a board can override this manually, but
194 this option serves as warning that it might fail.
195
Uwe Hermannc04be932009-10-05 13:55:28 +0000196endmenu
197
Patrick Georgi0588d192009-08-12 15:00:51 +0000198source src/mainboard/Kconfig
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +0000199
200# This option is used to set the architecture of a mainboard to X86.
201# It is usually set in mainboard/*/Kconfig.
202config ARCH_X86
203 bool
204 default n
205
206if ARCH_X86
Stefan Reinauer8677a232010-12-11 20:33:41 +0000207source src/arch/x86/Kconfig
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +0000208endif
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000209
210menu "Chipset"
211
212comment "CPU"
Patrick Georgi0588d192009-08-12 15:00:51 +0000213source src/cpu/Kconfig
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000214comment "Northbridge"
215source src/northbridge/Kconfig
216comment "Southbridge"
217source src/southbridge/Kconfig
218comment "Super I/O"
219source src/superio/Kconfig
220comment "Devices"
221source src/devices/Kconfig
Sven Schnelle7592e8b2011-01-27 11:43:03 +0000222comment "Embedded Controllers"
223source src/ec/Kconfig
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000224
225endmenu
Patrick Georgi0588d192009-08-12 15:00:51 +0000226
Rudolf Marekd9c25492010-05-16 15:31:53 +0000227menu "Generic Drivers"
228source src/drivers/Kconfig
229endmenu
230
Patrick Georgi0588d192009-08-12 15:00:51 +0000231config PCI_BUS_SEGN_BITS
Myles Watson74fb8f22009-09-24 15:09:11 +0000232 int
233 default 0
Patrick Georgi892b0912009-09-24 09:03:06 +0000234
Patrick Georgi0588d192009-08-12 15:00:51 +0000235config PCI_ROM_RUN
Patrick Georgi698c0e0e2009-08-25 17:38:24 +0000236 bool
237 default n
Patrick Georgi0588d192009-08-12 15:00:51 +0000238
Patrick Georgi0588d192009-08-12 15:00:51 +0000239config HEAP_SIZE
240 hex
Myles Watson04000f42009-10-16 19:12:49 +0000241 default 0x4000
Patrick Georgi0588d192009-08-12 15:00:51 +0000242
Patrick Georgi0588d192009-08-12 15:00:51 +0000243config MAX_CPUS
244 int
245 default 1
246
247config MMCONF_SUPPORT_DEFAULT
248 bool
249 default n
250
251config MMCONF_SUPPORT
252 bool
253 default n
254
Patrick Georgi0588d192009-08-12 15:00:51 +0000255source src/console/Kconfig
256
Stefan Reinauer4885daa2011-04-26 23:47:04 +0000257# This should default to N and be set by SuperI/O drivers that have an UART
258config HAVE_UART_IO_MAPPED
259 bool
260 default y
261
262config HAVE_UART_MEMORY_MAPPED
263 bool
264 default n
265
Patrick Georgi0588d192009-08-12 15:00:51 +0000266config HAVE_ACPI_RESUME
267 bool
268 default n
269
Stefan Reinauerc4f1a772010-06-05 10:03:08 +0000270config HAVE_ACPI_SLIC
271 bool
272 default n
273
Patrick Georgi0588d192009-08-12 15:00:51 +0000274config ACPI_SSDTX_NUM
275 int
276 default 0
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
Patrick Georgi0588d192009-08-12 15:00:51 +0000286config HAVE_INIT_TIMER
287 bool
Patrick Georgi1f807fd2010-01-04 20:09:27 +0000288 default n if UDELAY_IO
Myles Watsond73c1b52009-10-26 15:14:07 +0000289 default y
Patrick Georgi0588d192009-08-12 15:00:51 +0000290
zbaof7223732012-04-13 13:42:15 +0800291config HIGH_SCRATCH_MEMORY_SIZE
292 hex
293 default 0x0
294
Patrick Georgi0588d192009-08-12 15:00:51 +0000295config HAVE_MAINBOARD_RESOURCES
296 bool
297 default n
298
Edwin Beasanteb50c7d2010-07-06 21:05:04 +0000299config USE_OPTION_TABLE
300 bool
301 default n
302
Patrick Georgi0588d192009-08-12 15:00:51 +0000303config HAVE_OPTION_TABLE
304 bool
Edwin Beasanteb50c7d2010-07-06 21:05:04 +0000305 default n
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000306 help
307 This variable specifies whether a given board has a cmos.layout
308 file containing NVRAM/CMOS bit definitions.
Edwin Beasanteb50c7d2010-07-06 21:05:04 +0000309 It defaults to 'n' but can be selected in mainboard/*/Kconfig.
Patrick Georgi0588d192009-08-12 15:00:51 +0000310
Patrick Georgi0588d192009-08-12 15:00:51 +0000311config PIRQ_ROUTE
312 bool
313 default n
314
315config HAVE_SMI_HANDLER
316 bool
317 default n
318
319config PCI_IO_CFG_EXT
320 bool
321 default n
322
323config IOAPIC
324 bool
325 default n
326
Stefan Reinauer3008bbad2011-10-11 14:46:25 -0700327config TPM
328 bool
329 default n
330
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000331# TODO: Can probably be removed once all chipsets have kconfig options for it.
Uwe Hermann70b0cf22009-10-04 17:15:39 +0000332config VIDEO_MB
333 int
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000334 default 0
Uwe Hermann70b0cf22009-10-04 17:15:39 +0000335
Myles Watson45bb25f2009-09-22 18:49:08 +0000336config USE_WATCHDOG_ON_BOOT
337 bool
338 default n
339
340config VGA
341 bool
342 default n
343 help
344 Build board-specific VGA code.
345
346config GFXUMA
347 bool
Myles Watsond73c1b52009-10-26 15:14:07 +0000348 default n
Myles Watson45bb25f2009-09-22 18:49:08 +0000349 help
350 Enable Unified Memory Architecture for graphics.
351
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000352# TODO
353# menu "Drivers"
Uwe Hermann168b11b2009-10-07 16:15:40 +0000354#
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000355# endmenu
Patrick Georgi0588d192009-08-12 15:00:51 +0000356
Myles Watsonb8e20272009-10-15 13:35:47 +0000357config HAVE_ACPI_TABLES
358 bool
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000359 help
360 This variable specifies whether a given board has ACPI table support.
361 It is usually set in mainboard/*/Kconfig.
362 Whether or not the ACPI tables are actually generated by coreboot
363 is configurable by the user via GENERATE_ACPI_TABLES.
Myles Watsonb8e20272009-10-15 13:35:47 +0000364
365config HAVE_MP_TABLE
366 bool
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000367 help
368 This variable specifies whether a given board has MP table support.
369 It is usually set in mainboard/*/Kconfig.
370 Whether or not the MP table is actually generated by coreboot
371 is configurable by the user via GENERATE_MP_TABLE.
Myles Watsonb8e20272009-10-15 13:35:47 +0000372
373config HAVE_PIRQ_TABLE
374 bool
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000375 help
376 This variable specifies whether a given board has PIRQ table support.
377 It is usually set in mainboard/*/Kconfig.
378 Whether or not the PIRQ table is actually generated by coreboot
379 is configurable by the user via GENERATE_PIRQ_TABLE.
Myles Watsonb8e20272009-10-15 13:35:47 +0000380
Myles Watsond73c1b52009-10-26 15:14:07 +0000381#These Options are here to avoid "undefined" warnings.
382#The actual selection and help texts are in the following menu.
383
384config GENERATE_ACPI_TABLES
Myles Watsonb8e20272009-10-15 13:35:47 +0000385 bool
Myles Watsond73c1b52009-10-26 15:14:07 +0000386 default HAVE_ACPI_TABLES
387
388config GENERATE_MP_TABLE
389 bool
390 default HAVE_MP_TABLE
391
392config GENERATE_PIRQ_TABLE
393 bool
394 default HAVE_PIRQ_TABLE
395
Sven Schnelle164bcfd2011-08-14 20:56:34 +0200396config GENERATE_SMBIOS_TABLES
397 bool
398 default y
399
Uwe Hermann168b11b2009-10-07 16:15:40 +0000400menu "System tables"
Myles Watson45bb25f2009-09-22 18:49:08 +0000401
Myles Watsonb8e20272009-10-15 13:35:47 +0000402config WRITE_HIGH_TABLES
Myles Watson45bb25f2009-09-22 18:49:08 +0000403 bool "Write 'high' tables to avoid being overwritten in F segment"
404 default y
405
406config MULTIBOOT
Uwe Hermann168b11b2009-10-07 16:15:40 +0000407 bool "Generate Multiboot tables (for GRUB2)"
Ronald G. Minnich7f91d922009-11-09 17:56:47 +0000408 default y
Myles Watson45bb25f2009-09-22 18:49:08 +0000409
Myles Watsonb8e20272009-10-15 13:35:47 +0000410config GENERATE_ACPI_TABLES
411 depends on HAVE_ACPI_TABLES
Myles Watson45bb25f2009-09-22 18:49:08 +0000412 bool "Generate ACPI tables"
Myles Watsonb8e20272009-10-15 13:35:47 +0000413 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000414 help
415 Generate ACPI tables for this board.
416
417 If unsure, say Y.
Myles Watson45bb25f2009-09-22 18:49:08 +0000418
Myles Watsonb8e20272009-10-15 13:35:47 +0000419config GENERATE_MP_TABLE
420 depends on HAVE_MP_TABLE
Myles Watson45bb25f2009-09-22 18:49:08 +0000421 bool "Generate an MP table"
Myles Watsonb8e20272009-10-15 13:35:47 +0000422 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000423 help
424 Generate an MP table (conforming to the Intel MultiProcessor
425 specification 1.4) for this board.
426
427 If unsure, say Y.
Myles Watson45bb25f2009-09-22 18:49:08 +0000428
Myles Watsonb8e20272009-10-15 13:35:47 +0000429config GENERATE_PIRQ_TABLE
430 depends on HAVE_PIRQ_TABLE
Myles Watson45bb25f2009-09-22 18:49:08 +0000431 bool "Generate a PIRQ table"
Myles Watsonb8e20272009-10-15 13:35:47 +0000432 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000433 help
434 Generate a PIRQ table for this board.
435
436 If unsure, say Y.
Myles Watson45bb25f2009-09-22 18:49:08 +0000437
Sven Schnelle164bcfd2011-08-14 20:56:34 +0200438config GENERATE_SMBIOS_TABLES
439 depends on ARCH_X86
440 bool "Generate SMBIOS tables"
441 default y
442 help
443 Generate SMBIOS tables for this board.
444
445 If unsure, say Y.
446
Myles Watson45bb25f2009-09-22 18:49:08 +0000447endmenu
448
Patrick Georgi0588d192009-08-12 15:00:51 +0000449menu "Payload"
450
Patrick Georgi0588d192009-08-12 15:00:51 +0000451choice
Uwe Hermann168b11b2009-10-07 16:15:40 +0000452 prompt "Add a payload"
Stefan Reinauerf1939bb2010-12-30 17:39:50 +0000453 default PAYLOAD_NONE if !ARCH_X86
454 default PAYLOAD_SEABIOS if ARCH_X86
Patrick Georgi0588d192009-08-12 15:00:51 +0000455
Uwe Hermann168b11b2009-10-07 16:15:40 +0000456config PAYLOAD_NONE
457 bool "None"
458 help
459 Select this option if you want to create an "empty" coreboot
460 ROM image for a certain mainboard, i.e. a coreboot ROM image
461 which does not yet contain a payload.
462
463 For such an image to be useful, you have to use 'cbfstool'
464 to add a payload to the ROM image later.
465
Patrick Georgi0588d192009-08-12 15:00:51 +0000466config PAYLOAD_ELF
Uwe Hermann168b11b2009-10-07 16:15:40 +0000467 bool "An ELF executable payload"
Patrick Georgi0588d192009-08-12 15:00:51 +0000468 help
469 Select this option if you have a payload image (an ELF file)
470 which coreboot should run as soon as the basic hardware
471 initialization is completed.
472
473 You will be able to specify the location and file name of the
474 payload image later.
Patrick Georgi0588d192009-08-12 15:00:51 +0000475
Stefan Reinauerf1939bb2010-12-30 17:39:50 +0000476config PAYLOAD_SEABIOS
477 bool "SeaBIOS"
478 depends on ARCH_X86
479 help
480 Select this option if you want to build a coreboot image
481 with a SeaBIOS payload. If you don't know what this is
482 about, just leave it enabled.
483
484 See http://coreboot.org/Payloads for more information.
485
Stefan Reinauere50952f2011-04-15 03:34:05 +0000486config PAYLOAD_FILO
487 bool "FILO"
488 help
489 Select this option if you want to build a coreboot image
490 with a FILO payload. If you don't know what this is
491 about, just leave it enabled.
492
493 See http://coreboot.org/Payloads for more information.
494
Stefan Reinauerf1939bb2010-12-30 17:39:50 +0000495endchoice
496
497choice
498 prompt "SeaBIOS version"
499 default SEABIOS_STABLE
500 depends on PAYLOAD_SEABIOS
501
502config SEABIOS_STABLE
503 bool "stable"
504 help
505 Stable SeaBIOS version
506config SEABIOS_MASTER
507 bool "master"
508 help
509 Newest SeaBIOS version
Patrick Georgi0588d192009-08-12 15:00:51 +0000510endchoice
511
Stefan Reinauere50952f2011-04-15 03:34:05 +0000512choice
513 prompt "FILO version"
514 default FILO_STABLE
515 depends on PAYLOAD_FILO
516
517config FILO_STABLE
518 bool "0.6.0"
519 help
520 Stable FILO version
521config FILO_MASTER
522 bool "HEAD"
523 help
524 Newest FILO version
525endchoice
526
Stefan Reinauerbccbbe62010-12-19 21:20:14 +0000527config PAYLOAD_FILE
Cristi Magherusanb5034d42009-08-17 14:47:32 +0000528 string "Payload path and filename"
Patrick Georgi0588d192009-08-12 15:00:51 +0000529 depends on PAYLOAD_ELF
530 default "payload.elf"
531 help
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000532 The path and filename of the ELF executable file to use as payload.
Patrick Georgi0588d192009-08-12 15:00:51 +0000533
Stefan Reinauerf1939bb2010-12-30 17:39:50 +0000534config PAYLOAD_FILE
535 depends on PAYLOAD_SEABIOS
Stefan Reinaueraff6dc22012-01-21 10:34:22 -0800536 default "$(obj)/seabios/out/bios.bin.elf"
Stefan Reinauerf1939bb2010-12-30 17:39:50 +0000537
Stefan Reinauere50952f2011-04-15 03:34:05 +0000538config PAYLOAD_FILE
539 depends on PAYLOAD_FILO
540 default "payloads/external/FILO/filo/build/filo.elf"
541
Uwe Hermann168b11b2009-10-07 16:15:40 +0000542# TODO: Defined if no payload? Breaks build?
543config COMPRESSED_PAYLOAD_LZMA
544 bool "Use LZMA compression for payloads"
545 default y
Stefan Reinauere50952f2011-04-15 03:34:05 +0000546 depends on PAYLOAD_ELF || PAYLOAD_SEABIOS || PAYLOAD_FILO
Uwe Hermann168b11b2009-10-07 16:15:40 +0000547 help
548 In order to reduce the size payloads take up in the ROM chip
549 coreboot can compress them using the LZMA algorithm.
550
Myles Watson04000f42009-10-16 19:12:49 +0000551config COMPRESSED_PAYLOAD_NRV2B
Peter Stuged7b37b02009-10-17 03:00:04 +0000552 bool
Myles Watson04000f42009-10-16 19:12:49 +0000553 default n
554
Peter Stugea758ca22009-09-17 16:21:31 +0000555endmenu
556
557menu "VGA BIOS"
558
559config VGA_BIOS
560 bool "Add a VGA BIOS image"
561 help
562 Select this option if you have a VGA BIOS image that you would
563 like to add to your ROM.
564
565 You will be able to specify the location and file name of the
566 image later.
567
Stefan Reinauerbccbbe62010-12-19 21:20:14 +0000568config VGA_BIOS_FILE
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000569 string "VGA BIOS path and filename"
570 depends on VGA_BIOS
571 default "vgabios.bin"
572 help
573 The path and filename of the file to use as VGA BIOS.
574
Stefan Reinauerbccbbe62010-12-19 21:20:14 +0000575config VGA_BIOS_ID
Uwe Hermann81b3c0a2009-10-30 12:56:59 +0000576 string "VGA device PCI IDs"
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000577 depends on VGA_BIOS
578 default "1106,3230"
579 help
Uwe Hermann168b11b2009-10-07 16:15:40 +0000580 The comma-separated PCI vendor and device ID that would associate
581 your VGA BIOS to your video card.
582
583 Example: 1106,3230
584
585 In the above example 1106 is the PCI vendor ID (in hex, but without
586 the "0x" prefix) and 3230 specifies the PCI device ID of the
587 video card (also in hex, without "0x" prefix).
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000588
Stefan Reinauer800379f2010-03-01 08:34:19 +0000589config INTEL_MBI
590 bool "Add an MBI image"
591 depends on NORTHBRIDGE_INTEL_I82830
592 help
593 Select this option if you have an Intel MBI image that you would
594 like to add to your ROM.
595
596 You will be able to specify the location and file name of the
597 image later.
598
Stefan Reinauerbccbbe62010-12-19 21:20:14 +0000599config MBI_FILE
Stefan Reinauer800379f2010-03-01 08:34:19 +0000600 string "Intel MBI path and filename"
601 depends on INTEL_MBI
602 default "mbi.bin"
603 help
604 The path and filename of the file to use as VGA BIOS.
605
606endmenu
607
Stefan Reinauerc1efb902011-10-12 14:30:59 -0700608menu "Display"
609 depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE
610
611config FRAMEBUFFER_SET_VESA_MODE
612 prompt "Set VESA framebuffer mode"
613 bool
614 depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE
615 help
616 Set VESA framebuffer mode (needed for bootsplash)
617
Steve Goodrichf0269122012-05-18 11:18:47 -0600618choice
Stefan Reinauerc1efb902011-10-12 14:30:59 -0700619 prompt "VESA framebuffer video mode"
Steve Goodrichf0269122012-05-18 11:18:47 -0600620 default FRAMEBUFFER_VESA_MODE_117
Stefan Reinauerc1efb902011-10-12 14:30:59 -0700621 depends on FRAMEBUFFER_SET_VESA_MODE
622 help
623 This option sets the resolution used for the coreboot framebuffer (and
Steve Goodrichf0269122012-05-18 11:18:47 -0600624 bootsplash screen).
625
626config FRAMEBUFFER_VESA_MODE_100
627 bool "640x400 256-color"
628
629config FRAMEBUFFER_VESA_MODE_101
630 bool "640x480 256-color"
631
632config FRAMEBUFFER_VESA_MODE_102
633 bool "800x600 16-color"
634
635config FRAMEBUFFER_VESA_MODE_103
636 bool "800x600 256-color"
637
638config FRAMEBUFFER_VESA_MODE_104
639 bool "1024x768 16-color"
640
641config FRAMEBUFFER_VESA_MODE_105
642 bool "1024x7686 256-color"
643
644config FRAMEBUFFER_VESA_MODE_106
645 bool "1280x1024 16-color"
646
647config FRAMEBUFFER_VESA_MODE_107
648 bool "1280x1024 256-color"
649
650config FRAMEBUFFER_VESA_MODE_108
651 bool "80x60 text"
652
653config FRAMEBUFFER_VESA_MODE_109
654 bool "132x25 text"
655
656config FRAMEBUFFER_VESA_MODE_10A
657 bool "132x43 text"
658
659config FRAMEBUFFER_VESA_MODE_10B
660 bool "132x50 text"
661
662config FRAMEBUFFER_VESA_MODE_10C
663 bool "132x60 text"
664
665config FRAMEBUFFER_VESA_MODE_10D
666 bool "320x200 32k-color (1:5:5:5)"
667
668config FRAMEBUFFER_VESA_MODE_10E
669 bool "320x200 64k-color (5:6:5)"
670
671config FRAMEBUFFER_VESA_MODE_10F
672 bool "320x200 16.8M-color (8:8:8)"
673
674config FRAMEBUFFER_VESA_MODE_110
675 bool "640x480 32k-color (1:5:5:5)"
676
677config FRAMEBUFFER_VESA_MODE_111
678 bool "640x480 64k-color (5:6:5)"
679
680config FRAMEBUFFER_VESA_MODE_112
681 bool "640x480 16.8M-color (8:8:8)"
682
683config FRAMEBUFFER_VESA_MODE_113
684 bool "800x600 32k-color (1:5:5:5)"
685
686config FRAMEBUFFER_VESA_MODE_114
687 bool "800x600 64k-color (5:6:5)"
688
689config FRAMEBUFFER_VESA_MODE_115
690 bool "800x600 16.8M-color (8:8:8)"
691
692config FRAMEBUFFER_VESA_MODE_116
693 bool "1024x768 32k-color (1:5:5:5)"
694
695config FRAMEBUFFER_VESA_MODE_117
696 bool "1024x768 64k-color (5:6:5)"
697
698config FRAMEBUFFER_VESA_MODE_118
699 bool "1024x768 16.8M-color (8:8:8)"
700
701config FRAMEBUFFER_VESA_MODE_119
702 bool "1280x1024 32k-color (1:5:5:5)"
703
704config FRAMEBUFFER_VESA_MODE_11A
705 bool "1280x1024 64k-color (5:6:5)"
706
707config FRAMEBUFFER_VESA_MODE_11B
708 bool "1280x1024 16.8M-color (8:8:8)"
709
710endchoice
711
712# Map the config names to an integer (KB).
713config FRAMEBUFFER_VESA_MODE
714 hex
715 default 0x100 if FRAMEBUFFER_VESA_MODE_100
716 default 0x101 if FRAMEBUFFER_VESA_MODE_101
717 default 0x102 if FRAMEBUFFER_VESA_MODE_102
718 default 0x103 if FRAMEBUFFER_VESA_MODE_103
719 default 0x104 if FRAMEBUFFER_VESA_MODE_104
720 default 0x105 if FRAMEBUFFER_VESA_MODE_105
721 default 0x106 if FRAMEBUFFER_VESA_MODE_106
722 default 0x107 if FRAMEBUFFER_VESA_MODE_107
723 default 0x108 if FRAMEBUFFER_VESA_MODE_108
724 default 0x109 if FRAMEBUFFER_VESA_MODE_109
725 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
726 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
727 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
728 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
729 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
730 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
731 default 0x110 if FRAMEBUFFER_VESA_MODE_110
732 default 0x111 if FRAMEBUFFER_VESA_MODE_111
733 default 0x112 if FRAMEBUFFER_VESA_MODE_112
734 default 0x113 if FRAMEBUFFER_VESA_MODE_113
735 default 0x114 if FRAMEBUFFER_VESA_MODE_114
736 default 0x115 if FRAMEBUFFER_VESA_MODE_115
737 default 0x116 if FRAMEBUFFER_VESA_MODE_116
738 default 0x117 if FRAMEBUFFER_VESA_MODE_117
739 default 0x118 if FRAMEBUFFER_VESA_MODE_118
740 default 0x119 if FRAMEBUFFER_VESA_MODE_119
741 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
742 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
Stefan Reinauerc1efb902011-10-12 14:30:59 -0700743
744config FRAMEBUFFER_KEEP_VESA_MODE
745 prompt "Keep VESA framebuffer"
746 bool
747 depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE
748 help
749 This option keeps the framebuffer mode set after coreboot finishes
750 execution. If this option is enabled, coreboot will pass a
751 framebuffer entry in its coreboot table and the payload will need a
752 framebuffer driver. If this option is disabled, coreboot will switch
753 back to text mode before handing control to a payload.
Stefan Reinauer800379f2010-03-01 08:34:19 +0000754
755config BOOTSPLASH
756 prompt "Show graphical bootsplash"
757 bool
Stefan Reinauerc1efb902011-10-12 14:30:59 -0700758 depends on FRAMEBUFFER_SET_VESA_MODE
Stefan Reinauer800379f2010-03-01 08:34:19 +0000759 help
760 This option shows a graphical bootsplash screen. The grapics are
761 loaded from the CBFS file bootsplash.jpg.
762
Stefan Reinauerbccbbe62010-12-19 21:20:14 +0000763config BOOTSPLASH_FILE
Stefan Reinauer800379f2010-03-01 08:34:19 +0000764 string "Bootsplash path and filename"
765 depends on BOOTSPLASH
766 default "bootsplash.jpg"
767 help
Stefan Reinauer14e22772010-04-27 06:56:47 +0000768 The path and filename of the file to use as graphical bootsplash
769 screen. The file format has to be jpg.
Patrick Georgi0588d192009-08-12 15:00:51 +0000770endmenu
771
Uwe Hermann168b11b2009-10-07 16:15:40 +0000772menu "Debugging"
773
774# TODO: Better help text and detailed instructions.
Patrick Georgi0588d192009-08-12 15:00:51 +0000775config GDB_STUB
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000776 bool "GDB debugging support"
Rudolf Marek65888022012-03-25 20:51:16 +0200777 default n
Patrick Georgi0588d192009-08-12 15:00:51 +0000778 help
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000779 If enabled, you will be able to set breakpoints for gdb debugging.
Stefan Reinauer8677a232010-12-11 20:33:41 +0000780 See src/arch/x86/lib/c_start.S for details.
Patrick Georgi0588d192009-08-12 15:00:51 +0000781
Denis 'GNUtoo' Cariklie4cece02012-06-22 15:56:37 +0200782config GDB_WAIT
783 bool "Wait for a GDB connection"
784 default n
785 depends on GDB_STUB
786 help
787 If enabled, coreboot will wait for a GDB connection.
788
Stefan Reinauerfe422182012-05-02 16:33:18 -0700789config DEBUG_CBFS
790 bool "Output verbose CBFS debug messages"
791 default n
792 depends on TPM
793 help
794 This option enables additional CBFS related debug messages.
795
Jens Rottmann0d11f2d2010-08-26 12:46:02 +0000796config HAVE_DEBUG_RAM_SETUP
797 def_bool n
798
Uwe Hermann01ce6012010-03-05 10:03:50 +0000799config DEBUG_RAM_SETUP
800 bool "Output verbose RAM init debug messages"
801 default n
Jens Rottmann0d11f2d2010-08-26 12:46:02 +0000802 depends on HAVE_DEBUG_RAM_SETUP
Uwe Hermann01ce6012010-03-05 10:03:50 +0000803 help
804 This option enables additional RAM init related debug messages.
805 It is recommended to enable this when debugging issues on your
806 board which might be RAM init related.
807
808 Note: This option will increase the size of the coreboot image.
809
810 If unsure, say N.
811
Patrick Georgie82618d2010-10-01 14:50:12 +0000812config HAVE_DEBUG_CAR
813 def_bool n
814
Peter Stuge5015f792010-11-10 02:00:32 +0000815config DEBUG_CAR
816 def_bool n
817 depends on HAVE_DEBUG_CAR
818
819if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8
Uwe Hermanna953f372010-11-10 00:14:32 +0000820# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
821# printk(BIOS_DEBUG, ...) calls.
Patrick Georgie82618d2010-10-01 14:50:12 +0000822config DEBUG_CAR
823 bool "Output verbose Cache-as-RAM debug messages"
824 default n
Peter Stuge5015f792010-11-10 02:00:32 +0000825 depends on HAVE_DEBUG_CAR
Patrick Georgie82618d2010-10-01 14:50:12 +0000826 help
827 This option enables additional CAR related debug messages.
Peter Stuge5015f792010-11-10 02:00:32 +0000828endif
Patrick Georgie82618d2010-10-01 14:50:12 +0000829
Myles Watson80e914ff2010-06-01 19:25:31 +0000830config DEBUG_PIRQ
831 bool "Check PIRQ table consistency"
832 default n
833 depends on GENERATE_PIRQ_TABLE
834 help
835 If unsure, say N.
836
Jens Rottmann0d11f2d2010-08-26 12:46:02 +0000837config HAVE_DEBUG_SMBUS
838 def_bool n
839
Uwe Hermann01ce6012010-03-05 10:03:50 +0000840config DEBUG_SMBUS
841 bool "Output verbose SMBus debug messages"
842 default n
Jens Rottmann0d11f2d2010-08-26 12:46:02 +0000843 depends on HAVE_DEBUG_SMBUS
Uwe Hermann01ce6012010-03-05 10:03:50 +0000844 help
845 This option enables additional SMBus (and SPD) debug messages.
846
847 Note: This option will increase the size of the coreboot image.
848
849 If unsure, say N.
850
851config DEBUG_SMI
852 bool "Output verbose SMI debug messages"
853 default n
854 depends on HAVE_SMI_HANDLER
855 help
856 This option enables additional SMI related debug messages.
857
858 Note: This option will increase the size of the coreboot image.
859
860 If unsure, say N.
861
Stefan Reinauerbc0f7a62010-08-01 15:41:14 +0000862config DEBUG_SMM_RELOCATION
863 bool "Debug SMM relocation code"
864 default n
865 depends on HAVE_SMI_HANDLER
866 help
867 This option enables additional SMM handler relocation related
868 debug messages.
869
870 Note: This option will increase the size of the coreboot image.
871
872 If unsure, say N.
873
Peter Stuge5015f792010-11-10 02:00:32 +0000874config DEBUG_MALLOC
875 def_bool n
876
Uwe Hermanna953f372010-11-10 00:14:32 +0000877# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
878# printk(BIOS_DEBUG, ...) calls.
Peter Stuge5015f792010-11-10 02:00:32 +0000879if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8
Uwe Hermanna953f372010-11-10 00:14:32 +0000880config DEBUG_MALLOC
881 bool "Output verbose malloc debug messages"
882 default n
Uwe Hermanna953f372010-11-10 00:14:32 +0000883 help
884 This option enables additional malloc related debug messages.
885
886 Note: This option will increase the size of the coreboot image.
887
888 If unsure, say N.
Peter Stuge5015f792010-11-10 02:00:32 +0000889endif
Uwe Hermanna953f372010-11-10 00:14:32 +0000890
Cristian Măgherușan-Stanciu9f52ea42011-07-02 00:44:39 +0300891config DEBUG_ACPI
892 def_bool n
893
894# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
895# printk(BIOS_DEBUG, ...) calls.
896if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8
897config DEBUG_ACPI
898 bool "Output verbose ACPI debug messages"
899 default n
900 help
901 This option enables additional ACPI related debug messages.
902
903 Note: This option will slightly increase the size of the coreboot image.
904
905 If unsure, say N.
906endif
907
Peter Stuge5015f792010-11-10 02:00:32 +0000908config REALMODE_DEBUG
909 def_bool n
910 depends on PCI_OPTION_ROM_RUN_REALMODE
911
912if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8
Uwe Hermanna953f372010-11-10 00:14:32 +0000913# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
914# printk(BIOS_DEBUG, ...) calls.
Myles Watson6c9bc012010-09-07 22:30:15 +0000915config REALMODE_DEBUG
916 bool "Enable debug messages for option ROM execution"
917 default n
Peter Stuge5015f792010-11-10 02:00:32 +0000918 depends on PCI_OPTION_ROM_RUN_REALMODE
Myles Watson6c9bc012010-09-07 22:30:15 +0000919 help
920 This option enables additional x86emu related debug messages.
921
922 Note: This option will increase the time to emulate a ROM.
923
924 If unsure, say N.
Peter Stuge5015f792010-11-10 02:00:32 +0000925endif
Myles Watson6c9bc012010-09-07 22:30:15 +0000926
Uwe Hermann01ce6012010-03-05 10:03:50 +0000927config X86EMU_DEBUG
928 bool "Output verbose x86emu debug messages"
929 default n
930 depends on PCI_OPTION_ROM_RUN_YABEL
931 help
932 This option enables additional x86emu related debug messages.
933
934 Note: This option will increase the size of the coreboot image.
935
936 If unsure, say N.
937
938config X86EMU_DEBUG_JMP
939 bool "Trace JMP/RETF"
940 default n
941 depends on X86EMU_DEBUG
942 help
943 Print information about JMP and RETF opcodes from x86emu.
944
945 Note: This option will increase the size of the coreboot image.
946
947 If unsure, say N.
948
949config X86EMU_DEBUG_TRACE
950 bool "Trace all opcodes"
951 default n
952 depends on X86EMU_DEBUG
953 help
954 Print _all_ opcodes that are executed by x86emu.
Stefan Reinauer14e22772010-04-27 06:56:47 +0000955
Uwe Hermann01ce6012010-03-05 10:03:50 +0000956 WARNING: This will produce a LOT of output and take a long time.
957
958 Note: This option will increase the size of the coreboot image.
959
960 If unsure, say N.
961
962config X86EMU_DEBUG_PNP
963 bool "Log Plug&Play accesses"
964 default n
965 depends on X86EMU_DEBUG
966 help
967 Print Plug And Play accesses made by option ROMs.
968
969 Note: This option will increase the size of the coreboot image.
970
971 If unsure, say N.
972
973config X86EMU_DEBUG_DISK
974 bool "Log Disk I/O"
975 default n
976 depends on X86EMU_DEBUG
977 help
978 Print Disk I/O related messages.
979
980 Note: This option will increase the size of the coreboot image.
981
982 If unsure, say N.
983
984config X86EMU_DEBUG_PMM
985 bool "Log PMM"
986 default n
987 depends on X86EMU_DEBUG
988 help
989 Print messages related to POST Memory Manager (PMM).
990
991 Note: This option will increase the size of the coreboot image.
992
993 If unsure, say N.
994
995
996config X86EMU_DEBUG_VBE
997 bool "Debug VESA BIOS Extensions"
998 default n
999 depends on X86EMU_DEBUG
1000 help
1001 Print messages related to VESA BIOS Extension (VBE) functions.
1002
1003 Note: This option will increase the size of the coreboot image.
1004
1005 If unsure, say N.
1006
1007config X86EMU_DEBUG_INT10
1008 bool "Redirect INT10 output to console"
1009 default n
1010 depends on X86EMU_DEBUG
1011 help
1012 Let INT10 (i.e. character output) calls print messages to debug output.
1013
1014 Note: This option will increase the size of the coreboot image.
1015
1016 If unsure, say N.
1017
1018config X86EMU_DEBUG_INTERRUPTS
1019 bool "Log intXX calls"
1020 default n
1021 depends on X86EMU_DEBUG
1022 help
1023 Print messages related to interrupt handling.
1024
1025 Note: This option will increase the size of the coreboot image.
1026
1027 If unsure, say N.
1028
1029config X86EMU_DEBUG_CHECK_VMEM_ACCESS
1030 bool "Log special memory accesses"
1031 default n
1032 depends on X86EMU_DEBUG
1033 help
1034 Print messages related to accesses to certain areas of the virtual
1035 memory (e.g. BDA (BIOS Data Area) or interrupt vectors)
1036
1037 Note: This option will increase the size of the coreboot image.
1038
1039 If unsure, say N.
1040
1041config X86EMU_DEBUG_MEM
1042 bool "Log all memory accesses"
1043 default n
1044 depends on X86EMU_DEBUG
1045 help
1046 Print memory accesses made by option ROM.
1047 Note: This also includes accesses to fetch instructions.
1048
1049 Note: This option will increase the size of the coreboot image.
1050
1051 If unsure, say N.
1052
1053config X86EMU_DEBUG_IO
1054 bool "Log IO accesses"
1055 default n
1056 depends on X86EMU_DEBUG
1057 help
1058 Print I/O accesses made by option ROM.
1059
1060 Note: This option will increase the size of the coreboot image.
1061
1062 If unsure, say N.
1063
Stefan Reinauerdfb098d2011-11-17 12:50:54 -08001064config DEBUG_TPM
1065 bool "Output verbose TPM debug messages"
1066 default n
1067 depends on TPM
1068 help
1069 This option enables additional TPM related debug messages.
1070
Stefan Reinauer1c56d9b2012-05-10 11:27:32 -07001071config DEBUG_SPI_FLASH
1072 bool "Output verbose SPI flash debug messages"
1073 default n
1074 depends on SPI_FLASH
1075 help
1076 This option enables additional SPI flash related debug messages.
1077
Stefan Reinauer8e073822012-04-04 00:07:22 +02001078if SOUTHBRIDGE_INTEL_BD82X6X && DEFAULT_CONSOLE_LOGLEVEL_8
1079# Only visible with the right southbridge and loglevel.
1080config DEBUG_INTEL_ME
1081 bool "Verbose logging for Intel Management Engine"
1082 default n
1083 help
1084 Enable verbose logging for Intel Management Engine driver that
1085 is present on Intel 6-series chipsets.
1086endif
1087
Stefan Reinauer5c503922010-03-13 22:07:15 +00001088config LLSHELL
1089 bool "Built-in low-level shell"
1090 default n
1091 help
1092 If enabled, you will have a low level shell to examine your machine.
1093 Put llshell() in your (romstage) code to start the shell.
Stefan Reinauer8677a232010-12-11 20:33:41 +00001094 See src/arch/x86/llshell/llshell.inc for details.
Stefan Reinauer5c503922010-03-13 22:07:15 +00001095
Rudolf Marek7f0e9302011-09-02 23:23:41 +02001096config TRACE
1097 bool "Trace function calls"
1098 default n
1099 help
1100 If enabled, every function will print information to console once
1101 the function is entered. The syntax is ~0xaaaabbbb(0xccccdddd)
1102 the 0xaaaabbbb is the actual function and 0xccccdddd is EIP
1103 of calling function. Please note some printk releated functions
1104 are omitted from trace to have good looking console dumps.
Uwe Hermann168b11b2009-10-07 16:15:40 +00001105endmenu
1106
Myles Watson8f74c582009-10-20 16:10:04 +00001107config LIFT_BSP_APIC_ID
1108 bool
1109 default n
Myles Watsond73c1b52009-10-26 15:14:07 +00001110
1111# These probably belong somewhere else, but they are needed somewhere.
1112config AP_CODE_IN_CAR
1113 bool
1114 default n
1115
Jonathan Kollasche5b75072010-10-07 23:02:06 +00001116config RAMINIT_SYSINFO
1117 bool
1118 default n
1119
Myles Watsond73c1b52009-10-26 15:14:07 +00001120config ENABLE_APIC_EXT_ID
1121 bool
1122 default n
Myles Watson2e672732009-11-12 16:38:03 +00001123
1124config WARNINGS_ARE_ERRORS
1125 bool
Stefan Reinauer6f57b512010-07-08 16:41:05 +00001126 default y
Patrick Georgi436f99b2009-11-27 16:55:13 +00001127
Peter Stuge51eafde2010-10-13 06:23:02 +00001128# The four POWER_BUTTON_DEFAULT_ENABLE, POWER_BUTTON_DEFAULT_DISABLE,
1129# POWER_BUTTON_FORCE_ENABLE and POWER_BUTTON_FORCE_DISABLE options are
1130# mutually exclusive. One of these options must be selected in the
1131# mainboard Kconfig if the chipset supports enabling and disabling of
1132# the power button. Chipset code uses the ENABLE_POWER_BUTTON option set
1133# in mainboard/Kconfig to know if the button should be enabled or not.
1134
1135config POWER_BUTTON_DEFAULT_ENABLE
1136 def_bool n
1137 help
1138 Select when the board has a power button which can optionally be
1139 disabled by the user.
1140
1141config POWER_BUTTON_DEFAULT_DISABLE
1142 def_bool n
1143 help
1144 Select when the board has a power button which can optionally be
1145 enabled by the user, e.g. when the board ships with a jumper over
1146 the power switch contacts.
1147
1148config POWER_BUTTON_FORCE_ENABLE
1149 def_bool n
1150 help
1151 Select when the board requires that the power button is always
1152 enabled.
1153
1154config POWER_BUTTON_FORCE_DISABLE
1155 def_bool n
1156 help
1157 Select when the board requires that the power button is always
1158 disabled, e.g. when it has been hardwired to ground.
1159
1160config POWER_BUTTON_IS_OPTIONAL
1161 bool
1162 default y if POWER_BUTTON_DEFAULT_ENABLE || POWER_BUTTON_DEFAULT_DISABLE
1163 default n if !(POWER_BUTTON_DEFAULT_ENABLE || POWER_BUTTON_DEFAULT_DISABLE)
1164 help
1165 Internal option that controls ENABLE_POWER_BUTTON visibility.
1166
Patrick Georgicc669262010-03-14 21:31:05 +00001167source src/Kconfig.deprecated_options
Stefan Reinauerb89a7612012-03-30 01:01:51 +02001168source src/vendorcode/Kconfig