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