Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 1 | ## |
Stefan Reinauer | 16f515a | 2010-01-20 18:44:30 +0000 | [diff] [blame] | 2 | ## This file is part of the coreboot project. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 3 | ## |
Alexandru Gagniuc | 70c660f | 2012-08-23 02:32:58 -0500 | [diff] [blame] | 4 | ## Copyright (C) 2012 Alexandru Gagniuc <mr.nuke.me@gmail.com> |
Stefan Reinauer | 16f515a | 2010-01-20 18:44:30 +0000 | [diff] [blame] | 5 | ## Copyright (C) 2009-2010 coresystems GmbH |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 6 | ## |
Stefan Reinauer | 16f515a | 2010-01-20 18:44:30 +0000 | [diff] [blame] | 7 | ## This program is free software; you can redistribute it and/or modify |
| 8 | ## it under the terms of the GNU General Public License as published by |
| 9 | ## the Free Software Foundation; version 2 of the License. |
| 10 | ## |
| 11 | ## This program is distributed in the hope that it will be useful, |
| 12 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ## GNU General Public License for more details. |
| 15 | ## |
| 16 | ## You should have received a copy of the GNU General Public License |
| 17 | ## along with this program; if not, write to the Free Software |
| 18 | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 19 | ## |
| 20 | |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 21 | mainmenu "coreboot configuration" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 22 | |
Uwe Hermann | c04be93 | 2009-10-05 13:55:28 +0000 | [diff] [blame] | 23 | menu "General setup" |
| 24 | |
Uwe Hermann | a29ad5c | 2009-10-18 18:35:50 +0000 | [diff] [blame] | 25 | config EXPERT |
| 26 | bool "Expert mode" |
| 27 | help |
| 28 | This allows you to select certain advanced configuration options. |
| 29 | |
| 30 | Warning: Only enable this option if you really know what you are |
| 31 | doing! You have been warned! |
| 32 | |
Uwe Hermann | c04be93 | 2009-10-05 13:55:28 +0000 | [diff] [blame] | 33 | config LOCALVERSION |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 34 | string "Local version string" |
Uwe Hermann | c04be93 | 2009-10-05 13:55:28 +0000 | [diff] [blame] | 35 | help |
| 36 | Append an extra string to the end of the coreboot version. |
| 37 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 38 | This can be useful if, for instance, you want to append the |
| 39 | respective board's hostname or some other identifying string to |
| 40 | the coreboot version number, so that you can easily distinguish |
| 41 | boot logs of different boards from each other. |
| 42 | |
Patrick Georgi | 4b8a241 | 2010-02-09 19:35:16 +0000 | [diff] [blame] | 43 | config CBFS_PREFIX |
| 44 | string "CBFS prefix to use" |
| 45 | default "fallback" |
| 46 | help |
| 47 | Select the prefix to all files put into the image. It's "fallback" |
| 48 | by default, "normal" is a common alternative. |
| 49 | |
Patrick Georgi | 23d89cc | 2010-03-16 01:17:19 +0000 | [diff] [blame] | 50 | choice |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 51 | prompt "Compiler to use" |
Patrick Georgi | 23d89cc | 2010-03-16 01:17:19 +0000 | [diff] [blame] | 52 | default COMPILER_GCC |
| 53 | help |
| 54 | This option allows you to select the compiler used for building |
| 55 | coreboot. |
| 56 | |
| 57 | config COMPILER_GCC |
| 58 | bool "GCC" |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 59 | help |
| 60 | Use the GNU Compiler Collection (GCC) to build coreboot. |
| 61 | |
| 62 | For details see http://gcc.gnu.org. |
| 63 | |
Patrick Georgi | 23d89cc | 2010-03-16 01:17:19 +0000 | [diff] [blame] | 64 | config COMPILER_LLVM_CLANG |
| 65 | bool "LLVM/clang" |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 66 | help |
| 67 | Use LLVM/clang to build coreboot. |
| 68 | |
| 69 | For details see http://clang.llvm.org. |
| 70 | |
Patrick Georgi | 23d89cc | 2010-03-16 01:17:19 +0000 | [diff] [blame] | 71 | endchoice |
| 72 | |
Patrick Georgi | 020f51f | 2010-03-14 21:25:03 +0000 | [diff] [blame] | 73 | config SCANBUILD_ENABLE |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 74 | bool "Build with scan-build for static code analysis" |
Patrick Georgi | 020f51f | 2010-03-14 21:25:03 +0000 | [diff] [blame] | 75 | default n |
| 76 | help |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 77 | Changes the build process to use scan-build (a utility for |
| 78 | running the clang static code analyzer from the command line). |
| 79 | |
| 80 | Requires the scan-build utility in your system $PATH. |
| 81 | |
| 82 | For details see http://clang-analyzer.llvm.org/scan-build.html. |
Patrick Georgi | 020f51f | 2010-03-14 21:25:03 +0000 | [diff] [blame] | 83 | |
| 84 | config SCANBUILD_REPORT_LOCATION |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 85 | string "Directory for the scan-build report(s)" |
Patrick Georgi | 020f51f | 2010-03-14 21:25:03 +0000 | [diff] [blame] | 86 | default "" |
| 87 | depends on SCANBUILD_ENABLE |
| 88 | help |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 89 | Directory where the scan-build reports should be stored in. The |
| 90 | reports are stored in subdirectories of the form 'yyyy-mm-dd-*' |
| 91 | in the specified directory. |
| 92 | |
| 93 | If this setting is left empty, the coreboot top-level directory |
| 94 | will be used to store the report subdirectories. |
Patrick Georgi | 020f51f | 2010-03-14 21:25:03 +0000 | [diff] [blame] | 95 | |
Patrick Georgi | 516a2a7 | 2010-03-25 21:45:25 +0000 | [diff] [blame] | 96 | config CCACHE |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 97 | bool "Use ccache to speed up (re)compilation" |
Patrick Georgi | 516a2a7 | 2010-03-25 21:45:25 +0000 | [diff] [blame] | 98 | default n |
| 99 | help |
| 100 | Enables the use of ccache for faster builds. |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 101 | |
| 102 | Requires the ccache utility in your system $PATH. |
| 103 | |
| 104 | For details see https://ccache.samba.org. |
Patrick Georgi | 516a2a7 | 2010-03-25 21:45:25 +0000 | [diff] [blame] | 105 | |
Stefan Reinauer | 9bf7810 | 2010-08-09 13:28:18 +0000 | [diff] [blame] | 106 | config SCONFIG_GENPARSER |
| 107 | bool "Generate SCONFIG parser using flex and bison" |
| 108 | default n |
| 109 | depends on EXPERT |
| 110 | help |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 111 | Enable this option if you are working on the sconfig device tree |
| 112 | parser and made changes to sconfig.l and sconfig.y. |
| 113 | |
Stefan Reinauer | 9bf7810 | 2010-08-09 13:28:18 +0000 | [diff] [blame] | 114 | Otherwise, say N. |
| 115 | |
Joe Korty | 6d77252 | 2010-05-19 18:41:15 +0000 | [diff] [blame] | 116 | config USE_OPTION_TABLE |
| 117 | bool "Use CMOS for configuration values" |
| 118 | default n |
Edwin Beasant | eb50c7d | 2010-07-06 21:05:04 +0000 | [diff] [blame] | 119 | depends on HAVE_OPTION_TABLE |
Joe Korty | 6d77252 | 2010-05-19 18:41:15 +0000 | [diff] [blame] | 120 | help |
| 121 | Enable this option if coreboot shall read options from the "CMOS" |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 122 | NVRAM instead of using hard-coded values. |
Joe Korty | 6d77252 | 2010-05-19 18:41:15 +0000 | [diff] [blame] | 123 | |
Sven Schnelle | 8eee19d | 2011-05-02 19:53:04 +0000 | [diff] [blame] | 124 | config COMPRESS_RAMSTAGE |
| 125 | bool "Compress ramstage with LZMA" |
| 126 | default y |
| 127 | help |
| 128 | Compress ramstage to save memory in the flash image. Note |
| 129 | that decompression might slow down booting if the boot flash |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 130 | is connected through a slow link (i.e. SPI). |
Sven Schnelle | 8eee19d | 2011-05-02 19:53:04 +0000 | [diff] [blame] | 131 | |
Cristian Măgherușan-Stanciu | d367b00 | 2011-06-19 03:03:28 +0200 | [diff] [blame] | 132 | config INCLUDE_CONFIG_FILE |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 133 | bool "Include the coreboot .config file into the ROM image" |
Cristian Măgherușan-Stanciu | d367b00 | 2011-06-19 03:03:28 +0200 | [diff] [blame] | 134 | default y |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 135 | help |
| 136 | Include the .config file that was used to compile coreboot |
| 137 | in the (CBFS) ROM image. This is useful if you want to know which |
| 138 | options were used to build a specific coreboot.rom image. |
| 139 | |
| 140 | Saying Y here will increase the image size by 2-3kB. |
| 141 | |
| 142 | You can use the following command to easily list the options: |
| 143 | |
| 144 | grep -a CONFIG_ coreboot.rom |
| 145 | |
| 146 | Alternatively, you can also use cbfstool to print the image |
| 147 | contents (including the raw 'config' item we're looking for). |
| 148 | |
| 149 | Example: |
| 150 | |
| 151 | $ cbfstool coreboot.rom print |
| 152 | coreboot.rom: 4096 kB, bootblocksize 1008, romsize 4194304, |
| 153 | offset 0x0 |
| 154 | Alignment: 64 bytes |
Steve Goodrich | f026912 | 2012-05-18 11:18:47 -0600 | [diff] [blame] | 155 | |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 156 | Name Offset Type Size |
| 157 | cmos_layout.bin 0x0 cmos layout 1159 |
| 158 | fallback/romstage 0x4c0 stage 339756 |
| 159 | fallback/coreboot_ram 0x53440 stage 186664 |
| 160 | fallback/payload 0x80dc0 payload 51526 |
| 161 | config 0x8d740 raw 3324 |
| 162 | (empty) 0x8e480 null 3610440 |
Cristian Măgherușan-Stanciu | d367b00 | 2011-06-19 03:03:28 +0200 | [diff] [blame] | 163 | |
Vadim Bendebury | e6b6aff | 2011-09-20 16:46:46 -0700 | [diff] [blame] | 164 | config EARLY_CBMEM_INIT |
| 165 | bool "Initialize CBMEM while in ROM stage" |
| 166 | default n |
| 167 | help |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 168 | Make coreboot initialize the cbmem structures while running in ROM |
| 169 | stage. This could be useful when the ROM stage wants to communicate |
Vadim Bendebury | e6b6aff | 2011-09-20 16:46:46 -0700 | [diff] [blame] | 170 | some, for instance, execution timestamps. |
| 171 | |
Vadim Bendebury | 9202473d | 2011-09-21 14:46:43 -0700 | [diff] [blame] | 172 | config COLLECT_TIMESTAMPS |
| 173 | bool "Create a table of timestamps collected during boot" |
| 174 | depends on EARLY_CBMEM_INIT |
| 175 | help |
Uwe Hermann | ad8c95f | 2012-04-12 22:00:03 +0200 | [diff] [blame] | 176 | Make coreboot create a table of timer-ID/timer-value pairs to |
| 177 | allow measuring time spent at different phases of the boot process. |
| 178 | |
Patrick Georgi | 7e9b9d8 | 2012-04-30 21:06:10 +0200 | [diff] [blame] | 179 | config USE_BLOBS |
| 180 | bool "Allow use of binary-only repository" |
| 181 | default n |
| 182 | help |
| 183 | This draws in the blobs repository, which contains binary files that |
| 184 | might be required for some chipsets or boards. |
| 185 | This flag ensures that a "Free" option remains available for users. |
| 186 | |
| 187 | config REQUIRES_BLOB |
| 188 | bool |
| 189 | default n |
| 190 | help |
| 191 | This option can be configured by boards that require the blobs |
| 192 | repository for the default configuration. It will make the build |
| 193 | fail if USE_BLOBS is disabled. Users that still desire to do a |
| 194 | coreboot build for such a board can override this manually, but |
| 195 | this option serves as warning that it might fail. |
| 196 | |
Uwe Hermann | c04be93 | 2009-10-05 13:55:28 +0000 | [diff] [blame] | 197 | endmenu |
| 198 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 199 | source src/mainboard/Kconfig |
Stefan Reinauer | 8aedcbc | 2010-12-16 23:37:17 +0000 | [diff] [blame] | 200 | |
| 201 | # This option is used to set the architecture of a mainboard to X86. |
| 202 | # It is usually set in mainboard/*/Kconfig. |
| 203 | config ARCH_X86 |
| 204 | bool |
| 205 | default n |
| 206 | |
| 207 | if ARCH_X86 |
Stefan Reinauer | 8677a23 | 2010-12-11 20:33:41 +0000 | [diff] [blame] | 208 | source src/arch/x86/Kconfig |
Stefan Reinauer | 8aedcbc | 2010-12-16 23:37:17 +0000 | [diff] [blame] | 209 | endif |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 210 | |
| 211 | menu "Chipset" |
| 212 | |
| 213 | comment "CPU" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 214 | source src/cpu/Kconfig |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 215 | comment "Northbridge" |
| 216 | source src/northbridge/Kconfig |
| 217 | comment "Southbridge" |
| 218 | source src/southbridge/Kconfig |
| 219 | comment "Super I/O" |
| 220 | source src/superio/Kconfig |
| 221 | comment "Devices" |
| 222 | source src/devices/Kconfig |
Sven Schnelle | 7592e8b | 2011-01-27 11:43:03 +0000 | [diff] [blame] | 223 | comment "Embedded Controllers" |
| 224 | source src/ec/Kconfig |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 225 | |
| 226 | endmenu |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 227 | |
Rudolf Marek | d9c2549 | 2010-05-16 15:31:53 +0000 | [diff] [blame] | 228 | menu "Generic Drivers" |
| 229 | source src/drivers/Kconfig |
| 230 | endmenu |
| 231 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 232 | config PCI_BUS_SEGN_BITS |
Myles Watson | 74fb8f2 | 2009-09-24 15:09:11 +0000 | [diff] [blame] | 233 | int |
| 234 | default 0 |
Patrick Georgi | 892b091 | 2009-09-24 09:03:06 +0000 | [diff] [blame] | 235 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 236 | config PCI_ROM_RUN |
Patrick Georgi | 698c0e0e | 2009-08-25 17:38:24 +0000 | [diff] [blame] | 237 | bool |
| 238 | default n |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 239 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 240 | config HEAP_SIZE |
| 241 | hex |
Myles Watson | 04000f4 | 2009-10-16 19:12:49 +0000 | [diff] [blame] | 242 | default 0x4000 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 243 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 244 | config MAX_CPUS |
| 245 | int |
| 246 | default 1 |
| 247 | |
| 248 | config MMCONF_SUPPORT_DEFAULT |
| 249 | bool |
| 250 | default n |
| 251 | |
| 252 | config MMCONF_SUPPORT |
| 253 | bool |
| 254 | default n |
| 255 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 256 | source src/console/Kconfig |
| 257 | |
Stefan Reinauer | 4885daa | 2011-04-26 23:47:04 +0000 | [diff] [blame] | 258 | # This should default to N and be set by SuperI/O drivers that have an UART |
| 259 | config HAVE_UART_IO_MAPPED |
| 260 | bool |
| 261 | default y |
| 262 | |
| 263 | config HAVE_UART_MEMORY_MAPPED |
| 264 | bool |
| 265 | default n |
| 266 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 267 | config HAVE_ACPI_RESUME |
| 268 | bool |
| 269 | default n |
| 270 | |
Stefan Reinauer | c4f1a77 | 2010-06-05 10:03:08 +0000 | [diff] [blame] | 271 | config HAVE_ACPI_SLIC |
| 272 | bool |
| 273 | default n |
| 274 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 275 | config ACPI_SSDTX_NUM |
| 276 | int |
| 277 | default 0 |
| 278 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 279 | config HAVE_HARD_RESET |
| 280 | bool |
Patrick Georgi | 37bdb87 | 2010-02-27 08:39:04 +0000 | [diff] [blame] | 281 | default y if BOARD_HAS_HARD_RESET |
Uwe Hermann | 748475b | 2009-10-09 11:47:21 +0000 | [diff] [blame] | 282 | default n |
Patrick Georgi | 37bdb87 | 2010-02-27 08:39:04 +0000 | [diff] [blame] | 283 | help |
| 284 | This variable specifies whether a given board has a hard_reset |
| 285 | function, no matter if it's provided by board code or chipset code. |
| 286 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 287 | config HAVE_INIT_TIMER |
| 288 | bool |
Patrick Georgi | 1f807fd | 2010-01-04 20:09:27 +0000 | [diff] [blame] | 289 | default n if UDELAY_IO |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 290 | default y |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 291 | |
zbao | f722373 | 2012-04-13 13:42:15 +0800 | [diff] [blame] | 292 | config HIGH_SCRATCH_MEMORY_SIZE |
| 293 | hex |
| 294 | default 0x0 |
| 295 | |
Edwin Beasant | eb50c7d | 2010-07-06 21:05:04 +0000 | [diff] [blame] | 296 | config USE_OPTION_TABLE |
| 297 | bool |
| 298 | default n |
| 299 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 300 | config HAVE_OPTION_TABLE |
| 301 | bool |
Edwin Beasant | eb50c7d | 2010-07-06 21:05:04 +0000 | [diff] [blame] | 302 | default n |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 303 | help |
| 304 | This variable specifies whether a given board has a cmos.layout |
| 305 | file containing NVRAM/CMOS bit definitions. |
Edwin Beasant | eb50c7d | 2010-07-06 21:05:04 +0000 | [diff] [blame] | 306 | It defaults to 'n' but can be selected in mainboard/*/Kconfig. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 307 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 308 | config PIRQ_ROUTE |
| 309 | bool |
| 310 | default n |
| 311 | |
| 312 | config HAVE_SMI_HANDLER |
| 313 | bool |
| 314 | default n |
| 315 | |
| 316 | config PCI_IO_CFG_EXT |
| 317 | bool |
| 318 | default n |
| 319 | |
| 320 | config IOAPIC |
| 321 | bool |
| 322 | default n |
| 323 | |
Stefan Reinauer | 3008bbad | 2011-10-11 14:46:25 -0700 | [diff] [blame] | 324 | config TPM |
| 325 | bool |
| 326 | default n |
| 327 | |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 328 | # TODO: Can probably be removed once all chipsets have kconfig options for it. |
Uwe Hermann | 70b0cf2 | 2009-10-04 17:15:39 +0000 | [diff] [blame] | 329 | config VIDEO_MB |
| 330 | int |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 331 | default 0 |
Uwe Hermann | 70b0cf2 | 2009-10-04 17:15:39 +0000 | [diff] [blame] | 332 | |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 333 | config USE_WATCHDOG_ON_BOOT |
| 334 | bool |
| 335 | default n |
| 336 | |
| 337 | config VGA |
| 338 | bool |
| 339 | default n |
| 340 | help |
| 341 | Build board-specific VGA code. |
| 342 | |
| 343 | config GFXUMA |
| 344 | bool |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 345 | default n |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 346 | help |
| 347 | Enable Unified Memory Architecture for graphics. |
| 348 | |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 349 | # TODO |
| 350 | # menu "Drivers" |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 351 | # |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 352 | # endmenu |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 353 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 354 | config HAVE_ACPI_TABLES |
| 355 | bool |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 356 | help |
| 357 | This variable specifies whether a given board has ACPI table support. |
| 358 | It is usually set in mainboard/*/Kconfig. |
| 359 | Whether or not the ACPI tables are actually generated by coreboot |
| 360 | is configurable by the user via GENERATE_ACPI_TABLES. |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 361 | |
| 362 | config HAVE_MP_TABLE |
| 363 | bool |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 364 | help |
| 365 | This variable specifies whether a given board has MP table support. |
| 366 | It is usually set in mainboard/*/Kconfig. |
| 367 | Whether or not the MP table is actually generated by coreboot |
| 368 | is configurable by the user via GENERATE_MP_TABLE. |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 369 | |
| 370 | config HAVE_PIRQ_TABLE |
| 371 | bool |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 372 | help |
| 373 | This variable specifies whether a given board has PIRQ table support. |
| 374 | It is usually set in mainboard/*/Kconfig. |
| 375 | Whether or not the PIRQ table is actually generated by coreboot |
| 376 | is configurable by the user via GENERATE_PIRQ_TABLE. |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 377 | |
Alexandru Gagniuc | 70c660f | 2012-08-23 02:32:58 -0500 | [diff] [blame] | 378 | config MAX_PIRQ_LINKS |
| 379 | int |
| 380 | default 4 |
| 381 | help |
| 382 | This variable specifies the number of PIRQ interrupt links which are |
| 383 | routable. On most chipsets, this is 4, INTA through INTD. Some |
| 384 | chipsets offer more than four links, commonly up to INTH. They may |
| 385 | also have a separate link for ATA or IOAPIC interrupts. When the PIRQ |
| 386 | table specifies links greater than 4, pirq_route_irqs will not |
| 387 | function properly, unless this variable is correctly set. |
| 388 | |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 389 | #These Options are here to avoid "undefined" warnings. |
| 390 | #The actual selection and help texts are in the following menu. |
| 391 | |
| 392 | config GENERATE_ACPI_TABLES |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 393 | bool |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 394 | default HAVE_ACPI_TABLES |
| 395 | |
| 396 | config GENERATE_MP_TABLE |
| 397 | bool |
Kyösti Mälkki | 651339b | 2012-08-25 00:21:44 +0300 | [diff] [blame] | 398 | default HAVE_MP_TABLE || DRIVERS_GENERIC_IOAPIC |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 399 | |
| 400 | config GENERATE_PIRQ_TABLE |
| 401 | bool |
| 402 | default HAVE_PIRQ_TABLE |
| 403 | |
Sven Schnelle | 164bcfd | 2011-08-14 20:56:34 +0200 | [diff] [blame] | 404 | config GENERATE_SMBIOS_TABLES |
| 405 | bool |
| 406 | default y |
| 407 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 408 | menu "System tables" |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 409 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 410 | config WRITE_HIGH_TABLES |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 411 | bool "Write 'high' tables to avoid being overwritten in F segment" |
| 412 | default y |
| 413 | |
| 414 | config MULTIBOOT |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 415 | bool "Generate Multiboot tables (for GRUB2)" |
Ronald G. Minnich | 7f91d92 | 2009-11-09 17:56:47 +0000 | [diff] [blame] | 416 | default y |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 417 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 418 | config GENERATE_ACPI_TABLES |
| 419 | depends on HAVE_ACPI_TABLES |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 420 | bool "Generate ACPI tables" |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 421 | default y |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 422 | help |
| 423 | Generate ACPI tables for this board. |
| 424 | |
| 425 | If unsure, say Y. |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 426 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 427 | config GENERATE_MP_TABLE |
Kyösti Mälkki | 651339b | 2012-08-25 00:21:44 +0300 | [diff] [blame] | 428 | depends on HAVE_MP_TABLE || DRIVERS_GENERIC_IOAPIC |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 429 | bool "Generate an MP table" |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 430 | default y |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 431 | help |
| 432 | Generate an MP table (conforming to the Intel MultiProcessor |
| 433 | specification 1.4) for this board. |
| 434 | |
| 435 | If unsure, say Y. |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 436 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 437 | config GENERATE_PIRQ_TABLE |
| 438 | depends on HAVE_PIRQ_TABLE |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 439 | bool "Generate a PIRQ table" |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 440 | default y |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 441 | help |
| 442 | Generate a PIRQ table for this board. |
| 443 | |
| 444 | If unsure, say Y. |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 445 | |
Sven Schnelle | 164bcfd | 2011-08-14 20:56:34 +0200 | [diff] [blame] | 446 | config GENERATE_SMBIOS_TABLES |
| 447 | depends on ARCH_X86 |
| 448 | bool "Generate SMBIOS tables" |
| 449 | default y |
| 450 | help |
| 451 | Generate SMBIOS tables for this board. |
| 452 | |
| 453 | If unsure, say Y. |
| 454 | |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 455 | endmenu |
| 456 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 457 | menu "Payload" |
| 458 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 459 | choice |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 460 | prompt "Add a payload" |
Stefan Reinauer | f1939bb | 2010-12-30 17:39:50 +0000 | [diff] [blame] | 461 | default PAYLOAD_NONE if !ARCH_X86 |
| 462 | default PAYLOAD_SEABIOS if ARCH_X86 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 463 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 464 | config PAYLOAD_NONE |
| 465 | bool "None" |
| 466 | help |
| 467 | Select this option if you want to create an "empty" coreboot |
| 468 | ROM image for a certain mainboard, i.e. a coreboot ROM image |
| 469 | which does not yet contain a payload. |
| 470 | |
| 471 | For such an image to be useful, you have to use 'cbfstool' |
| 472 | to add a payload to the ROM image later. |
| 473 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 474 | config PAYLOAD_ELF |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 475 | bool "An ELF executable payload" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 476 | help |
| 477 | Select this option if you have a payload image (an ELF file) |
| 478 | which coreboot should run as soon as the basic hardware |
| 479 | initialization is completed. |
| 480 | |
| 481 | You will be able to specify the location and file name of the |
| 482 | payload image later. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 483 | |
Stefan Reinauer | f1939bb | 2010-12-30 17:39:50 +0000 | [diff] [blame] | 484 | config PAYLOAD_SEABIOS |
| 485 | bool "SeaBIOS" |
| 486 | depends on ARCH_X86 |
| 487 | help |
| 488 | Select this option if you want to build a coreboot image |
| 489 | with a SeaBIOS payload. If you don't know what this is |
| 490 | about, just leave it enabled. |
| 491 | |
| 492 | See http://coreboot.org/Payloads for more information. |
| 493 | |
Stefan Reinauer | e50952f | 2011-04-15 03:34:05 +0000 | [diff] [blame] | 494 | config PAYLOAD_FILO |
| 495 | bool "FILO" |
| 496 | help |
| 497 | Select this option if you want to build a coreboot image |
| 498 | with a FILO payload. If you don't know what this is |
| 499 | about, just leave it enabled. |
| 500 | |
| 501 | See http://coreboot.org/Payloads for more information. |
| 502 | |
Stefan Reinauer | f1939bb | 2010-12-30 17:39:50 +0000 | [diff] [blame] | 503 | endchoice |
| 504 | |
| 505 | choice |
| 506 | prompt "SeaBIOS version" |
| 507 | default SEABIOS_STABLE |
| 508 | depends on PAYLOAD_SEABIOS |
| 509 | |
| 510 | config SEABIOS_STABLE |
Peter Stuge | 9b48ef2 | 2012-10-16 02:25:07 +0200 | [diff] [blame] | 511 | bool "1.7.1" |
Stefan Reinauer | f1939bb | 2010-12-30 17:39:50 +0000 | [diff] [blame] | 512 | help |
| 513 | Stable SeaBIOS version |
| 514 | config SEABIOS_MASTER |
| 515 | bool "master" |
| 516 | help |
| 517 | Newest SeaBIOS version |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 518 | endchoice |
| 519 | |
Stefan Reinauer | e50952f | 2011-04-15 03:34:05 +0000 | [diff] [blame] | 520 | choice |
| 521 | prompt "FILO version" |
| 522 | default FILO_STABLE |
| 523 | depends on PAYLOAD_FILO |
| 524 | |
| 525 | config FILO_STABLE |
| 526 | bool "0.6.0" |
| 527 | help |
| 528 | Stable FILO version |
| 529 | config FILO_MASTER |
| 530 | bool "HEAD" |
| 531 | help |
| 532 | Newest FILO version |
| 533 | endchoice |
| 534 | |
Stefan Reinauer | bccbbe6 | 2010-12-19 21:20:14 +0000 | [diff] [blame] | 535 | config PAYLOAD_FILE |
Cristi Magherusan | b5034d4 | 2009-08-17 14:47:32 +0000 | [diff] [blame] | 536 | string "Payload path and filename" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 537 | depends on PAYLOAD_ELF |
| 538 | default "payload.elf" |
| 539 | help |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 540 | The path and filename of the ELF executable file to use as payload. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 541 | |
Stefan Reinauer | f1939bb | 2010-12-30 17:39:50 +0000 | [diff] [blame] | 542 | config PAYLOAD_FILE |
| 543 | depends on PAYLOAD_SEABIOS |
Stefan Reinauer | aff6dc2 | 2012-01-21 10:34:22 -0800 | [diff] [blame] | 544 | default "$(obj)/seabios/out/bios.bin.elf" |
Stefan Reinauer | f1939bb | 2010-12-30 17:39:50 +0000 | [diff] [blame] | 545 | |
Stefan Reinauer | e50952f | 2011-04-15 03:34:05 +0000 | [diff] [blame] | 546 | config PAYLOAD_FILE |
| 547 | depends on PAYLOAD_FILO |
| 548 | default "payloads/external/FILO/filo/build/filo.elf" |
| 549 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 550 | # TODO: Defined if no payload? Breaks build? |
| 551 | config COMPRESSED_PAYLOAD_LZMA |
| 552 | bool "Use LZMA compression for payloads" |
| 553 | default y |
Stefan Reinauer | e50952f | 2011-04-15 03:34:05 +0000 | [diff] [blame] | 554 | depends on PAYLOAD_ELF || PAYLOAD_SEABIOS || PAYLOAD_FILO |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 555 | help |
| 556 | In order to reduce the size payloads take up in the ROM chip |
| 557 | coreboot can compress them using the LZMA algorithm. |
| 558 | |
Myles Watson | 04000f4 | 2009-10-16 19:12:49 +0000 | [diff] [blame] | 559 | config COMPRESSED_PAYLOAD_NRV2B |
Peter Stuge | d7b37b0 | 2009-10-17 03:00:04 +0000 | [diff] [blame] | 560 | bool |
Myles Watson | 04000f4 | 2009-10-16 19:12:49 +0000 | [diff] [blame] | 561 | default n |
| 562 | |
Peter Stuge | a758ca2 | 2009-09-17 16:21:31 +0000 | [diff] [blame] | 563 | endmenu |
| 564 | |
| 565 | menu "VGA BIOS" |
| 566 | |
| 567 | config VGA_BIOS |
| 568 | bool "Add a VGA BIOS image" |
| 569 | help |
| 570 | Select this option if you have a VGA BIOS image that you would |
| 571 | like to add to your ROM. |
| 572 | |
| 573 | You will be able to specify the location and file name of the |
| 574 | image later. |
| 575 | |
Stefan Reinauer | bccbbe6 | 2010-12-19 21:20:14 +0000 | [diff] [blame] | 576 | config VGA_BIOS_FILE |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 577 | string "VGA BIOS path and filename" |
| 578 | depends on VGA_BIOS |
| 579 | default "vgabios.bin" |
| 580 | help |
| 581 | The path and filename of the file to use as VGA BIOS. |
| 582 | |
Stefan Reinauer | bccbbe6 | 2010-12-19 21:20:14 +0000 | [diff] [blame] | 583 | config VGA_BIOS_ID |
Uwe Hermann | 81b3c0a | 2009-10-30 12:56:59 +0000 | [diff] [blame] | 584 | string "VGA device PCI IDs" |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 585 | depends on VGA_BIOS |
| 586 | default "1106,3230" |
| 587 | help |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 588 | The comma-separated PCI vendor and device ID that would associate |
| 589 | your VGA BIOS to your video card. |
| 590 | |
| 591 | Example: 1106,3230 |
| 592 | |
| 593 | In the above example 1106 is the PCI vendor ID (in hex, but without |
| 594 | the "0x" prefix) and 3230 specifies the PCI device ID of the |
| 595 | video card (also in hex, without "0x" prefix). |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 596 | |
Stefan Reinauer | 800379f | 2010-03-01 08:34:19 +0000 | [diff] [blame] | 597 | config INTEL_MBI |
| 598 | bool "Add an MBI image" |
| 599 | depends on NORTHBRIDGE_INTEL_I82830 |
| 600 | help |
| 601 | Select this option if you have an Intel MBI image that you would |
| 602 | like to add to your ROM. |
| 603 | |
| 604 | You will be able to specify the location and file name of the |
| 605 | image later. |
| 606 | |
Stefan Reinauer | bccbbe6 | 2010-12-19 21:20:14 +0000 | [diff] [blame] | 607 | config MBI_FILE |
Stefan Reinauer | 800379f | 2010-03-01 08:34:19 +0000 | [diff] [blame] | 608 | string "Intel MBI path and filename" |
| 609 | depends on INTEL_MBI |
| 610 | default "mbi.bin" |
| 611 | help |
| 612 | The path and filename of the file to use as VGA BIOS. |
| 613 | |
| 614 | endmenu |
| 615 | |
Stefan Reinauer | c1efb90 | 2011-10-12 14:30:59 -0700 | [diff] [blame] | 616 | menu "Display" |
| 617 | depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE |
| 618 | |
| 619 | config FRAMEBUFFER_SET_VESA_MODE |
| 620 | prompt "Set VESA framebuffer mode" |
| 621 | bool |
| 622 | depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE |
| 623 | help |
| 624 | Set VESA framebuffer mode (needed for bootsplash) |
| 625 | |
Steve Goodrich | f026912 | 2012-05-18 11:18:47 -0600 | [diff] [blame] | 626 | choice |
Stefan Reinauer | c1efb90 | 2011-10-12 14:30:59 -0700 | [diff] [blame] | 627 | prompt "VESA framebuffer video mode" |
Steve Goodrich | f026912 | 2012-05-18 11:18:47 -0600 | [diff] [blame] | 628 | default FRAMEBUFFER_VESA_MODE_117 |
Stefan Reinauer | c1efb90 | 2011-10-12 14:30:59 -0700 | [diff] [blame] | 629 | depends on FRAMEBUFFER_SET_VESA_MODE |
| 630 | help |
| 631 | This option sets the resolution used for the coreboot framebuffer (and |
Steve Goodrich | f026912 | 2012-05-18 11:18:47 -0600 | [diff] [blame] | 632 | bootsplash screen). |
| 633 | |
| 634 | config FRAMEBUFFER_VESA_MODE_100 |
| 635 | bool "640x400 256-color" |
| 636 | |
| 637 | config FRAMEBUFFER_VESA_MODE_101 |
| 638 | bool "640x480 256-color" |
| 639 | |
| 640 | config FRAMEBUFFER_VESA_MODE_102 |
| 641 | bool "800x600 16-color" |
| 642 | |
| 643 | config FRAMEBUFFER_VESA_MODE_103 |
| 644 | bool "800x600 256-color" |
| 645 | |
| 646 | config FRAMEBUFFER_VESA_MODE_104 |
| 647 | bool "1024x768 16-color" |
| 648 | |
| 649 | config FRAMEBUFFER_VESA_MODE_105 |
| 650 | bool "1024x7686 256-color" |
| 651 | |
| 652 | config FRAMEBUFFER_VESA_MODE_106 |
| 653 | bool "1280x1024 16-color" |
| 654 | |
| 655 | config FRAMEBUFFER_VESA_MODE_107 |
| 656 | bool "1280x1024 256-color" |
| 657 | |
| 658 | config FRAMEBUFFER_VESA_MODE_108 |
| 659 | bool "80x60 text" |
| 660 | |
| 661 | config FRAMEBUFFER_VESA_MODE_109 |
| 662 | bool "132x25 text" |
| 663 | |
| 664 | config FRAMEBUFFER_VESA_MODE_10A |
| 665 | bool "132x43 text" |
| 666 | |
| 667 | config FRAMEBUFFER_VESA_MODE_10B |
| 668 | bool "132x50 text" |
| 669 | |
| 670 | config FRAMEBUFFER_VESA_MODE_10C |
| 671 | bool "132x60 text" |
| 672 | |
| 673 | config FRAMEBUFFER_VESA_MODE_10D |
| 674 | bool "320x200 32k-color (1:5:5:5)" |
| 675 | |
| 676 | config FRAMEBUFFER_VESA_MODE_10E |
| 677 | bool "320x200 64k-color (5:6:5)" |
| 678 | |
| 679 | config FRAMEBUFFER_VESA_MODE_10F |
| 680 | bool "320x200 16.8M-color (8:8:8)" |
| 681 | |
| 682 | config FRAMEBUFFER_VESA_MODE_110 |
| 683 | bool "640x480 32k-color (1:5:5:5)" |
| 684 | |
| 685 | config FRAMEBUFFER_VESA_MODE_111 |
| 686 | bool "640x480 64k-color (5:6:5)" |
| 687 | |
| 688 | config FRAMEBUFFER_VESA_MODE_112 |
| 689 | bool "640x480 16.8M-color (8:8:8)" |
| 690 | |
| 691 | config FRAMEBUFFER_VESA_MODE_113 |
| 692 | bool "800x600 32k-color (1:5:5:5)" |
| 693 | |
| 694 | config FRAMEBUFFER_VESA_MODE_114 |
| 695 | bool "800x600 64k-color (5:6:5)" |
| 696 | |
| 697 | config FRAMEBUFFER_VESA_MODE_115 |
| 698 | bool "800x600 16.8M-color (8:8:8)" |
| 699 | |
| 700 | config FRAMEBUFFER_VESA_MODE_116 |
| 701 | bool "1024x768 32k-color (1:5:5:5)" |
| 702 | |
| 703 | config FRAMEBUFFER_VESA_MODE_117 |
| 704 | bool "1024x768 64k-color (5:6:5)" |
| 705 | |
| 706 | config FRAMEBUFFER_VESA_MODE_118 |
| 707 | bool "1024x768 16.8M-color (8:8:8)" |
| 708 | |
| 709 | config FRAMEBUFFER_VESA_MODE_119 |
| 710 | bool "1280x1024 32k-color (1:5:5:5)" |
| 711 | |
| 712 | config FRAMEBUFFER_VESA_MODE_11A |
| 713 | bool "1280x1024 64k-color (5:6:5)" |
| 714 | |
| 715 | config FRAMEBUFFER_VESA_MODE_11B |
| 716 | bool "1280x1024 16.8M-color (8:8:8)" |
| 717 | |
| 718 | endchoice |
| 719 | |
| 720 | # Map the config names to an integer (KB). |
| 721 | config FRAMEBUFFER_VESA_MODE |
| 722 | hex |
| 723 | default 0x100 if FRAMEBUFFER_VESA_MODE_100 |
| 724 | default 0x101 if FRAMEBUFFER_VESA_MODE_101 |
| 725 | default 0x102 if FRAMEBUFFER_VESA_MODE_102 |
| 726 | default 0x103 if FRAMEBUFFER_VESA_MODE_103 |
| 727 | default 0x104 if FRAMEBUFFER_VESA_MODE_104 |
| 728 | default 0x105 if FRAMEBUFFER_VESA_MODE_105 |
| 729 | default 0x106 if FRAMEBUFFER_VESA_MODE_106 |
| 730 | default 0x107 if FRAMEBUFFER_VESA_MODE_107 |
| 731 | default 0x108 if FRAMEBUFFER_VESA_MODE_108 |
| 732 | default 0x109 if FRAMEBUFFER_VESA_MODE_109 |
| 733 | default 0x10A if FRAMEBUFFER_VESA_MODE_10A |
| 734 | default 0x10B if FRAMEBUFFER_VESA_MODE_10B |
| 735 | default 0x10C if FRAMEBUFFER_VESA_MODE_10C |
| 736 | default 0x10D if FRAMEBUFFER_VESA_MODE_10D |
| 737 | default 0x10E if FRAMEBUFFER_VESA_MODE_10E |
| 738 | default 0x10F if FRAMEBUFFER_VESA_MODE_10F |
| 739 | default 0x110 if FRAMEBUFFER_VESA_MODE_110 |
| 740 | default 0x111 if FRAMEBUFFER_VESA_MODE_111 |
| 741 | default 0x112 if FRAMEBUFFER_VESA_MODE_112 |
| 742 | default 0x113 if FRAMEBUFFER_VESA_MODE_113 |
| 743 | default 0x114 if FRAMEBUFFER_VESA_MODE_114 |
| 744 | default 0x115 if FRAMEBUFFER_VESA_MODE_115 |
| 745 | default 0x116 if FRAMEBUFFER_VESA_MODE_116 |
| 746 | default 0x117 if FRAMEBUFFER_VESA_MODE_117 |
| 747 | default 0x118 if FRAMEBUFFER_VESA_MODE_118 |
| 748 | default 0x119 if FRAMEBUFFER_VESA_MODE_119 |
| 749 | default 0x11A if FRAMEBUFFER_VESA_MODE_11A |
| 750 | default 0x11B if FRAMEBUFFER_VESA_MODE_11B |
Stefan Reinauer | c1efb90 | 2011-10-12 14:30:59 -0700 | [diff] [blame] | 751 | |
| 752 | config FRAMEBUFFER_KEEP_VESA_MODE |
| 753 | prompt "Keep VESA framebuffer" |
| 754 | bool |
| 755 | depends on PCI_OPTION_ROM_RUN_YABEL || PCI_OPTION_ROM_RUN_REALMODE |
| 756 | help |
| 757 | This option keeps the framebuffer mode set after coreboot finishes |
| 758 | execution. If this option is enabled, coreboot will pass a |
| 759 | framebuffer entry in its coreboot table and the payload will need a |
| 760 | framebuffer driver. If this option is disabled, coreboot will switch |
| 761 | back to text mode before handing control to a payload. |
Stefan Reinauer | 800379f | 2010-03-01 08:34:19 +0000 | [diff] [blame] | 762 | |
| 763 | config BOOTSPLASH |
| 764 | prompt "Show graphical bootsplash" |
| 765 | bool |
Stefan Reinauer | c1efb90 | 2011-10-12 14:30:59 -0700 | [diff] [blame] | 766 | depends on FRAMEBUFFER_SET_VESA_MODE |
Stefan Reinauer | 800379f | 2010-03-01 08:34:19 +0000 | [diff] [blame] | 767 | help |
| 768 | This option shows a graphical bootsplash screen. The grapics are |
| 769 | loaded from the CBFS file bootsplash.jpg. |
| 770 | |
Stefan Reinauer | bccbbe6 | 2010-12-19 21:20:14 +0000 | [diff] [blame] | 771 | config BOOTSPLASH_FILE |
Stefan Reinauer | 800379f | 2010-03-01 08:34:19 +0000 | [diff] [blame] | 772 | string "Bootsplash path and filename" |
| 773 | depends on BOOTSPLASH |
| 774 | default "bootsplash.jpg" |
| 775 | help |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 776 | The path and filename of the file to use as graphical bootsplash |
| 777 | screen. The file format has to be jpg. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 778 | endmenu |
| 779 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 780 | menu "Debugging" |
| 781 | |
| 782 | # TODO: Better help text and detailed instructions. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 783 | config GDB_STUB |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 784 | bool "GDB debugging support" |
Rudolf Marek | 6588802 | 2012-03-25 20:51:16 +0200 | [diff] [blame] | 785 | default n |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 786 | help |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 787 | If enabled, you will be able to set breakpoints for gdb debugging. |
Stefan Reinauer | 8677a23 | 2010-12-11 20:33:41 +0000 | [diff] [blame] | 788 | See src/arch/x86/lib/c_start.S for details. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 789 | |
Denis 'GNUtoo' Carikli | e4cece0 | 2012-06-22 15:56:37 +0200 | [diff] [blame] | 790 | config GDB_WAIT |
| 791 | bool "Wait for a GDB connection" |
| 792 | default n |
| 793 | depends on GDB_STUB |
| 794 | help |
| 795 | If enabled, coreboot will wait for a GDB connection. |
| 796 | |
Stefan Reinauer | fe42218 | 2012-05-02 16:33:18 -0700 | [diff] [blame] | 797 | config DEBUG_CBFS |
| 798 | bool "Output verbose CBFS debug messages" |
| 799 | default n |
| 800 | depends on TPM |
| 801 | help |
| 802 | This option enables additional CBFS related debug messages. |
| 803 | |
Jens Rottmann | 0d11f2d | 2010-08-26 12:46:02 +0000 | [diff] [blame] | 804 | config HAVE_DEBUG_RAM_SETUP |
| 805 | def_bool n |
| 806 | |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 807 | config DEBUG_RAM_SETUP |
| 808 | bool "Output verbose RAM init debug messages" |
| 809 | default n |
Jens Rottmann | 0d11f2d | 2010-08-26 12:46:02 +0000 | [diff] [blame] | 810 | depends on HAVE_DEBUG_RAM_SETUP |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 811 | help |
| 812 | This option enables additional RAM init related debug messages. |
| 813 | It is recommended to enable this when debugging issues on your |
| 814 | board which might be RAM init related. |
| 815 | |
| 816 | Note: This option will increase the size of the coreboot image. |
| 817 | |
| 818 | If unsure, say N. |
| 819 | |
Patrick Georgi | e82618d | 2010-10-01 14:50:12 +0000 | [diff] [blame] | 820 | config HAVE_DEBUG_CAR |
| 821 | def_bool n |
| 822 | |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 823 | config DEBUG_CAR |
| 824 | def_bool n |
| 825 | depends on HAVE_DEBUG_CAR |
| 826 | |
| 827 | if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8 |
Uwe Hermann | a953f37 | 2010-11-10 00:14:32 +0000 | [diff] [blame] | 828 | # Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional |
| 829 | # printk(BIOS_DEBUG, ...) calls. |
Patrick Georgi | e82618d | 2010-10-01 14:50:12 +0000 | [diff] [blame] | 830 | config DEBUG_CAR |
| 831 | bool "Output verbose Cache-as-RAM debug messages" |
| 832 | default n |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 833 | depends on HAVE_DEBUG_CAR |
Patrick Georgi | e82618d | 2010-10-01 14:50:12 +0000 | [diff] [blame] | 834 | help |
| 835 | This option enables additional CAR related debug messages. |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 836 | endif |
Patrick Georgi | e82618d | 2010-10-01 14:50:12 +0000 | [diff] [blame] | 837 | |
Myles Watson | 80e914ff | 2010-06-01 19:25:31 +0000 | [diff] [blame] | 838 | config DEBUG_PIRQ |
| 839 | bool "Check PIRQ table consistency" |
| 840 | default n |
| 841 | depends on GENERATE_PIRQ_TABLE |
| 842 | help |
| 843 | If unsure, say N. |
| 844 | |
Jens Rottmann | 0d11f2d | 2010-08-26 12:46:02 +0000 | [diff] [blame] | 845 | config HAVE_DEBUG_SMBUS |
| 846 | def_bool n |
| 847 | |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 848 | config DEBUG_SMBUS |
| 849 | bool "Output verbose SMBus debug messages" |
| 850 | default n |
Jens Rottmann | 0d11f2d | 2010-08-26 12:46:02 +0000 | [diff] [blame] | 851 | depends on HAVE_DEBUG_SMBUS |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 852 | help |
| 853 | This option enables additional SMBus (and SPD) debug messages. |
| 854 | |
| 855 | Note: This option will increase the size of the coreboot image. |
| 856 | |
| 857 | If unsure, say N. |
| 858 | |
| 859 | config DEBUG_SMI |
| 860 | bool "Output verbose SMI debug messages" |
| 861 | default n |
| 862 | depends on HAVE_SMI_HANDLER |
| 863 | help |
| 864 | This option enables additional SMI related debug messages. |
| 865 | |
| 866 | Note: This option will increase the size of the coreboot image. |
| 867 | |
| 868 | If unsure, say N. |
| 869 | |
Stefan Reinauer | bc0f7a6 | 2010-08-01 15:41:14 +0000 | [diff] [blame] | 870 | config DEBUG_SMM_RELOCATION |
| 871 | bool "Debug SMM relocation code" |
| 872 | default n |
| 873 | depends on HAVE_SMI_HANDLER |
| 874 | help |
| 875 | This option enables additional SMM handler relocation related |
| 876 | debug messages. |
| 877 | |
| 878 | Note: This option will increase the size of the coreboot image. |
| 879 | |
| 880 | If unsure, say N. |
| 881 | |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 882 | config DEBUG_MALLOC |
| 883 | def_bool n |
| 884 | |
Uwe Hermann | a953f37 | 2010-11-10 00:14:32 +0000 | [diff] [blame] | 885 | # Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional |
| 886 | # printk(BIOS_DEBUG, ...) calls. |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 887 | if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8 |
Uwe Hermann | a953f37 | 2010-11-10 00:14:32 +0000 | [diff] [blame] | 888 | config DEBUG_MALLOC |
| 889 | bool "Output verbose malloc debug messages" |
| 890 | default n |
Uwe Hermann | a953f37 | 2010-11-10 00:14:32 +0000 | [diff] [blame] | 891 | help |
| 892 | This option enables additional malloc related debug messages. |
| 893 | |
| 894 | Note: This option will increase the size of the coreboot image. |
| 895 | |
| 896 | If unsure, say N. |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 897 | endif |
Uwe Hermann | a953f37 | 2010-11-10 00:14:32 +0000 | [diff] [blame] | 898 | |
Cristian Măgherușan-Stanciu | 9f52ea4 | 2011-07-02 00:44:39 +0300 | [diff] [blame] | 899 | config DEBUG_ACPI |
| 900 | def_bool n |
| 901 | |
| 902 | # Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional |
| 903 | # printk(BIOS_DEBUG, ...) calls. |
| 904 | if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8 |
| 905 | config DEBUG_ACPI |
| 906 | bool "Output verbose ACPI debug messages" |
| 907 | default n |
| 908 | help |
| 909 | This option enables additional ACPI related debug messages. |
| 910 | |
| 911 | Note: This option will slightly increase the size of the coreboot image. |
| 912 | |
| 913 | If unsure, say N. |
| 914 | endif |
| 915 | |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 916 | config REALMODE_DEBUG |
| 917 | def_bool n |
| 918 | depends on PCI_OPTION_ROM_RUN_REALMODE |
| 919 | |
| 920 | if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8 |
Uwe Hermann | a953f37 | 2010-11-10 00:14:32 +0000 | [diff] [blame] | 921 | # Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional |
| 922 | # printk(BIOS_DEBUG, ...) calls. |
Myles Watson | 6c9bc01 | 2010-09-07 22:30:15 +0000 | [diff] [blame] | 923 | config REALMODE_DEBUG |
| 924 | bool "Enable debug messages for option ROM execution" |
| 925 | default n |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 926 | depends on PCI_OPTION_ROM_RUN_REALMODE |
Myles Watson | 6c9bc01 | 2010-09-07 22:30:15 +0000 | [diff] [blame] | 927 | help |
| 928 | This option enables additional x86emu related debug messages. |
| 929 | |
| 930 | Note: This option will increase the time to emulate a ROM. |
| 931 | |
| 932 | If unsure, say N. |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 933 | endif |
Myles Watson | 6c9bc01 | 2010-09-07 22:30:15 +0000 | [diff] [blame] | 934 | |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 935 | config X86EMU_DEBUG |
| 936 | bool "Output verbose x86emu debug messages" |
| 937 | default n |
| 938 | depends on PCI_OPTION_ROM_RUN_YABEL |
| 939 | help |
| 940 | This option enables additional x86emu related debug messages. |
| 941 | |
| 942 | Note: This option will increase the size of the coreboot image. |
| 943 | |
| 944 | If unsure, say N. |
| 945 | |
| 946 | config X86EMU_DEBUG_JMP |
| 947 | bool "Trace JMP/RETF" |
| 948 | default n |
| 949 | depends on X86EMU_DEBUG |
| 950 | help |
| 951 | Print information about JMP and RETF opcodes from x86emu. |
| 952 | |
| 953 | Note: This option will increase the size of the coreboot image. |
| 954 | |
| 955 | If unsure, say N. |
| 956 | |
| 957 | config X86EMU_DEBUG_TRACE |
| 958 | bool "Trace all opcodes" |
| 959 | default n |
| 960 | depends on X86EMU_DEBUG |
| 961 | help |
| 962 | Print _all_ opcodes that are executed by x86emu. |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 963 | |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 964 | WARNING: This will produce a LOT of output and take a long time. |
| 965 | |
| 966 | Note: This option will increase the size of the coreboot image. |
| 967 | |
| 968 | If unsure, say N. |
| 969 | |
| 970 | config X86EMU_DEBUG_PNP |
| 971 | bool "Log Plug&Play accesses" |
| 972 | default n |
| 973 | depends on X86EMU_DEBUG |
| 974 | help |
| 975 | Print Plug And Play accesses made by option ROMs. |
| 976 | |
| 977 | Note: This option will increase the size of the coreboot image. |
| 978 | |
| 979 | If unsure, say N. |
| 980 | |
| 981 | config X86EMU_DEBUG_DISK |
| 982 | bool "Log Disk I/O" |
| 983 | default n |
| 984 | depends on X86EMU_DEBUG |
| 985 | help |
| 986 | Print Disk I/O related messages. |
| 987 | |
| 988 | Note: This option will increase the size of the coreboot image. |
| 989 | |
| 990 | If unsure, say N. |
| 991 | |
| 992 | config X86EMU_DEBUG_PMM |
| 993 | bool "Log PMM" |
| 994 | default n |
| 995 | depends on X86EMU_DEBUG |
| 996 | help |
| 997 | Print messages related to POST Memory Manager (PMM). |
| 998 | |
| 999 | Note: This option will increase the size of the coreboot image. |
| 1000 | |
| 1001 | If unsure, say N. |
| 1002 | |
| 1003 | |
| 1004 | config X86EMU_DEBUG_VBE |
| 1005 | bool "Debug VESA BIOS Extensions" |
| 1006 | default n |
| 1007 | depends on X86EMU_DEBUG |
| 1008 | help |
| 1009 | Print messages related to VESA BIOS Extension (VBE) functions. |
| 1010 | |
| 1011 | Note: This option will increase the size of the coreboot image. |
| 1012 | |
| 1013 | If unsure, say N. |
| 1014 | |
| 1015 | config X86EMU_DEBUG_INT10 |
| 1016 | bool "Redirect INT10 output to console" |
| 1017 | default n |
| 1018 | depends on X86EMU_DEBUG |
| 1019 | help |
| 1020 | Let INT10 (i.e. character output) calls print messages to debug output. |
| 1021 | |
| 1022 | Note: This option will increase the size of the coreboot image. |
| 1023 | |
| 1024 | If unsure, say N. |
| 1025 | |
| 1026 | config X86EMU_DEBUG_INTERRUPTS |
| 1027 | bool "Log intXX calls" |
| 1028 | default n |
| 1029 | depends on X86EMU_DEBUG |
| 1030 | help |
| 1031 | Print messages related to interrupt handling. |
| 1032 | |
| 1033 | Note: This option will increase the size of the coreboot image. |
| 1034 | |
| 1035 | If unsure, say N. |
| 1036 | |
| 1037 | config X86EMU_DEBUG_CHECK_VMEM_ACCESS |
| 1038 | bool "Log special memory accesses" |
| 1039 | default n |
| 1040 | depends on X86EMU_DEBUG |
| 1041 | help |
| 1042 | Print messages related to accesses to certain areas of the virtual |
| 1043 | memory (e.g. BDA (BIOS Data Area) or interrupt vectors) |
| 1044 | |
| 1045 | Note: This option will increase the size of the coreboot image. |
| 1046 | |
| 1047 | If unsure, say N. |
| 1048 | |
| 1049 | config X86EMU_DEBUG_MEM |
| 1050 | bool "Log all memory accesses" |
| 1051 | default n |
| 1052 | depends on X86EMU_DEBUG |
| 1053 | help |
| 1054 | Print memory accesses made by option ROM. |
| 1055 | Note: This also includes accesses to fetch instructions. |
| 1056 | |
| 1057 | Note: This option will increase the size of the coreboot image. |
| 1058 | |
| 1059 | If unsure, say N. |
| 1060 | |
| 1061 | config X86EMU_DEBUG_IO |
| 1062 | bool "Log IO accesses" |
| 1063 | default n |
| 1064 | depends on X86EMU_DEBUG |
| 1065 | help |
| 1066 | Print I/O accesses made by option ROM. |
| 1067 | |
| 1068 | Note: This option will increase the size of the coreboot image. |
| 1069 | |
| 1070 | If unsure, say N. |
| 1071 | |
Stefan Reinauer | dfb098d | 2011-11-17 12:50:54 -0800 | [diff] [blame] | 1072 | config DEBUG_TPM |
| 1073 | bool "Output verbose TPM debug messages" |
| 1074 | default n |
| 1075 | depends on TPM |
| 1076 | help |
| 1077 | This option enables additional TPM related debug messages. |
| 1078 | |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 1079 | config DEBUG_SPI_FLASH |
| 1080 | bool "Output verbose SPI flash debug messages" |
| 1081 | default n |
| 1082 | depends on SPI_FLASH |
| 1083 | help |
| 1084 | This option enables additional SPI flash related debug messages. |
| 1085 | |
Stefan Reinauer | 8e07382 | 2012-04-04 00:07:22 +0200 | [diff] [blame] | 1086 | if SOUTHBRIDGE_INTEL_BD82X6X && DEFAULT_CONSOLE_LOGLEVEL_8 |
| 1087 | # Only visible with the right southbridge and loglevel. |
| 1088 | config DEBUG_INTEL_ME |
| 1089 | bool "Verbose logging for Intel Management Engine" |
| 1090 | default n |
| 1091 | help |
| 1092 | Enable verbose logging for Intel Management Engine driver that |
| 1093 | is present on Intel 6-series chipsets. |
| 1094 | endif |
| 1095 | |
Stefan Reinauer | 5c50392 | 2010-03-13 22:07:15 +0000 | [diff] [blame] | 1096 | config LLSHELL |
| 1097 | bool "Built-in low-level shell" |
| 1098 | default n |
| 1099 | help |
| 1100 | If enabled, you will have a low level shell to examine your machine. |
| 1101 | Put llshell() in your (romstage) code to start the shell. |
Stefan Reinauer | 8677a23 | 2010-12-11 20:33:41 +0000 | [diff] [blame] | 1102 | See src/arch/x86/llshell/llshell.inc for details. |
Stefan Reinauer | 5c50392 | 2010-03-13 22:07:15 +0000 | [diff] [blame] | 1103 | |
Rudolf Marek | 7f0e930 | 2011-09-02 23:23:41 +0200 | [diff] [blame] | 1104 | config TRACE |
| 1105 | bool "Trace function calls" |
| 1106 | default n |
| 1107 | help |
| 1108 | If enabled, every function will print information to console once |
| 1109 | the function is entered. The syntax is ~0xaaaabbbb(0xccccdddd) |
| 1110 | the 0xaaaabbbb is the actual function and 0xccccdddd is EIP |
| 1111 | of calling function. Please note some printk releated functions |
| 1112 | are omitted from trace to have good looking console dumps. |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 1113 | endmenu |
| 1114 | |
Myles Watson | 8f74c58 | 2009-10-20 16:10:04 +0000 | [diff] [blame] | 1115 | config LIFT_BSP_APIC_ID |
| 1116 | bool |
| 1117 | default n |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 1118 | |
| 1119 | # These probably belong somewhere else, but they are needed somewhere. |
| 1120 | config AP_CODE_IN_CAR |
| 1121 | bool |
| 1122 | default n |
| 1123 | |
Jonathan Kollasch | e5b7507 | 2010-10-07 23:02:06 +0000 | [diff] [blame] | 1124 | config RAMINIT_SYSINFO |
| 1125 | bool |
| 1126 | default n |
| 1127 | |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 1128 | config ENABLE_APIC_EXT_ID |
| 1129 | bool |
| 1130 | default n |
Myles Watson | 2e67273 | 2009-11-12 16:38:03 +0000 | [diff] [blame] | 1131 | |
| 1132 | config WARNINGS_ARE_ERRORS |
| 1133 | bool |
Stefan Reinauer | 6f57b51 | 2010-07-08 16:41:05 +0000 | [diff] [blame] | 1134 | default y |
Patrick Georgi | 436f99b | 2009-11-27 16:55:13 +0000 | [diff] [blame] | 1135 | |
Peter Stuge | 51eafde | 2010-10-13 06:23:02 +0000 | [diff] [blame] | 1136 | # The four POWER_BUTTON_DEFAULT_ENABLE, POWER_BUTTON_DEFAULT_DISABLE, |
| 1137 | # POWER_BUTTON_FORCE_ENABLE and POWER_BUTTON_FORCE_DISABLE options are |
| 1138 | # mutually exclusive. One of these options must be selected in the |
| 1139 | # mainboard Kconfig if the chipset supports enabling and disabling of |
| 1140 | # the power button. Chipset code uses the ENABLE_POWER_BUTTON option set |
| 1141 | # in mainboard/Kconfig to know if the button should be enabled or not. |
| 1142 | |
| 1143 | config POWER_BUTTON_DEFAULT_ENABLE |
| 1144 | def_bool n |
| 1145 | help |
| 1146 | Select when the board has a power button which can optionally be |
| 1147 | disabled by the user. |
| 1148 | |
| 1149 | config POWER_BUTTON_DEFAULT_DISABLE |
| 1150 | def_bool n |
| 1151 | help |
| 1152 | Select when the board has a power button which can optionally be |
| 1153 | enabled by the user, e.g. when the board ships with a jumper over |
| 1154 | the power switch contacts. |
| 1155 | |
| 1156 | config POWER_BUTTON_FORCE_ENABLE |
| 1157 | def_bool n |
| 1158 | help |
| 1159 | Select when the board requires that the power button is always |
| 1160 | enabled. |
| 1161 | |
| 1162 | config POWER_BUTTON_FORCE_DISABLE |
| 1163 | def_bool n |
| 1164 | help |
| 1165 | Select when the board requires that the power button is always |
| 1166 | disabled, e.g. when it has been hardwired to ground. |
| 1167 | |
| 1168 | config POWER_BUTTON_IS_OPTIONAL |
| 1169 | bool |
| 1170 | default y if POWER_BUTTON_DEFAULT_ENABLE || POWER_BUTTON_DEFAULT_DISABLE |
| 1171 | default n if !(POWER_BUTTON_DEFAULT_ENABLE || POWER_BUTTON_DEFAULT_DISABLE) |
| 1172 | help |
| 1173 | Internal option that controls ENABLE_POWER_BUTTON visibility. |
| 1174 | |
Patrick Georgi | cc66926 | 2010-03-14 21:31:05 +0000 | [diff] [blame] | 1175 | source src/Kconfig.deprecated_options |
Stefan Reinauer | b89a761 | 2012-03-30 01:01:51 +0200 | [diff] [blame] | 1176 | source src/vendorcode/Kconfig |