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 |
Sven Schnelle | 7592e8b | 2011-01-27 11:43:03 +0000 | [diff] [blame] | 221 | comment "Embedded Controllers" |
| 222 | source src/ec/Kconfig |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 223 | |
| 224 | endmenu |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 225 | |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 226 | source src/devices/Kconfig |
| 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 HEAP_SIZE |
| 233 | hex |
Myles Watson | 04000f4 | 2009-10-16 19:12:49 +0000 | [diff] [blame] | 234 | default 0x4000 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 235 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 236 | config MAX_CPUS |
| 237 | int |
| 238 | default 1 |
| 239 | |
| 240 | config MMCONF_SUPPORT_DEFAULT |
| 241 | bool |
| 242 | default n |
| 243 | |
| 244 | config MMCONF_SUPPORT |
| 245 | bool |
| 246 | default n |
| 247 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 248 | source src/console/Kconfig |
| 249 | |
Stefan Reinauer | 4885daa | 2011-04-26 23:47:04 +0000 | [diff] [blame] | 250 | # This should default to N and be set by SuperI/O drivers that have an UART |
| 251 | config HAVE_UART_IO_MAPPED |
| 252 | bool |
| 253 | default y |
| 254 | |
| 255 | config HAVE_UART_MEMORY_MAPPED |
| 256 | bool |
| 257 | default n |
| 258 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 259 | config HAVE_ACPI_RESUME |
| 260 | bool |
| 261 | default n |
| 262 | |
Stefan Reinauer | c4f1a77 | 2010-06-05 10:03:08 +0000 | [diff] [blame] | 263 | config HAVE_ACPI_SLIC |
| 264 | bool |
| 265 | default n |
| 266 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 267 | config ACPI_SSDTX_NUM |
| 268 | int |
| 269 | default 0 |
| 270 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 271 | config HAVE_HARD_RESET |
| 272 | bool |
Uwe Hermann | 748475b | 2009-10-09 11:47:21 +0000 | [diff] [blame] | 273 | default n |
Patrick Georgi | 37bdb87 | 2010-02-27 08:39:04 +0000 | [diff] [blame] | 274 | help |
| 275 | This variable specifies whether a given board has a hard_reset |
| 276 | function, no matter if it's provided by board code or chipset code. |
| 277 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 278 | config HAVE_INIT_TIMER |
| 279 | bool |
Patrick Georgi | 1f807fd | 2010-01-04 20:09:27 +0000 | [diff] [blame] | 280 | default n if UDELAY_IO |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 281 | default y |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 282 | |
zbao | f722373 | 2012-04-13 13:42:15 +0800 | [diff] [blame] | 283 | config HIGH_SCRATCH_MEMORY_SIZE |
| 284 | hex |
| 285 | default 0x0 |
| 286 | |
Edwin Beasant | eb50c7d | 2010-07-06 21:05:04 +0000 | [diff] [blame] | 287 | config USE_OPTION_TABLE |
| 288 | bool |
| 289 | default n |
| 290 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 291 | config HAVE_OPTION_TABLE |
| 292 | bool |
Edwin Beasant | eb50c7d | 2010-07-06 21:05:04 +0000 | [diff] [blame] | 293 | default n |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 294 | help |
| 295 | This variable specifies whether a given board has a cmos.layout |
| 296 | file containing NVRAM/CMOS bit definitions. |
Edwin Beasant | eb50c7d | 2010-07-06 21:05:04 +0000 | [diff] [blame] | 297 | It defaults to 'n' but can be selected in mainboard/*/Kconfig. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 298 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 299 | config PIRQ_ROUTE |
| 300 | bool |
| 301 | default n |
| 302 | |
| 303 | config HAVE_SMI_HANDLER |
| 304 | bool |
| 305 | default n |
| 306 | |
| 307 | config PCI_IO_CFG_EXT |
| 308 | bool |
| 309 | default n |
| 310 | |
| 311 | config IOAPIC |
| 312 | bool |
| 313 | default n |
| 314 | |
Stefan Reinauer | 5b63579 | 2012-08-16 14:05:42 -0700 | [diff] [blame] | 315 | config CBFS_SIZE |
| 316 | hex |
| 317 | default ROM_SIZE |
| 318 | |
| 319 | config CACHE_ROM_SIZE |
| 320 | hex |
| 321 | default CBFS_SIZE |
| 322 | |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 323 | # 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] | 324 | config VIDEO_MB |
| 325 | int |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 326 | default 0 |
Uwe Hermann | 70b0cf2 | 2009-10-04 17:15:39 +0000 | [diff] [blame] | 327 | |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 328 | config USE_WATCHDOG_ON_BOOT |
| 329 | bool |
| 330 | default n |
| 331 | |
| 332 | config VGA |
| 333 | bool |
| 334 | default n |
| 335 | help |
| 336 | Build board-specific VGA code. |
| 337 | |
| 338 | config GFXUMA |
| 339 | bool |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 340 | default n |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 341 | help |
| 342 | Enable Unified Memory Architecture for graphics. |
| 343 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 344 | config HAVE_ACPI_TABLES |
| 345 | bool |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 346 | help |
| 347 | This variable specifies whether a given board has ACPI table support. |
| 348 | It is usually set in mainboard/*/Kconfig. |
| 349 | Whether or not the ACPI tables are actually generated by coreboot |
| 350 | is configurable by the user via GENERATE_ACPI_TABLES. |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 351 | |
| 352 | config HAVE_MP_TABLE |
| 353 | bool |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 354 | help |
| 355 | This variable specifies whether a given board has MP table support. |
| 356 | It is usually set in mainboard/*/Kconfig. |
| 357 | Whether or not the MP table is actually generated by coreboot |
| 358 | is configurable by the user via GENERATE_MP_TABLE. |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 359 | |
| 360 | config HAVE_PIRQ_TABLE |
| 361 | bool |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 362 | help |
| 363 | This variable specifies whether a given board has PIRQ table support. |
| 364 | It is usually set in mainboard/*/Kconfig. |
| 365 | Whether or not the PIRQ table is actually generated by coreboot |
| 366 | is configurable by the user via GENERATE_PIRQ_TABLE. |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 367 | |
Alexandru Gagniuc | 70c660f | 2012-08-23 02:32:58 -0500 | [diff] [blame] | 368 | config MAX_PIRQ_LINKS |
| 369 | int |
| 370 | default 4 |
| 371 | help |
| 372 | This variable specifies the number of PIRQ interrupt links which are |
| 373 | routable. On most chipsets, this is 4, INTA through INTD. Some |
| 374 | chipsets offer more than four links, commonly up to INTH. They may |
| 375 | also have a separate link for ATA or IOAPIC interrupts. When the PIRQ |
| 376 | table specifies links greater than 4, pirq_route_irqs will not |
| 377 | function properly, unless this variable is correctly set. |
| 378 | |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 379 | #These Options are here to avoid "undefined" warnings. |
| 380 | #The actual selection and help texts are in the following menu. |
| 381 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 382 | menu "System tables" |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 383 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 384 | config WRITE_HIGH_TABLES |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 385 | bool "Write 'high' tables to avoid being overwritten in F segment" |
| 386 | default y |
| 387 | |
| 388 | config MULTIBOOT |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 389 | bool "Generate Multiboot tables (for GRUB2)" |
Ronald G. Minnich | 7f91d92 | 2009-11-09 17:56:47 +0000 | [diff] [blame] | 390 | default y |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 391 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 392 | config GENERATE_ACPI_TABLES |
Stefan Reinauer | 56cd70b | 2012-11-13 17:33:08 -0800 | [diff] [blame^] | 393 | prompt "Generate ACPI tables" if HAVE_ACPI_TABLES |
| 394 | bool |
| 395 | default HAVE_ACPI_TABLES |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 396 | help |
| 397 | Generate ACPI tables for this board. |
| 398 | |
| 399 | If unsure, say Y. |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 400 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 401 | config GENERATE_MP_TABLE |
Stefan Reinauer | 56cd70b | 2012-11-13 17:33:08 -0800 | [diff] [blame^] | 402 | prompt "Generate an MP table" if HAVE_MP_TABLE || DRIVERS_GENERIC_IOAPIC |
| 403 | bool |
| 404 | default HAVE_MP_TABLE || DRIVERS_GENERIC_IOAPIC |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 405 | help |
| 406 | Generate an MP table (conforming to the Intel MultiProcessor |
| 407 | specification 1.4) for this board. |
| 408 | |
| 409 | If unsure, say Y. |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 410 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 411 | config GENERATE_PIRQ_TABLE |
Stefan Reinauer | 56cd70b | 2012-11-13 17:33:08 -0800 | [diff] [blame^] | 412 | prompt "Generate a PIRQ table" if HAVE_PIRQ_TABLE |
| 413 | bool |
| 414 | default HAVE_PIRQ_TABLE |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 415 | help |
| 416 | Generate a PIRQ table for this board. |
| 417 | |
| 418 | If unsure, say Y. |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 419 | |
Sven Schnelle | 164bcfd | 2011-08-14 20:56:34 +0200 | [diff] [blame] | 420 | config GENERATE_SMBIOS_TABLES |
| 421 | depends on ARCH_X86 |
| 422 | bool "Generate SMBIOS tables" |
| 423 | default y |
| 424 | help |
| 425 | Generate SMBIOS tables for this board. |
| 426 | |
| 427 | If unsure, say Y. |
| 428 | |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 429 | endmenu |
| 430 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 431 | menu "Payload" |
| 432 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 433 | choice |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 434 | prompt "Add a payload" |
Stefan Reinauer | f1939bb | 2010-12-30 17:39:50 +0000 | [diff] [blame] | 435 | default PAYLOAD_NONE if !ARCH_X86 |
| 436 | default PAYLOAD_SEABIOS if ARCH_X86 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 437 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 438 | config PAYLOAD_NONE |
| 439 | bool "None" |
| 440 | help |
| 441 | Select this option if you want to create an "empty" coreboot |
| 442 | ROM image for a certain mainboard, i.e. a coreboot ROM image |
| 443 | which does not yet contain a payload. |
| 444 | |
| 445 | For such an image to be useful, you have to use 'cbfstool' |
| 446 | to add a payload to the ROM image later. |
| 447 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 448 | config PAYLOAD_ELF |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 449 | bool "An ELF executable payload" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 450 | help |
| 451 | Select this option if you have a payload image (an ELF file) |
| 452 | which coreboot should run as soon as the basic hardware |
| 453 | initialization is completed. |
| 454 | |
| 455 | You will be able to specify the location and file name of the |
| 456 | payload image later. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 457 | |
Stefan Reinauer | f1939bb | 2010-12-30 17:39:50 +0000 | [diff] [blame] | 458 | config PAYLOAD_SEABIOS |
| 459 | bool "SeaBIOS" |
| 460 | depends on ARCH_X86 |
| 461 | help |
| 462 | Select this option if you want to build a coreboot image |
| 463 | with a SeaBIOS payload. If you don't know what this is |
| 464 | about, just leave it enabled. |
| 465 | |
| 466 | See http://coreboot.org/Payloads for more information. |
| 467 | |
Stefan Reinauer | e50952f | 2011-04-15 03:34:05 +0000 | [diff] [blame] | 468 | config PAYLOAD_FILO |
| 469 | bool "FILO" |
| 470 | help |
| 471 | Select this option if you want to build a coreboot image |
| 472 | with a FILO payload. If you don't know what this is |
| 473 | about, just leave it enabled. |
| 474 | |
| 475 | See http://coreboot.org/Payloads for more information. |
| 476 | |
Stefan Reinauer | f1939bb | 2010-12-30 17:39:50 +0000 | [diff] [blame] | 477 | endchoice |
| 478 | |
| 479 | choice |
| 480 | prompt "SeaBIOS version" |
| 481 | default SEABIOS_STABLE |
| 482 | depends on PAYLOAD_SEABIOS |
| 483 | |
| 484 | config SEABIOS_STABLE |
Peter Stuge | 9b48ef2 | 2012-10-16 02:25:07 +0200 | [diff] [blame] | 485 | bool "1.7.1" |
Stefan Reinauer | f1939bb | 2010-12-30 17:39:50 +0000 | [diff] [blame] | 486 | help |
| 487 | Stable SeaBIOS version |
| 488 | config SEABIOS_MASTER |
| 489 | bool "master" |
| 490 | help |
| 491 | Newest SeaBIOS version |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 492 | endchoice |
| 493 | |
Stefan Reinauer | e50952f | 2011-04-15 03:34:05 +0000 | [diff] [blame] | 494 | choice |
| 495 | prompt "FILO version" |
| 496 | default FILO_STABLE |
| 497 | depends on PAYLOAD_FILO |
| 498 | |
| 499 | config FILO_STABLE |
| 500 | bool "0.6.0" |
| 501 | help |
| 502 | Stable FILO version |
| 503 | config FILO_MASTER |
| 504 | bool "HEAD" |
| 505 | help |
| 506 | Newest FILO version |
| 507 | endchoice |
| 508 | |
Stefan Reinauer | bccbbe6 | 2010-12-19 21:20:14 +0000 | [diff] [blame] | 509 | config PAYLOAD_FILE |
Cristi Magherusan | b5034d4 | 2009-08-17 14:47:32 +0000 | [diff] [blame] | 510 | string "Payload path and filename" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 511 | depends on PAYLOAD_ELF |
| 512 | default "payload.elf" |
| 513 | help |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 514 | 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] | 515 | |
Stefan Reinauer | f1939bb | 2010-12-30 17:39:50 +0000 | [diff] [blame] | 516 | config PAYLOAD_FILE |
| 517 | depends on PAYLOAD_SEABIOS |
Stefan Reinauer | aff6dc2 | 2012-01-21 10:34:22 -0800 | [diff] [blame] | 518 | default "$(obj)/seabios/out/bios.bin.elf" |
Stefan Reinauer | f1939bb | 2010-12-30 17:39:50 +0000 | [diff] [blame] | 519 | |
Stefan Reinauer | e50952f | 2011-04-15 03:34:05 +0000 | [diff] [blame] | 520 | config PAYLOAD_FILE |
| 521 | depends on PAYLOAD_FILO |
| 522 | default "payloads/external/FILO/filo/build/filo.elf" |
| 523 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 524 | # TODO: Defined if no payload? Breaks build? |
| 525 | config COMPRESSED_PAYLOAD_LZMA |
| 526 | bool "Use LZMA compression for payloads" |
| 527 | default y |
Stefan Reinauer | e50952f | 2011-04-15 03:34:05 +0000 | [diff] [blame] | 528 | depends on PAYLOAD_ELF || PAYLOAD_SEABIOS || PAYLOAD_FILO |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 529 | help |
| 530 | In order to reduce the size payloads take up in the ROM chip |
| 531 | coreboot can compress them using the LZMA algorithm. |
| 532 | |
Myles Watson | 04000f4 | 2009-10-16 19:12:49 +0000 | [diff] [blame] | 533 | config COMPRESSED_PAYLOAD_NRV2B |
Peter Stuge | d7b37b0 | 2009-10-17 03:00:04 +0000 | [diff] [blame] | 534 | bool |
Myles Watson | 04000f4 | 2009-10-16 19:12:49 +0000 | [diff] [blame] | 535 | default n |
| 536 | |
Peter Stuge | a758ca2 | 2009-09-17 16:21:31 +0000 | [diff] [blame] | 537 | endmenu |
| 538 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 539 | menu "Debugging" |
| 540 | |
| 541 | # TODO: Better help text and detailed instructions. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 542 | config GDB_STUB |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 543 | bool "GDB debugging support" |
Rudolf Marek | 6588802 | 2012-03-25 20:51:16 +0200 | [diff] [blame] | 544 | default n |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 545 | help |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 546 | If enabled, you will be able to set breakpoints for gdb debugging. |
Stefan Reinauer | 8677a23 | 2010-12-11 20:33:41 +0000 | [diff] [blame] | 547 | See src/arch/x86/lib/c_start.S for details. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 548 | |
Denis 'GNUtoo' Carikli | e4cece0 | 2012-06-22 15:56:37 +0200 | [diff] [blame] | 549 | config GDB_WAIT |
| 550 | bool "Wait for a GDB connection" |
| 551 | default n |
| 552 | depends on GDB_STUB |
| 553 | help |
| 554 | If enabled, coreboot will wait for a GDB connection. |
| 555 | |
Stefan Reinauer | fe42218 | 2012-05-02 16:33:18 -0700 | [diff] [blame] | 556 | config DEBUG_CBFS |
| 557 | bool "Output verbose CBFS debug messages" |
| 558 | default n |
| 559 | depends on TPM |
| 560 | help |
| 561 | This option enables additional CBFS related debug messages. |
| 562 | |
Jens Rottmann | 0d11f2d | 2010-08-26 12:46:02 +0000 | [diff] [blame] | 563 | config HAVE_DEBUG_RAM_SETUP |
| 564 | def_bool n |
| 565 | |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 566 | config DEBUG_RAM_SETUP |
| 567 | bool "Output verbose RAM init debug messages" |
| 568 | default n |
Jens Rottmann | 0d11f2d | 2010-08-26 12:46:02 +0000 | [diff] [blame] | 569 | depends on HAVE_DEBUG_RAM_SETUP |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 570 | help |
| 571 | This option enables additional RAM init related debug messages. |
| 572 | It is recommended to enable this when debugging issues on your |
| 573 | board which might be RAM init related. |
| 574 | |
| 575 | Note: This option will increase the size of the coreboot image. |
| 576 | |
| 577 | If unsure, say N. |
| 578 | |
Patrick Georgi | e82618d | 2010-10-01 14:50:12 +0000 | [diff] [blame] | 579 | config HAVE_DEBUG_CAR |
| 580 | def_bool n |
| 581 | |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 582 | config DEBUG_CAR |
| 583 | def_bool n |
| 584 | depends on HAVE_DEBUG_CAR |
| 585 | |
| 586 | if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8 |
Uwe Hermann | a953f37 | 2010-11-10 00:14:32 +0000 | [diff] [blame] | 587 | # Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional |
| 588 | # printk(BIOS_DEBUG, ...) calls. |
Patrick Georgi | e82618d | 2010-10-01 14:50:12 +0000 | [diff] [blame] | 589 | config DEBUG_CAR |
| 590 | bool "Output verbose Cache-as-RAM debug messages" |
| 591 | default n |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 592 | depends on HAVE_DEBUG_CAR |
Patrick Georgi | e82618d | 2010-10-01 14:50:12 +0000 | [diff] [blame] | 593 | help |
| 594 | This option enables additional CAR related debug messages. |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 595 | endif |
Patrick Georgi | e82618d | 2010-10-01 14:50:12 +0000 | [diff] [blame] | 596 | |
Myles Watson | 80e914ff | 2010-06-01 19:25:31 +0000 | [diff] [blame] | 597 | config DEBUG_PIRQ |
| 598 | bool "Check PIRQ table consistency" |
| 599 | default n |
| 600 | depends on GENERATE_PIRQ_TABLE |
| 601 | help |
| 602 | If unsure, say N. |
| 603 | |
Jens Rottmann | 0d11f2d | 2010-08-26 12:46:02 +0000 | [diff] [blame] | 604 | config HAVE_DEBUG_SMBUS |
| 605 | def_bool n |
| 606 | |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 607 | config DEBUG_SMBUS |
| 608 | bool "Output verbose SMBus debug messages" |
| 609 | default n |
Jens Rottmann | 0d11f2d | 2010-08-26 12:46:02 +0000 | [diff] [blame] | 610 | depends on HAVE_DEBUG_SMBUS |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 611 | help |
| 612 | This option enables additional SMBus (and SPD) debug messages. |
| 613 | |
| 614 | Note: This option will increase the size of the coreboot image. |
| 615 | |
| 616 | If unsure, say N. |
| 617 | |
| 618 | config DEBUG_SMI |
| 619 | bool "Output verbose SMI debug messages" |
| 620 | default n |
| 621 | depends on HAVE_SMI_HANDLER |
| 622 | help |
| 623 | This option enables additional SMI related debug messages. |
| 624 | |
| 625 | Note: This option will increase the size of the coreboot image. |
| 626 | |
| 627 | If unsure, say N. |
| 628 | |
Stefan Reinauer | bc0f7a6 | 2010-08-01 15:41:14 +0000 | [diff] [blame] | 629 | config DEBUG_SMM_RELOCATION |
| 630 | bool "Debug SMM relocation code" |
| 631 | default n |
| 632 | depends on HAVE_SMI_HANDLER |
| 633 | help |
| 634 | This option enables additional SMM handler relocation related |
| 635 | debug messages. |
| 636 | |
| 637 | Note: This option will increase the size of the coreboot image. |
| 638 | |
| 639 | If unsure, say N. |
| 640 | |
Uwe Hermann | a953f37 | 2010-11-10 00:14:32 +0000 | [diff] [blame] | 641 | # Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional |
| 642 | # printk(BIOS_DEBUG, ...) calls. |
| 643 | config DEBUG_MALLOC |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 644 | prompt "Output verbose malloc debug messages" if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8 |
| 645 | bool |
Uwe Hermann | a953f37 | 2010-11-10 00:14:32 +0000 | [diff] [blame] | 646 | default n |
Uwe Hermann | a953f37 | 2010-11-10 00:14:32 +0000 | [diff] [blame] | 647 | help |
| 648 | This option enables additional malloc related debug messages. |
| 649 | |
| 650 | Note: This option will increase the size of the coreboot image. |
| 651 | |
| 652 | If unsure, say N. |
Cristian Măgherușan-Stanciu | 9f52ea4 | 2011-07-02 00:44:39 +0300 | [diff] [blame] | 653 | |
| 654 | # Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional |
| 655 | # printk(BIOS_DEBUG, ...) calls. |
Cristian Măgherușan-Stanciu | 9f52ea4 | 2011-07-02 00:44:39 +0300 | [diff] [blame] | 656 | config DEBUG_ACPI |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 657 | prompt "Output verbose ACPI debug messages" if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8 |
| 658 | bool |
Cristian Măgherușan-Stanciu | 9f52ea4 | 2011-07-02 00:44:39 +0300 | [diff] [blame] | 659 | default n |
| 660 | help |
| 661 | This option enables additional ACPI related debug messages. |
| 662 | |
| 663 | Note: This option will slightly increase the size of the coreboot image. |
| 664 | |
| 665 | If unsure, say N. |
Cristian Măgherușan-Stanciu | 9f52ea4 | 2011-07-02 00:44:39 +0300 | [diff] [blame] | 666 | |
Uwe Hermann | a953f37 | 2010-11-10 00:14:32 +0000 | [diff] [blame] | 667 | # Only visible if debug level is DEBUG (7) or SPEW (8) as it does additional |
| 668 | # printk(BIOS_DEBUG, ...) calls. |
Myles Watson | 6c9bc01 | 2010-09-07 22:30:15 +0000 | [diff] [blame] | 669 | config REALMODE_DEBUG |
Stefan Reinauer | 95a6396 | 2012-11-13 17:00:01 -0800 | [diff] [blame] | 670 | prompt "Enable debug messages for option ROM execution" if DEFAULT_CONSOLE_LOGLEVEL_7 || DEFAULT_CONSOLE_LOGLEVEL_8 |
| 671 | bool |
Myles Watson | 6c9bc01 | 2010-09-07 22:30:15 +0000 | [diff] [blame] | 672 | default n |
Peter Stuge | 5015f79 | 2010-11-10 02:00:32 +0000 | [diff] [blame] | 673 | depends on PCI_OPTION_ROM_RUN_REALMODE |
Myles Watson | 6c9bc01 | 2010-09-07 22:30:15 +0000 | [diff] [blame] | 674 | help |
| 675 | This option enables additional x86emu related debug messages. |
| 676 | |
| 677 | Note: This option will increase the time to emulate a ROM. |
| 678 | |
| 679 | If unsure, say N. |
| 680 | |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 681 | config X86EMU_DEBUG |
| 682 | bool "Output verbose x86emu debug messages" |
| 683 | default n |
| 684 | depends on PCI_OPTION_ROM_RUN_YABEL |
| 685 | help |
| 686 | This option enables additional x86emu related debug messages. |
| 687 | |
| 688 | Note: This option will increase the size of the coreboot image. |
| 689 | |
| 690 | If unsure, say N. |
| 691 | |
| 692 | config X86EMU_DEBUG_JMP |
| 693 | bool "Trace JMP/RETF" |
| 694 | default n |
| 695 | depends on X86EMU_DEBUG |
| 696 | help |
| 697 | Print information about JMP and RETF opcodes from x86emu. |
| 698 | |
| 699 | Note: This option will increase the size of the coreboot image. |
| 700 | |
| 701 | If unsure, say N. |
| 702 | |
| 703 | config X86EMU_DEBUG_TRACE |
| 704 | bool "Trace all opcodes" |
| 705 | default n |
| 706 | depends on X86EMU_DEBUG |
| 707 | help |
| 708 | Print _all_ opcodes that are executed by x86emu. |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 709 | |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 710 | WARNING: This will produce a LOT of output and take a long time. |
| 711 | |
| 712 | Note: This option will increase the size of the coreboot image. |
| 713 | |
| 714 | If unsure, say N. |
| 715 | |
| 716 | config X86EMU_DEBUG_PNP |
| 717 | bool "Log Plug&Play accesses" |
| 718 | default n |
| 719 | depends on X86EMU_DEBUG |
| 720 | help |
| 721 | Print Plug And Play accesses made by option ROMs. |
| 722 | |
| 723 | Note: This option will increase the size of the coreboot image. |
| 724 | |
| 725 | If unsure, say N. |
| 726 | |
| 727 | config X86EMU_DEBUG_DISK |
| 728 | bool "Log Disk I/O" |
| 729 | default n |
| 730 | depends on X86EMU_DEBUG |
| 731 | help |
| 732 | Print Disk I/O related messages. |
| 733 | |
| 734 | Note: This option will increase the size of the coreboot image. |
| 735 | |
| 736 | If unsure, say N. |
| 737 | |
| 738 | config X86EMU_DEBUG_PMM |
| 739 | bool "Log PMM" |
| 740 | default n |
| 741 | depends on X86EMU_DEBUG |
| 742 | help |
| 743 | Print messages related to POST Memory Manager (PMM). |
| 744 | |
| 745 | Note: This option will increase the size of the coreboot image. |
| 746 | |
| 747 | If unsure, say N. |
| 748 | |
| 749 | |
| 750 | config X86EMU_DEBUG_VBE |
| 751 | bool "Debug VESA BIOS Extensions" |
| 752 | default n |
| 753 | depends on X86EMU_DEBUG |
| 754 | help |
| 755 | Print messages related to VESA BIOS Extension (VBE) functions. |
| 756 | |
| 757 | Note: This option will increase the size of the coreboot image. |
| 758 | |
| 759 | If unsure, say N. |
| 760 | |
| 761 | config X86EMU_DEBUG_INT10 |
| 762 | bool "Redirect INT10 output to console" |
| 763 | default n |
| 764 | depends on X86EMU_DEBUG |
| 765 | help |
| 766 | Let INT10 (i.e. character output) calls print messages to debug output. |
| 767 | |
| 768 | Note: This option will increase the size of the coreboot image. |
| 769 | |
| 770 | If unsure, say N. |
| 771 | |
| 772 | config X86EMU_DEBUG_INTERRUPTS |
| 773 | bool "Log intXX calls" |
| 774 | default n |
| 775 | depends on X86EMU_DEBUG |
| 776 | help |
| 777 | Print messages related to interrupt handling. |
| 778 | |
| 779 | Note: This option will increase the size of the coreboot image. |
| 780 | |
| 781 | If unsure, say N. |
| 782 | |
| 783 | config X86EMU_DEBUG_CHECK_VMEM_ACCESS |
| 784 | bool "Log special memory accesses" |
| 785 | default n |
| 786 | depends on X86EMU_DEBUG |
| 787 | help |
| 788 | Print messages related to accesses to certain areas of the virtual |
| 789 | memory (e.g. BDA (BIOS Data Area) or interrupt vectors) |
| 790 | |
| 791 | Note: This option will increase the size of the coreboot image. |
| 792 | |
| 793 | If unsure, say N. |
| 794 | |
| 795 | config X86EMU_DEBUG_MEM |
| 796 | bool "Log all memory accesses" |
| 797 | default n |
| 798 | depends on X86EMU_DEBUG |
| 799 | help |
| 800 | Print memory accesses made by option ROM. |
| 801 | Note: This also includes accesses to fetch instructions. |
| 802 | |
| 803 | Note: This option will increase the size of the coreboot image. |
| 804 | |
| 805 | If unsure, say N. |
| 806 | |
| 807 | config X86EMU_DEBUG_IO |
| 808 | bool "Log IO accesses" |
| 809 | default n |
| 810 | depends on X86EMU_DEBUG |
| 811 | help |
| 812 | Print I/O accesses made by option ROM. |
| 813 | |
| 814 | Note: This option will increase the size of the coreboot image. |
| 815 | |
| 816 | If unsure, say N. |
| 817 | |
Stefan Reinauer | dfb098d | 2011-11-17 12:50:54 -0800 | [diff] [blame] | 818 | config DEBUG_TPM |
| 819 | bool "Output verbose TPM debug messages" |
| 820 | default n |
| 821 | depends on TPM |
| 822 | help |
| 823 | This option enables additional TPM related debug messages. |
| 824 | |
Stefan Reinauer | 1c56d9b | 2012-05-10 11:27:32 -0700 | [diff] [blame] | 825 | config DEBUG_SPI_FLASH |
| 826 | bool "Output verbose SPI flash debug messages" |
| 827 | default n |
| 828 | depends on SPI_FLASH |
| 829 | help |
| 830 | This option enables additional SPI flash related debug messages. |
| 831 | |
Stefan Reinauer | 8e07382 | 2012-04-04 00:07:22 +0200 | [diff] [blame] | 832 | if SOUTHBRIDGE_INTEL_BD82X6X && DEFAULT_CONSOLE_LOGLEVEL_8 |
| 833 | # Only visible with the right southbridge and loglevel. |
| 834 | config DEBUG_INTEL_ME |
| 835 | bool "Verbose logging for Intel Management Engine" |
| 836 | default n |
| 837 | help |
| 838 | Enable verbose logging for Intel Management Engine driver that |
| 839 | is present on Intel 6-series chipsets. |
| 840 | endif |
| 841 | |
Stefan Reinauer | 5c50392 | 2010-03-13 22:07:15 +0000 | [diff] [blame] | 842 | config LLSHELL |
| 843 | bool "Built-in low-level shell" |
| 844 | default n |
| 845 | help |
| 846 | If enabled, you will have a low level shell to examine your machine. |
| 847 | Put llshell() in your (romstage) code to start the shell. |
Stefan Reinauer | 8677a23 | 2010-12-11 20:33:41 +0000 | [diff] [blame] | 848 | See src/arch/x86/llshell/llshell.inc for details. |
Stefan Reinauer | 5c50392 | 2010-03-13 22:07:15 +0000 | [diff] [blame] | 849 | |
Rudolf Marek | 7f0e930 | 2011-09-02 23:23:41 +0200 | [diff] [blame] | 850 | config TRACE |
| 851 | bool "Trace function calls" |
| 852 | default n |
| 853 | help |
| 854 | If enabled, every function will print information to console once |
| 855 | the function is entered. The syntax is ~0xaaaabbbb(0xccccdddd) |
| 856 | the 0xaaaabbbb is the actual function and 0xccccdddd is EIP |
| 857 | of calling function. Please note some printk releated functions |
| 858 | are omitted from trace to have good looking console dumps. |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 859 | endmenu |
| 860 | |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 861 | # These probably belong somewhere else, but they are needed somewhere. |
| 862 | config AP_CODE_IN_CAR |
| 863 | bool |
| 864 | default n |
| 865 | |
Jonathan Kollasch | e5b7507 | 2010-10-07 23:02:06 +0000 | [diff] [blame] | 866 | config RAMINIT_SYSINFO |
| 867 | bool |
| 868 | default n |
| 869 | |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 870 | config ENABLE_APIC_EXT_ID |
| 871 | bool |
| 872 | default n |
Myles Watson | 2e67273 | 2009-11-12 16:38:03 +0000 | [diff] [blame] | 873 | |
| 874 | config WARNINGS_ARE_ERRORS |
| 875 | bool |
Stefan Reinauer | 6f57b51 | 2010-07-08 16:41:05 +0000 | [diff] [blame] | 876 | default y |
Patrick Georgi | 436f99b | 2009-11-27 16:55:13 +0000 | [diff] [blame] | 877 | |
Peter Stuge | 51eafde | 2010-10-13 06:23:02 +0000 | [diff] [blame] | 878 | # The four POWER_BUTTON_DEFAULT_ENABLE, POWER_BUTTON_DEFAULT_DISABLE, |
| 879 | # POWER_BUTTON_FORCE_ENABLE and POWER_BUTTON_FORCE_DISABLE options are |
| 880 | # mutually exclusive. One of these options must be selected in the |
| 881 | # mainboard Kconfig if the chipset supports enabling and disabling of |
| 882 | # the power button. Chipset code uses the ENABLE_POWER_BUTTON option set |
| 883 | # in mainboard/Kconfig to know if the button should be enabled or not. |
| 884 | |
| 885 | config POWER_BUTTON_DEFAULT_ENABLE |
| 886 | def_bool n |
| 887 | help |
| 888 | Select when the board has a power button which can optionally be |
| 889 | disabled by the user. |
| 890 | |
| 891 | config POWER_BUTTON_DEFAULT_DISABLE |
| 892 | def_bool n |
| 893 | help |
| 894 | Select when the board has a power button which can optionally be |
| 895 | enabled by the user, e.g. when the board ships with a jumper over |
| 896 | the power switch contacts. |
| 897 | |
| 898 | config POWER_BUTTON_FORCE_ENABLE |
| 899 | def_bool n |
| 900 | help |
| 901 | Select when the board requires that the power button is always |
| 902 | enabled. |
| 903 | |
| 904 | config POWER_BUTTON_FORCE_DISABLE |
| 905 | def_bool n |
| 906 | help |
| 907 | Select when the board requires that the power button is always |
| 908 | disabled, e.g. when it has been hardwired to ground. |
| 909 | |
| 910 | config POWER_BUTTON_IS_OPTIONAL |
| 911 | bool |
| 912 | default y if POWER_BUTTON_DEFAULT_ENABLE || POWER_BUTTON_DEFAULT_DISABLE |
| 913 | default n if !(POWER_BUTTON_DEFAULT_ENABLE || POWER_BUTTON_DEFAULT_DISABLE) |
| 914 | help |
| 915 | Internal option that controls ENABLE_POWER_BUTTON visibility. |
| 916 | |
Stefan Reinauer | b89a761 | 2012-03-30 01:01:51 +0200 | [diff] [blame] | 917 | source src/vendorcode/Kconfig |