2 ## This file is part of the coreboot project.
4 ## Copyright (C) 2009-2010 coresystems GmbH
6 ## 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.
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.
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
20 mainmenu "Coreboot Configuration"
27 This allows you to select certain advanced configuration options.
29 Warning: Only enable this option if you really know what you are
30 doing! You have been warned!
33 string "Local version string"
35 Append an extra string to the end of the coreboot version.
37 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.
43 string "CBFS prefix to use"
46 Select the prefix to all files put into the image. It's "fallback"
47 by default, "normal" is a common alternative.
51 source src/mainboard/Kconfig
52 source src/arch/i386/Kconfig
57 source src/cpu/Kconfig
59 source src/northbridge/Kconfig
61 source src/southbridge/Kconfig
63 source src/superio/Kconfig
65 source src/devices/Kconfig
69 config PCI_BUS_SEGN_BITS
73 config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
77 config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
93 config LB_CKS_RANGE_START
97 config LB_CKS_RANGE_END
121 config USE_PRINTK_IN_CAR
125 config USE_OPTION_TABLE
133 config MMCONF_SUPPORT_DEFAULT
137 config MMCONF_SUPPORT
148 source src/console/Kconfig
150 config HAVE_ACPI_RESUME
154 config ACPI_SSDTX_NUM
158 config HAVE_FALLBACK_BOOT
162 config USE_FALLBACK_IMAGE
166 config HAVE_FAILOVER_BOOT
170 config USE_FAILOVER_IMAGE
174 config HAVE_HARD_RESET
176 default y if BOARD_HAS_HARD_RESET
179 This variable specifies whether a given board has a hard_reset
180 function, no matter if it's provided by board code or chipset code.
182 config BOARD_HAS_HARD_RESET
186 This variable specifies whether a given board has a reset.c
187 file containing a hard_reset() function.
189 config BOARD_HAS_FADT
193 This variable specifies whether a given board has a board-local
194 FADT in fadt.c. Long-term, those should be moved to appropriate
195 chipset components (eg. southbridge)
197 config HAVE_BUS_CONFIG
201 This variable specifies whether a given board has a get_bus_conf.c
202 file containing bus configuration data.
204 config HAVE_INIT_TIMER
206 default n if UDELAY_IO
209 config HAVE_MAINBOARD_RESOURCES
213 config HAVE_OPTION_TABLE
217 This variable specifies whether a given board has a cmos.layout
218 file containing NVRAM/CMOS bit definitions.
219 It defaults to 'y' but can be changed to 'n' in mainboard/*/Kconfig.
225 config HAVE_SMI_HANDLER
229 config PCI_IO_CFG_EXT
237 # TODO: Can probably be removed once all chipsets have kconfig options for it.
242 config USE_WATCHDOG_ON_BOOT
250 Build board-specific VGA code.
256 Enable Unified Memory Architecture for graphics.
263 #TODO Remove this option or make it useful.
264 config HAVE_LOW_TABLES
268 This Option is unused in the code. Since two boards try to set it to
269 'n', they may be broken. We either need to make the option useful or
270 get rid of it. The broken boards are:
274 config HAVE_HIGH_TABLES
278 This variable specifies whether a given northbridge has high table
280 It is set in northbridge/*/Kconfig.
281 Whether or not the high tables are actually written by coreboot is
282 configurable by the user via WRITE_HIGH_TABLES.
284 config HAVE_ACPI_TABLES
287 This variable specifies whether a given board has ACPI table support.
288 It is usually set in mainboard/*/Kconfig.
289 Whether or not the ACPI tables are actually generated by coreboot
290 is configurable by the user via GENERATE_ACPI_TABLES.
295 This variable specifies whether a given board has MP table support.
296 It is usually set in mainboard/*/Kconfig.
297 Whether or not the MP table is actually generated by coreboot
298 is configurable by the user via GENERATE_MP_TABLE.
300 config HAVE_PIRQ_TABLE
303 This variable specifies whether a given board has PIRQ table support.
304 It is usually set in mainboard/*/Kconfig.
305 Whether or not the PIRQ table is actually generated by coreboot
306 is configurable by the user via GENERATE_PIRQ_TABLE.
308 #These Options are here to avoid "undefined" warnings.
309 #The actual selection and help texts are in the following menu.
311 config GENERATE_ACPI_TABLES
313 default HAVE_ACPI_TABLES
315 config GENERATE_MP_TABLE
317 default HAVE_MP_TABLE
319 config GENERATE_PIRQ_TABLE
321 default HAVE_PIRQ_TABLE
323 config WRITE_HIGH_TABLES
325 default HAVE_HIGH_TABLES
329 config WRITE_HIGH_TABLES
330 bool "Write 'high' tables to avoid being overwritten in F segment"
331 depends on HAVE_HIGH_TABLES
335 bool "Generate Multiboot tables (for GRUB2)"
338 config GENERATE_ACPI_TABLES
339 depends on HAVE_ACPI_TABLES
340 bool "Generate ACPI tables"
343 Generate ACPI tables for this board.
347 config GENERATE_MP_TABLE
348 depends on HAVE_MP_TABLE
349 bool "Generate an MP table"
352 Generate an MP table (conforming to the Intel MultiProcessor
353 specification 1.4) for this board.
357 config GENERATE_PIRQ_TABLE
358 depends on HAVE_PIRQ_TABLE
359 bool "Generate a PIRQ table"
362 Generate a PIRQ table for this board.
371 prompt "Add a payload"
377 Select this option if you want to create an "empty" coreboot
378 ROM image for a certain mainboard, i.e. a coreboot ROM image
379 which does not yet contain a payload.
381 For such an image to be useful, you have to use 'cbfstool'
382 to add a payload to the ROM image later.
385 bool "An ELF executable payload"
387 Select this option if you have a payload image (an ELF file)
388 which coreboot should run as soon as the basic hardware
389 initialization is completed.
391 You will be able to specify the location and file name of the
396 config FALLBACK_PAYLOAD_FILE
397 string "Payload path and filename"
398 depends on PAYLOAD_ELF
399 default "payload.elf"
401 The path and filename of the ELF executable file to use as payload.
403 # TODO: Defined if no payload? Breaks build?
404 config COMPRESSED_PAYLOAD_LZMA
405 bool "Use LZMA compression for payloads"
407 depends on PAYLOAD_ELF
409 In order to reduce the size payloads take up in the ROM chip
410 coreboot can compress them using the LZMA algorithm.
412 config COMPRESSED_PAYLOAD_NRV2B
421 bool "Add a VGA BIOS image"
423 Select this option if you have a VGA BIOS image that you would
424 like to add to your ROM.
426 You will be able to specify the location and file name of the
429 config FALLBACK_VGA_BIOS_FILE
430 string "VGA BIOS path and filename"
432 default "vgabios.bin"
434 The path and filename of the file to use as VGA BIOS.
436 config FALLBACK_VGA_BIOS_ID
437 string "VGA device PCI IDs"
441 The comma-separated PCI vendor and device ID that would associate
442 your VGA BIOS to your video card.
446 In the above example 1106 is the PCI vendor ID (in hex, but without
447 the "0x" prefix) and 3230 specifies the PCI device ID of the
448 video card (also in hex, without "0x" prefix).
451 bool "Add an MBI image"
452 depends on NORTHBRIDGE_INTEL_I82830
454 Select this option if you have an Intel MBI image that you would
455 like to add to your ROM.
457 You will be able to specify the location and file name of the
460 config FALLBACK_MBI_FILE
461 string "Intel MBI path and filename"
465 The path and filename of the file to use as VGA BIOS.
470 depends on PCI_OPTION_ROM_RUN_YABEL
473 prompt "Show graphical bootsplash"
475 depends on PCI_OPTION_ROM_RUN_YABEL
477 This option shows a graphical bootsplash screen. The grapics are
478 loaded from the CBFS file bootsplash.jpg.
480 config FALLBACK_BOOTSPLASH_FILE
481 string "Bootsplash path and filename"
482 depends on BOOTSPLASH
483 default "bootsplash.jpg"
485 The path and filename of the file to use as graphical bootsplash
486 screen. The file format has to be jpg.
488 # TODO: Turn this into a "choice".
489 config FRAMEBUFFER_VESA_MODE
490 prompt "VESA framebuffer video mode"
493 depends on BOOTSPLASH
495 This option sets the resolution used for the coreboot framebuffer and
496 bootsplash screen. Set to 0x117 for 1024x768x16. A diligent soul will
497 some day make this a "choice".
499 config COREBOOT_KEEP_FRAMEBUFFER
500 prompt "Keep VESA framebuffer"
502 depends on BOOTSPLASH
504 This option keeps the framebuffer mode set after coreboot finishes
505 execution. If this option is enabled, coreboot will pass a
506 framebuffer entry in its coreboot table and the payload will need a
507 framebuffer driver. If this option is disabled, coreboot will switch
508 back to text mode before handing control to a payload.
514 # TODO: Better help text and detailed instructions.
516 bool "GDB debugging support"
519 If enabled, you will be able to set breakpoints for gdb debugging.
520 See src/arch/i386/lib/c_start.S for details.
524 config LIFT_BSP_APIC_ID
528 # These probably belong somewhere else, but they are needed somewhere.
529 config AP_CODE_IN_CAR
537 config ENABLE_APIC_EXT_ID
541 config WARNINGS_ARE_ERRORS
545 config ID_SECTION_OFFSET