blob: 469266dde92ab9e895809a5c94aa7e285ac453ff [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
Edwin Beasanteb50c7d2010-07-06 21:05:04 +0000295config USE_OPTION_TABLE
296 bool
297 default n
298
Patrick Georgi0588d192009-08-12 15:00:51 +0000299config HAVE_OPTION_TABLE
300 bool
Edwin Beasanteb50c7d2010-07-06 21:05:04 +0000301 default n
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000302 help
303 This variable specifies whether a given board has a cmos.layout
304 file containing NVRAM/CMOS bit definitions.
Edwin Beasanteb50c7d2010-07-06 21:05:04 +0000305 It defaults to 'n' but can be selected in mainboard/*/Kconfig.
Patrick Georgi0588d192009-08-12 15:00:51 +0000306
Patrick Georgi0588d192009-08-12 15:00:51 +0000307config PIRQ_ROUTE
308 bool
309 default n
310
311config HAVE_SMI_HANDLER
312 bool
313 default n
314
315config PCI_IO_CFG_EXT
316 bool
317 default n
318
319config IOAPIC
320 bool
321 default n
322
Stefan Reinauer3008bbad2011-10-11 14:46:25 -0700323config TPM
324 bool
325 default n
326
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000327# TODO: Can probably be removed once all chipsets have kconfig options for it.
Uwe Hermann70b0cf22009-10-04 17:15:39 +0000328config VIDEO_MB
329 int
Uwe Hermann63a8f2a2009-10-26 21:42:13 +0000330 default 0
Uwe Hermann70b0cf22009-10-04 17:15:39 +0000331
Myles Watson45bb25f2009-09-22 18:49:08 +0000332config USE_WATCHDOG_ON_BOOT
333 bool
334 default n
335
336config VGA
337 bool
338 default n
339 help
340 Build board-specific VGA code.
341
342config GFXUMA
343 bool
Myles Watsond73c1b52009-10-26 15:14:07 +0000344 default n
Myles Watson45bb25f2009-09-22 18:49:08 +0000345 help
346 Enable Unified Memory Architecture for graphics.
347
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000348# TODO
349# menu "Drivers"
Uwe Hermann168b11b2009-10-07 16:15:40 +0000350#
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000351# endmenu
Patrick Georgi0588d192009-08-12 15:00:51 +0000352
Myles Watsonb8e20272009-10-15 13:35:47 +0000353config HAVE_ACPI_TABLES
354 bool
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000355 help
356 This variable specifies whether a given board has ACPI table support.
357 It is usually set in mainboard/*/Kconfig.
358 Whether or not the ACPI tables are actually generated by coreboot
359 is configurable by the user via GENERATE_ACPI_TABLES.
Myles Watsonb8e20272009-10-15 13:35:47 +0000360
361config HAVE_MP_TABLE
362 bool
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000363 help
364 This variable specifies whether a given board has MP table support.
365 It is usually set in mainboard/*/Kconfig.
366 Whether or not the MP table is actually generated by coreboot
367 is configurable by the user via GENERATE_MP_TABLE.
Myles Watsonb8e20272009-10-15 13:35:47 +0000368
369config HAVE_PIRQ_TABLE
370 bool
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000371 help
372 This variable specifies whether a given board has PIRQ table support.
373 It is usually set in mainboard/*/Kconfig.
374 Whether or not the PIRQ table is actually generated by coreboot
375 is configurable by the user via GENERATE_PIRQ_TABLE.
Myles Watsonb8e20272009-10-15 13:35:47 +0000376
Myles Watsond73c1b52009-10-26 15:14:07 +0000377#These Options are here to avoid "undefined" warnings.
378#The actual selection and help texts are in the following menu.
379
380config GENERATE_ACPI_TABLES
Myles Watsonb8e20272009-10-15 13:35:47 +0000381 bool
Myles Watsond73c1b52009-10-26 15:14:07 +0000382 default HAVE_ACPI_TABLES
383
384config GENERATE_MP_TABLE
385 bool
Kyösti Mälkki651339b2012-08-25 00:21:44 +0300386 default HAVE_MP_TABLE || DRIVERS_GENERIC_IOAPIC
Myles Watsond73c1b52009-10-26 15:14:07 +0000387
388config GENERATE_PIRQ_TABLE
389 bool
390 default HAVE_PIRQ_TABLE
391
Sven Schnelle164bcfd2011-08-14 20:56:34 +0200392config GENERATE_SMBIOS_TABLES
393 bool
394 default y
395
Uwe Hermann168b11b2009-10-07 16:15:40 +0000396menu "System tables"
Myles Watson45bb25f2009-09-22 18:49:08 +0000397
Myles Watsonb8e20272009-10-15 13:35:47 +0000398config WRITE_HIGH_TABLES
Myles Watson45bb25f2009-09-22 18:49:08 +0000399 bool "Write 'high' tables to avoid being overwritten in F segment"
400 default y
401
402config MULTIBOOT
Uwe Hermann168b11b2009-10-07 16:15:40 +0000403 bool "Generate Multiboot tables (for GRUB2)"
Ronald G. Minnich7f91d922009-11-09 17:56:47 +0000404 default y
Myles Watson45bb25f2009-09-22 18:49:08 +0000405
Myles Watsonb8e20272009-10-15 13:35:47 +0000406config GENERATE_ACPI_TABLES
407 depends on HAVE_ACPI_TABLES
Myles Watson45bb25f2009-09-22 18:49:08 +0000408 bool "Generate ACPI tables"
Myles Watsonb8e20272009-10-15 13:35:47 +0000409 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000410 help
411 Generate ACPI tables for this board.
412
413 If unsure, say Y.
Myles Watson45bb25f2009-09-22 18:49:08 +0000414
Myles Watsonb8e20272009-10-15 13:35:47 +0000415config GENERATE_MP_TABLE
Kyösti Mälkki651339b2012-08-25 00:21:44 +0300416 depends on HAVE_MP_TABLE || DRIVERS_GENERIC_IOAPIC
Myles Watson45bb25f2009-09-22 18:49:08 +0000417 bool "Generate an MP table"
Myles Watsonb8e20272009-10-15 13:35:47 +0000418 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000419 help
420 Generate an MP table (conforming to the Intel MultiProcessor
421 specification 1.4) for this board.
422
423 If unsure, say Y.
Myles Watson45bb25f2009-09-22 18:49:08 +0000424
Myles Watsonb8e20272009-10-15 13:35:47 +0000425config GENERATE_PIRQ_TABLE
426 depends on HAVE_PIRQ_TABLE
Myles Watson45bb25f2009-09-22 18:49:08 +0000427 bool "Generate a PIRQ table"
Myles Watsonb8e20272009-10-15 13:35:47 +0000428 default y
Uwe Hermann6ba13bb2009-10-15 17:49:07 +0000429 help
430 Generate a PIRQ table for this board.
431
432 If unsure, say Y.
Myles Watson45bb25f2009-09-22 18:49:08 +0000433
Sven Schnelle164bcfd2011-08-14 20:56:34 +0200434config GENERATE_SMBIOS_TABLES
435 depends on ARCH_X86
436 bool "Generate SMBIOS tables"
437 default y
438 help
439 Generate SMBIOS tables for this board.
440
441 If unsure, say Y.
442
Myles Watson45bb25f2009-09-22 18:49:08 +0000443endmenu
444
Patrick Georgi0588d192009-08-12 15:00:51 +0000445menu "Payload"
446
Patrick Georgi0588d192009-08-12 15:00:51 +0000447choice
Uwe Hermann168b11b2009-10-07 16:15:40 +0000448 prompt "Add a payload"
Stefan Reinauerf1939bb2010-12-30 17:39:50 +0000449 default PAYLOAD_NONE if !ARCH_X86
450 default PAYLOAD_SEABIOS if ARCH_X86
Patrick Georgi0588d192009-08-12 15:00:51 +0000451
Uwe Hermann168b11b2009-10-07 16:15:40 +0000452config PAYLOAD_NONE
453 bool "None"
454 help
455 Select this option if you want to create an "empty" coreboot
456 ROM image for a certain mainboard, i.e. a coreboot ROM image
457 which does not yet contain a payload.
458
459 For such an image to be useful, you have to use 'cbfstool'
460 to add a payload to the ROM image later.
461
Patrick Georgi0588d192009-08-12 15:00:51 +0000462config PAYLOAD_ELF
Uwe Hermann168b11b2009-10-07 16:15:40 +0000463 bool "An ELF executable payload"
Patrick Georgi0588d192009-08-12 15:00:51 +0000464 help
465 Select this option if you have a payload image (an ELF file)
466 which coreboot should run as soon as the basic hardware
467 initialization is completed.
468
469 You will be able to specify the location and file name of the
470 payload image later.
Patrick Georgi0588d192009-08-12 15:00:51 +0000471
Stefan Reinauerf1939bb2010-12-30 17:39:50 +0000472config PAYLOAD_SEABIOS
473 bool "SeaBIOS"
474 depends on ARCH_X86
475 help
476 Select this option if you want to build a coreboot image
477 with a SeaBIOS payload. If you don't know what this is
478 about, just leave it enabled.
479
480 See http://coreboot.org/Payloads for more information.
481
Stefan Reinauere50952f2011-04-15 03:34:05 +0000482config PAYLOAD_FILO
483 bool "FILO"
484 help
485 Select this option if you want to build a coreboot image
486 with a FILO payload. If you don't know what this is
487 about, just leave it enabled.
488
489 See http://coreboot.org/Payloads for more information.
490
Stefan Reinauerf1939bb2010-12-30 17:39:50 +0000491endchoice
492
493choice
494 prompt "SeaBIOS version"
495 default SEABIOS_STABLE
496 depends on PAYLOAD_SEABIOS
497
498config SEABIOS_STABLE
499 bool "stable"
500 help
501 Stable SeaBIOS version
502config SEABIOS_MASTER
503 bool "master"
504 help
505 Newest SeaBIOS version
Patrick Georgi0588d192009-08-12 15:00:51 +0000506endchoice
507
Stefan Reinauere50952f2011-04-15 03:34:05 +0000508choice
509 prompt "FILO version"
510 default FILO_STABLE
511 depends on PAYLOAD_FILO
512
513config FILO_STABLE
514 bool "0.6.0"
515 help
516 Stable FILO version
517config FILO_MASTER
518 bool "HEAD"
519 help
520 Newest FILO version
521endchoice
522
Stefan Reinauerbccbbe62010-12-19 21:20:14 +0000523config PAYLOAD_FILE
Cristi Magherusanb5034d42009-08-17 14:47:32 +0000524 string "Payload path and filename"
Patrick Georgi0588d192009-08-12 15:00:51 +0000525 depends on PAYLOAD_ELF
526 default "payload.elf"
527 help
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000528 The path and filename of the ELF executable file to use as payload.
Patrick Georgi0588d192009-08-12 15:00:51 +0000529
Stefan Reinauerf1939bb2010-12-30 17:39:50 +0000530config PAYLOAD_FILE
531 depends on PAYLOAD_SEABIOS
Stefan Reinaueraff6dc22012-01-21 10:34:22 -0800532 default "$(obj)/seabios/out/bios.bin.elf"
Stefan Reinauerf1939bb2010-12-30 17:39:50 +0000533
Stefan Reinauere50952f2011-04-15 03:34:05 +0000534config PAYLOAD_FILE
535 depends on PAYLOAD_FILO
536 default "payloads/external/FILO/filo/build/filo.elf"
537
Uwe Hermann168b11b2009-10-07 16:15:40 +0000538# TODO: Defined if no payload? Breaks build?
539config COMPRESSED_PAYLOAD_LZMA
540 bool "Use LZMA compression for payloads"
541 default y
Stefan Reinauere50952f2011-04-15 03:34:05 +0000542 depends on PAYLOAD_ELF || PAYLOAD_SEABIOS || PAYLOAD_FILO
Uwe Hermann168b11b2009-10-07 16:15:40 +0000543 help
544 In order to reduce the size payloads take up in the ROM chip
545 coreboot can compress them using the LZMA algorithm.
546
Myles Watson04000f42009-10-16 19:12:49 +0000547config COMPRESSED_PAYLOAD_NRV2B
Peter Stuged7b37b02009-10-17 03:00:04 +0000548 bool
Myles Watson04000f42009-10-16 19:12:49 +0000549 default n
550
Peter Stugea758ca22009-09-17 16:21:31 +0000551endmenu
552
553menu "VGA BIOS"
554
555config VGA_BIOS
556 bool "Add a VGA BIOS image"
557 help
558 Select this option if you have a VGA BIOS 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
Stefan Reinauerbccbbe62010-12-19 21:20:14 +0000564config VGA_BIOS_FILE
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000565 string "VGA BIOS path and filename"
566 depends on VGA_BIOS
567 default "vgabios.bin"
568 help
569 The path and filename of the file to use as VGA BIOS.
570
Stefan Reinauerbccbbe62010-12-19 21:20:14 +0000571config VGA_BIOS_ID
Uwe Hermann81b3c0a2009-10-30 12:56:59 +0000572 string "VGA device PCI IDs"
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000573 depends on VGA_BIOS
574 default "1106,3230"
575 help
Uwe Hermann168b11b2009-10-07 16:15:40 +0000576 The comma-separated PCI vendor and device ID that would associate
577 your VGA BIOS to your video card.
578
579 Example: 1106,3230
580
581 In the above example 1106 is the PCI vendor ID (in hex, but without
582 the "0x" prefix) and 3230 specifies the PCI device ID of the
583 video card (also in hex, without "0x" prefix).
Cristi Magherusan488c36c2009-08-17 14:46:13 +0000584
Stefan Reinauer800379f2010-03-01 08:34:19 +0000585config INTEL_MBI
586 bool "Add an MBI image"
587 depends on NORTHBRIDGE_INTEL_I82830
588 help
589 Select this option if you have an Intel MBI image that you would
590 like to add to your ROM.
591
592 You will be able to specify the location and file name of the
593 image later.
594
Stefan Reinauerbccbbe62010-12-19 21:20:14 +0000595config MBI_FILE
Stefan Reinauer800379f2010-03-01 08:34:19 +0000596 string "Intel MBI path and filename"
597 depends on INTEL_MBI
598 default "mbi.bin"
599 help
600 The path and filename of the file to use as VGA BIOS.
601
602endmenu
603
Stefan Reinauerc1efb902011-10-12 14:30:59 -0700604menu "Display"
605 depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE
606
607config FRAMEBUFFER_SET_VESA_MODE
608 prompt "Set VESA framebuffer mode"
609 bool
610 depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE
611 help
612 Set VESA framebuffer mode (needed for bootsplash)
613
Steve Goodrichf0269122012-05-18 11:18:47 -0600614choice
Stefan Reinauerc1efb902011-10-12 14:30:59 -0700615 prompt "VESA framebuffer video mode"
Steve Goodrichf0269122012-05-18 11:18:47 -0600616 default FRAMEBUFFER_VESA_MODE_117
Stefan Reinauerc1efb902011-10-12 14:30:59 -0700617 depends on FRAMEBUFFER_SET_VESA_MODE
618 help
619 This option sets the resolution used for the coreboot framebuffer (and
Steve Goodrichf0269122012-05-18 11:18:47 -0600620 bootsplash screen).
621
622config FRAMEBUFFER_VESA_MODE_100
623 bool "640x400 256-color"
624
625config FRAMEBUFFER_VESA_MODE_101
626 bool "640x480 256-color"
627
628config FRAMEBUFFER_VESA_MODE_102
629 bool "800x600 16-color"
630
631config FRAMEBUFFER_VESA_MODE_103
632 bool "800x600 256-color"
633
634config FRAMEBUFFER_VESA_MODE_104
635 bool "1024x768 16-color"
636
637config FRAMEBUFFER_VESA_MODE_105
638 bool "1024x7686 256-color"
639
640config FRAMEBUFFER_VESA_MODE_106
641 bool "1280x1024 16-color"
642
643config FRAMEBUFFER_VESA_MODE_107
644 bool "1280x1024 256-color"
645
646config FRAMEBUFFER_VESA_MODE_108
647 bool "80x60 text"
648
649config FRAMEBUFFER_VESA_MODE_109
650 bool "132x25 text"
651
652config FRAMEBUFFER_VESA_MODE_10A
653 bool "132x43 text"
654
655config FRAMEBUFFER_VESA_MODE_10B
656 bool "132x50 text"
657
658config FRAMEBUFFER_VESA_MODE_10C
659 bool "132x60 text"
660
661config FRAMEBUFFER_VESA_MODE_10D
662 bool "320x200 32k-color (1:5:5:5)"
663
664config FRAMEBUFFER_VESA_MODE_10E
665 bool "320x200 64k-color (5:6:5)"
666
667config FRAMEBUFFER_VESA_MODE_10F
668 bool "320x200 16.8M-color (8:8:8)"
669
670config FRAMEBUFFER_VESA_MODE_110
671 bool "640x480 32k-color (1:5:5:5)"
672
673config FRAMEBUFFER_VESA_MODE_111
674 bool "640x480 64k-color (5:6:5)"
675
676config FRAMEBUFFER_VESA_MODE_112
677 bool "640x480 16.8M-color (8:8:8)"
678
679config FRAMEBUFFER_VESA_MODE_113
680 bool "800x600 32k-color (1:5:5:5)"
681
682config FRAMEBUFFER_VESA_MODE_114
683 bool "800x600 64k-color (5:6:5)"
684
685config FRAMEBUFFER_VESA_MODE_115
686 bool "800x600 16.8M-color (8:8:8)"
687
688config FRAMEBUFFER_VESA_MODE_116
689 bool "1024x768 32k-color (1:5:5:5)"
690
691config FRAMEBUFFER_VESA_MODE_117
692 bool "1024x768 64k-color (5:6:5)"
693
694config FRAMEBUFFER_VESA_MODE_118
695 bool "1024x768 16.8M-color (8:8:8)"
696
697config FRAMEBUFFER_VESA_MODE_119
698 bool "1280x1024 32k-color (1:5:5:5)"
699
700config FRAMEBUFFER_VESA_MODE_11A
701 bool "1280x1024 64k-color (5:6:5)"
702
703config FRAMEBUFFER_VESA_MODE_11B
704 bool "1280x1024 16.8M-color (8:8:8)"
705
706endchoice
707
708# Map the config names to an integer (KB).
709config FRAMEBUFFER_VESA_MODE
710 hex
711 default 0x100 if FRAMEBUFFER_VESA_MODE_100
712 default 0x101 if FRAMEBUFFER_VESA_MODE_101
713 default 0x102 if FRAMEBUFFER_VESA_MODE_102
714 default 0x103 if FRAMEBUFFER_VESA_MODE_103
715 default 0x104 if FRAMEBUFFER_VESA_MODE_104
716 default 0x105 if FRAMEBUFFER_VESA_MODE_105
717 default 0x106 if FRAMEBUFFER_VESA_MODE_106
718 default 0x107 if FRAMEBUFFER_VESA_MODE_107
719 default 0x108 if FRAMEBUFFER_VESA_MODE_108
720 default 0x109 if FRAMEBUFFER_VESA_MODE_109
721 default 0x10A if FRAMEBUFFER_VESA_MODE_10A
722 default 0x10B if FRAMEBUFFER_VESA_MODE_10B
723 default 0x10C if FRAMEBUFFER_VESA_MODE_10C
724 default 0x10D if FRAMEBUFFER_VESA_MODE_10D
725 default 0x10E if FRAMEBUFFER_VESA_MODE_10E
726 default 0x10F if FRAMEBUFFER_VESA_MODE_10F
727 default 0x110 if FRAMEBUFFER_VESA_MODE_110
728 default 0x111 if FRAMEBUFFER_VESA_MODE_111
729 default 0x112 if FRAMEBUFFER_VESA_MODE_112
730 default 0x113 if FRAMEBUFFER_VESA_MODE_113
731 default 0x114 if FRAMEBUFFER_VESA_MODE_114
732 default 0x115 if FRAMEBUFFER_VESA_MODE_115
733 default 0x116 if FRAMEBUFFER_VESA_MODE_116
734 default 0x117 if FRAMEBUFFER_VESA_MODE_117
735 default 0x118 if FRAMEBUFFER_VESA_MODE_118
736 default 0x119 if FRAMEBUFFER_VESA_MODE_119
737 default 0x11A if FRAMEBUFFER_VESA_MODE_11A
738 default 0x11B if FRAMEBUFFER_VESA_MODE_11B
Stefan Reinauerc1efb902011-10-12 14:30:59 -0700739
740config FRAMEBUFFER_KEEP_VESA_MODE
741 prompt "Keep VESA framebuffer"
742 bool
743 depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE
744 help
745 This option keeps the framebuffer mode set after coreboot finishes
746 execution. If this option is enabled, coreboot will pass a
747 framebuffer entry in its coreboot table and the payload will need a
748 framebuffer driver. If this option is disabled, coreboot will switch
749 back to text mode before handing control to a payload.
Stefan Reinauer800379f2010-03-01 08:34:19 +0000750
751config BOOTSPLASH
752 prompt "Show graphical bootsplash"
753 bool
Stefan Reinauerc1efb902011-10-12 14:30:59 -0700754 depends on FRAMEBUFFER_SET_VESA_MODE
Stefan Reinauer800379f2010-03-01 08:34:19 +0000755 help
756 This option shows a graphical bootsplash screen. The grapics are
757 loaded from the CBFS file bootsplash.jpg.
758
Stefan Reinauerbccbbe62010-12-19 21:20:14 +0000759config BOOTSPLASH_FILE
Stefan Reinauer800379f2010-03-01 08:34:19 +0000760 string "Bootsplash path and filename"
761 depends on BOOTSPLASH
762 default "bootsplash.jpg"
763 help
Stefan Reinauer14e22772010-04-27 06:56:47 +0000764 The path and filename of the file to use as graphical bootsplash
765 screen. The file format has to be jpg.
Patrick Georgi0588d192009-08-12 15:00:51 +0000766endmenu
767
Uwe Hermann168b11b2009-10-07 16:15:40 +0000768menu "Debugging"
769
770# TODO: Better help text and detailed instructions.
Patrick Georgi0588d192009-08-12 15:00:51 +0000771config GDB_STUB
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000772 bool "GDB debugging support"
Rudolf Marek65888022012-03-25 20:51:16 +0200773 default n
Patrick Georgi0588d192009-08-12 15:00:51 +0000774 help
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +0000775 If enabled, you will be able to set breakpoints for gdb debugging.
Stefan Reinauer8677a232010-12-11 20:33:41 +0000776 See src/arch/x86/lib/c_start.S for details.
Patrick Georgi0588d192009-08-12 15:00:51 +0000777
Denis 'GNUtoo' Cariklie4cece02012-06-22 15:56:37 +0200778config GDB_WAIT
779 bool "Wait for a GDB connection"
780 default n
781 depends on GDB_STUB
782 help
783 If enabled, coreboot will wait for a GDB connection.
784
Stefan Reinauerfe422182012-05-02 16:33:18 -0700785config DEBUG_CBFS
786 bool "Output verbose CBFS debug messages"
787 default n
788 depends on TPM
789 help
790 This option enables additional CBFS related debug messages.
791
Jens Rottmann0d11f2d2010-08-26 12:46:02 +0000792config HAVE_DEBUG_RAM_SETUP
793 def_bool n
794
Uwe Hermann01ce6012010-03-05 10:03:50 +0000795config DEBUG_RAM_SETUP
796 bool "Output verbose RAM init debug messages"
797 default n
Jens Rottmann0d11f2d2010-08-26 12:46:02 +0000798 depends on HAVE_DEBUG_RAM_SETUP
Uwe Hermann01ce6012010-03-05 10:03:50 +0000799 help
800 This option enables additional RAM init related debug messages.
801 It is recommended to enable this when debugging issues on your
802 board which might be RAM init related.
803
804 Note: This option will increase the size of the coreboot image.
805
806 If unsure, say N.
807
Patrick Georgie82618d2010-10-01 14:50:12 +0000808config HAVE_DEBUG_CAR
809 def_bool n
810
Peter Stuge5015f792010-11-10 02:00:32 +0000811config DEBUG_CAR
812 def_bool n
813 depends on HAVE_DEBUG_CAR
814
815if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8
Uwe Hermanna953f372010-11-10 00:14:32 +0000816# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
817# printk(BIOS_DEBUG, ...) calls.
Patrick Georgie82618d2010-10-01 14:50:12 +0000818config DEBUG_CAR
819 bool "Output verbose Cache-as-RAM debug messages"
820 default n
Peter Stuge5015f792010-11-10 02:00:32 +0000821 depends on HAVE_DEBUG_CAR
Patrick Georgie82618d2010-10-01 14:50:12 +0000822 help
823 This option enables additional CAR related debug messages.
Peter Stuge5015f792010-11-10 02:00:32 +0000824endif
Patrick Georgie82618d2010-10-01 14:50:12 +0000825
Myles Watson80e914ff2010-06-01 19:25:31 +0000826config DEBUG_PIRQ
827 bool "Check PIRQ table consistency"
828 default n
829 depends on GENERATE_PIRQ_TABLE
830 help
831 If unsure, say N.
832
Jens Rottmann0d11f2d2010-08-26 12:46:02 +0000833config HAVE_DEBUG_SMBUS
834 def_bool n
835
Uwe Hermann01ce6012010-03-05 10:03:50 +0000836config DEBUG_SMBUS
837 bool "Output verbose SMBus debug messages"
838 default n
Jens Rottmann0d11f2d2010-08-26 12:46:02 +0000839 depends on HAVE_DEBUG_SMBUS
Uwe Hermann01ce6012010-03-05 10:03:50 +0000840 help
841 This option enables additional SMBus (and SPD) debug messages.
842
843 Note: This option will increase the size of the coreboot image.
844
845 If unsure, say N.
846
847config DEBUG_SMI
848 bool "Output verbose SMI debug messages"
849 default n
850 depends on HAVE_SMI_HANDLER
851 help
852 This option enables additional SMI related debug messages.
853
854 Note: This option will increase the size of the coreboot image.
855
856 If unsure, say N.
857
Stefan Reinauerbc0f7a62010-08-01 15:41:14 +0000858config DEBUG_SMM_RELOCATION
859 bool "Debug SMM relocation code"
860 default n
861 depends on HAVE_SMI_HANDLER
862 help
863 This option enables additional SMM handler relocation related
864 debug messages.
865
866 Note: This option will increase the size of the coreboot image.
867
868 If unsure, say N.
869
Peter Stuge5015f792010-11-10 02:00:32 +0000870config DEBUG_MALLOC
871 def_bool n
872
Uwe Hermanna953f372010-11-10 00:14:32 +0000873# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
874# printk(BIOS_DEBUG, ...) calls.
Peter Stuge5015f792010-11-10 02:00:32 +0000875if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8
Uwe Hermanna953f372010-11-10 00:14:32 +0000876config DEBUG_MALLOC
877 bool "Output verbose malloc debug messages"
878 default n
Uwe Hermanna953f372010-11-10 00:14:32 +0000879 help
880 This option enables additional malloc related debug messages.
881
882 Note: This option will increase the size of the coreboot image.
883
884 If unsure, say N.
Peter Stuge5015f792010-11-10 02:00:32 +0000885endif
Uwe Hermanna953f372010-11-10 00:14:32 +0000886
Cristian Măgherușan-Stanciu9f52ea42011-07-02 00:44:39 +0300887config DEBUG_ACPI
888 def_bool n
889
890# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
891# printk(BIOS_DEBUG, ...) calls.
892if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8
893config DEBUG_ACPI
894 bool "Output verbose ACPI debug messages"
895 default n
896 help
897 This option enables additional ACPI related debug messages.
898
899 Note: This option will slightly increase the size of the coreboot image.
900
901 If unsure, say N.
902endif
903
Peter Stuge5015f792010-11-10 02:00:32 +0000904config REALMODE_DEBUG
905 def_bool n
906 depends on PCI_OPTION_ROM_RUN_REALMODE
907
908if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8
Uwe Hermanna953f372010-11-10 00:14:32 +0000909# Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional
910# printk(BIOS_DEBUG, ...) calls.
Myles Watson6c9bc012010-09-07 22:30:15 +0000911config REALMODE_DEBUG
912 bool "Enable debug messages for option ROM execution"
913 default n
Peter Stuge5015f792010-11-10 02:00:32 +0000914 depends on PCI_OPTION_ROM_RUN_REALMODE
Myles Watson6c9bc012010-09-07 22:30:15 +0000915 help
916 This option enables additional x86emu related debug messages.
917
918 Note: This option will increase the time to emulate a ROM.
919
920 If unsure, say N.
Peter Stuge5015f792010-11-10 02:00:32 +0000921endif
Myles Watson6c9bc012010-09-07 22:30:15 +0000922
Uwe Hermann01ce6012010-03-05 10:03:50 +0000923config X86EMU_DEBUG
924 bool "Output verbose x86emu debug messages"
925 default n
926 depends on PCI_OPTION_ROM_RUN_YABEL
927 help
928 This option enables additional x86emu related debug messages.
929
930 Note: This option will increase the size of the coreboot image.
931
932 If unsure, say N.
933
934config X86EMU_DEBUG_JMP
935 bool "Trace JMP/RETF"
936 default n
937 depends on X86EMU_DEBUG
938 help
939 Print information about JMP and RETF opcodes from x86emu.
940
941 Note: This option will increase the size of the coreboot image.
942
943 If unsure, say N.
944
945config X86EMU_DEBUG_TRACE
946 bool "Trace all opcodes"
947 default n
948 depends on X86EMU_DEBUG
949 help
950 Print _all_ opcodes that are executed by x86emu.
Stefan Reinauer14e22772010-04-27 06:56:47 +0000951
Uwe Hermann01ce6012010-03-05 10:03:50 +0000952 WARNING: This will produce a LOT of output and take a long time.
953
954 Note: This option will increase the size of the coreboot image.
955
956 If unsure, say N.
957
958config X86EMU_DEBUG_PNP
959 bool "Log Plug&Play accesses"
960 default n
961 depends on X86EMU_DEBUG
962 help
963 Print Plug And Play accesses made by option ROMs.
964
965 Note: This option will increase the size of the coreboot image.
966
967 If unsure, say N.
968
969config X86EMU_DEBUG_DISK
970 bool "Log Disk I/O"
971 default n
972 depends on X86EMU_DEBUG
973 help
974 Print Disk I/O related messages.
975
976 Note: This option will increase the size of the coreboot image.
977
978 If unsure, say N.
979
980config X86EMU_DEBUG_PMM
981 bool "Log PMM"
982 default n
983 depends on X86EMU_DEBUG
984 help
985 Print messages related to POST Memory Manager (PMM).
986
987 Note: This option will increase the size of the coreboot image.
988
989 If unsure, say N.
990
991
992config X86EMU_DEBUG_VBE
993 bool "Debug VESA BIOS Extensions"
994 default n
995 depends on X86EMU_DEBUG
996 help
997 Print messages related to VESA BIOS Extension (VBE) functions.
998
999 Note: This option will increase the size of the coreboot image.
1000
1001 If unsure, say N.
1002
1003config X86EMU_DEBUG_INT10
1004 bool "Redirect INT10 output to console"
1005 default n
1006 depends on X86EMU_DEBUG
1007 help
1008 Let INT10 (i.e. character output) calls print messages to debug output.
1009
1010 Note: This option will increase the size of the coreboot image.
1011
1012 If unsure, say N.
1013
1014config X86EMU_DEBUG_INTERRUPTS
1015 bool "Log intXX calls"
1016 default n
1017 depends on X86EMU_DEBUG
1018 help
1019 Print messages related to interrupt handling.
1020
1021 Note: This option will increase the size of the coreboot image.
1022
1023 If unsure, say N.
1024
1025config X86EMU_DEBUG_CHECK_VMEM_ACCESS
1026 bool "Log special memory accesses"
1027 default n
1028 depends on X86EMU_DEBUG
1029 help
1030 Print messages related to accesses to certain areas of the virtual
1031 memory (e.g. BDA (BIOS Data Area) or interrupt vectors)
1032
1033 Note: This option will increase the size of the coreboot image.
1034
1035 If unsure, say N.
1036
1037config X86EMU_DEBUG_MEM
1038 bool "Log all memory accesses"
1039 default n
1040 depends on X86EMU_DEBUG
1041 help
1042 Print memory accesses made by option ROM.
1043 Note: This also includes accesses to fetch instructions.
1044
1045 Note: This option will increase the size of the coreboot image.
1046
1047 If unsure, say N.
1048
1049config X86EMU_DEBUG_IO
1050 bool "Log IO accesses"
1051 default n
1052 depends on X86EMU_DEBUG
1053 help
1054 Print I/O accesses made by option ROM.
1055
1056 Note: This option will increase the size of the coreboot image.
1057
1058 If unsure, say N.
1059
Stefan Reinauerdfb098d2011-11-17 12:50:54 -08001060config DEBUG_TPM
1061 bool "Output verbose TPM debug messages"
1062 default n
1063 depends on TPM
1064 help
1065 This option enables additional TPM related debug messages.
1066
Stefan Reinauer1c56d9b2012-05-10 11:27:32 -07001067config DEBUG_SPI_FLASH
1068 bool "Output verbose SPI flash debug messages"
1069 default n
1070 depends on SPI_FLASH
1071 help
1072 This option enables additional SPI flash related debug messages.
1073
Stefan Reinauer8e073822012-04-04 00:07:22 +02001074if SOUTHBRIDGE_INTEL_BD82X6X && DEFAULT_CONSOLE_LOGLEVEL_8
1075# Only visible with the right southbridge and loglevel.
1076config DEBUG_INTEL_ME
1077 bool "Verbose logging for Intel Management Engine"
1078 default n
1079 help
1080 Enable verbose logging for Intel Management Engine driver that
1081 is present on Intel 6-series chipsets.
1082endif
1083
Stefan Reinauer5c503922010-03-13 22:07:15 +00001084config LLSHELL
1085 bool "Built-in low-level shell"
1086 default n
1087 help
1088 If enabled, you will have a low level shell to examine your machine.
1089 Put llshell() in your (romstage) code to start the shell.
Stefan Reinauer8677a232010-12-11 20:33:41 +00001090 See src/arch/x86/llshell/llshell.inc for details.
Stefan Reinauer5c503922010-03-13 22:07:15 +00001091
Rudolf Marek7f0e9302011-09-02 23:23:41 +02001092config TRACE
1093 bool "Trace function calls"
1094 default n
1095 help
1096 If enabled, every function will print information to console once
1097 the function is entered. The syntax is ~0xaaaabbbb(0xccccdddd)
1098 the 0xaaaabbbb is the actual function and 0xccccdddd is EIP
1099 of calling function. Please note some printk releated functions
1100 are omitted from trace to have good looking console dumps.
Uwe Hermann168b11b2009-10-07 16:15:40 +00001101endmenu
1102
Myles Watson8f74c582009-10-20 16:10:04 +00001103config LIFT_BSP_APIC_ID
1104 bool
1105 default n
Myles Watsond73c1b52009-10-26 15:14:07 +00001106
1107# These probably belong somewhere else, but they are needed somewhere.
1108config AP_CODE_IN_CAR
1109 bool
1110 default n
1111
Jonathan Kollasche5b75072010-10-07 23:02:06 +00001112config RAMINIT_SYSINFO
1113 bool
1114 default n
1115
Myles Watsond73c1b52009-10-26 15:14:07 +00001116config ENABLE_APIC_EXT_ID
1117 bool
1118 default n
Myles Watson2e672732009-11-12 16:38:03 +00001119
1120config WARNINGS_ARE_ERRORS
1121 bool
Stefan Reinauer6f57b512010-07-08 16:41:05 +00001122 default y
Patrick Georgi436f99b2009-11-27 16:55:13 +00001123
Peter Stuge51eafde2010-10-13 06:23:02 +00001124# The four POWER_BUTTON_DEFAULT_ENABLE, POWER_BUTTON_DEFAULT_DISABLE,
1125# POWER_BUTTON_FORCE_ENABLE and POWER_BUTTON_FORCE_DISABLE options are
1126# mutually exclusive. One of these options must be selected in the
1127# mainboard Kconfig if the chipset supports enabling and disabling of
1128# the power button. Chipset code uses the ENABLE_POWER_BUTTON option set
1129# in mainboard/Kconfig to know if the button should be enabled or not.
1130
1131config POWER_BUTTON_DEFAULT_ENABLE
1132 def_bool n
1133 help
1134 Select when the board has a power button which can optionally be
1135 disabled by the user.
1136
1137config POWER_BUTTON_DEFAULT_DISABLE
1138 def_bool n
1139 help
1140 Select when the board has a power button which can optionally be
1141 enabled by the user, e.g. when the board ships with a jumper over
1142 the power switch contacts.
1143
1144config POWER_BUTTON_FORCE_ENABLE
1145 def_bool n
1146 help
1147 Select when the board requires that the power button is always
1148 enabled.
1149
1150config POWER_BUTTON_FORCE_DISABLE
1151 def_bool n
1152 help
1153 Select when the board requires that the power button is always
1154 disabled, e.g. when it has been hardwired to ground.
1155
1156config POWER_BUTTON_IS_OPTIONAL
1157 bool
1158 default y if POWER_BUTTON_DEFAULT_ENABLE || POWER_BUTTON_DEFAULT_DISABLE
1159 default n if !(POWER_BUTTON_DEFAULT_ENABLE || POWER_BUTTON_DEFAULT_DISABLE)
1160 help
1161 Internal option that controls ENABLE_POWER_BUTTON visibility.
1162
Patrick Georgicc669262010-03-14 21:31:05 +00001163source src/Kconfig.deprecated_options
Stefan Reinauerb89a7612012-03-30 01:01:51 +02001164source src/vendorcode/Kconfig