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 | |
| 20 | mainmenu "Coreboot Configuration" |
| 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 |
| 50 | prompt "Compiler" |
| 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" |
| 58 | config COMPILER_LLVM_CLANG |
| 59 | bool "LLVM/clang" |
| 60 | endchoice |
| 61 | |
Patrick Georgi | 020f51f | 2010-03-14 21:25:03 +0000 | [diff] [blame] | 62 | config SCANBUILD_ENABLE |
Patrick Georgi | 23d89cc | 2010-03-16 01:17:19 +0000 | [diff] [blame] | 63 | bool "Build with scan-build for static analysis" |
Patrick Georgi | 020f51f | 2010-03-14 21:25:03 +0000 | [diff] [blame] | 64 | default n |
| 65 | help |
| 66 | Changes the build process to scan-build is used. |
| 67 | Requires scan-build in path. |
| 68 | |
| 69 | config SCANBUILD_REPORT_LOCATION |
Patrick Georgi | 23d89cc | 2010-03-16 01:17:19 +0000 | [diff] [blame] | 70 | string "Directory to put scan-build report in" |
Patrick Georgi | 020f51f | 2010-03-14 21:25:03 +0000 | [diff] [blame] | 71 | default "" |
| 72 | depends on SCANBUILD_ENABLE |
| 73 | help |
| 74 | Where the scan-build report should be stored |
| 75 | |
Patrick Georgi | 516a2a7 | 2010-03-25 21:45:25 +0000 | [diff] [blame] | 76 | config CCACHE |
| 77 | bool "ccache" |
| 78 | default n |
| 79 | help |
| 80 | Enables the use of ccache for faster builds. |
| 81 | Requires ccache in path. |
| 82 | |
Joe Korty | 6d77252 | 2010-05-19 18:41:15 +0000 | [diff] [blame] | 83 | config USE_OPTION_TABLE |
| 84 | bool "Use CMOS for configuration values" |
| 85 | default n |
| 86 | help |
| 87 | Enable this option if coreboot shall read options from the "CMOS" |
| 88 | NVRAM instead of using hard coded values. |
| 89 | |
Uwe Hermann | c04be93 | 2009-10-05 13:55:28 +0000 | [diff] [blame] | 90 | endmenu |
| 91 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 92 | source src/mainboard/Kconfig |
| 93 | source src/arch/i386/Kconfig |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 94 | |
| 95 | menu "Chipset" |
| 96 | |
| 97 | comment "CPU" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 98 | source src/cpu/Kconfig |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 99 | comment "Northbridge" |
| 100 | source src/northbridge/Kconfig |
| 101 | comment "Southbridge" |
| 102 | source src/southbridge/Kconfig |
| 103 | comment "Super I/O" |
| 104 | source src/superio/Kconfig |
| 105 | comment "Devices" |
| 106 | source src/devices/Kconfig |
| 107 | |
| 108 | endmenu |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 109 | |
Rudolf Marek | d9c2549 | 2010-05-16 15:31:53 +0000 | [diff] [blame] | 110 | menu "Generic Drivers" |
| 111 | source src/drivers/Kconfig |
| 112 | endmenu |
| 113 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 114 | config PCI_BUS_SEGN_BITS |
Myles Watson | 74fb8f2 | 2009-09-24 15:09:11 +0000 | [diff] [blame] | 115 | int |
| 116 | default 0 |
Patrick Georgi | 892b091 | 2009-09-24 09:03:06 +0000 | [diff] [blame] | 117 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 118 | config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 119 | hex |
Uwe Hermann | 748475b | 2009-10-09 11:47:21 +0000 | [diff] [blame] | 120 | default 0x0 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 121 | |
| 122 | config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 123 | hex |
Uwe Hermann | 748475b | 2009-10-09 11:47:21 +0000 | [diff] [blame] | 124 | default 0x0 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 125 | |
| 126 | config CPU_ADDR_BITS |
| 127 | int |
| 128 | default 36 |
| 129 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 130 | config LOGICAL_CPUS |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 131 | bool |
| 132 | default y |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 133 | |
| 134 | config PCI_ROM_RUN |
Patrick Georgi | 698c0e0e | 2009-08-25 17:38:24 +0000 | [diff] [blame] | 135 | bool |
| 136 | default n |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 137 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 138 | config HEAP_SIZE |
| 139 | hex |
Myles Watson | 04000f4 | 2009-10-16 19:12:49 +0000 | [diff] [blame] | 140 | default 0x4000 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 141 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 142 | config DEBUG |
| 143 | bool |
| 144 | default n |
| 145 | |
| 146 | config USE_PRINTK_IN_CAR |
| 147 | bool |
| 148 | default n |
| 149 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 150 | config MAX_CPUS |
| 151 | int |
| 152 | default 1 |
| 153 | |
| 154 | config MMCONF_SUPPORT_DEFAULT |
| 155 | bool |
| 156 | default n |
| 157 | |
| 158 | config MMCONF_SUPPORT |
| 159 | bool |
| 160 | default n |
| 161 | |
Patrick Georgi | 91ff0df | 2009-10-09 12:32:52 +0000 | [diff] [blame] | 162 | config ATI_RAGE_XL |
| 163 | bool |
Patrick Georgi | 91ff0df | 2009-10-09 12:32:52 +0000 | [diff] [blame] | 164 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 165 | source src/console/Kconfig |
| 166 | |
| 167 | config HAVE_ACPI_RESUME |
| 168 | bool |
| 169 | default n |
| 170 | |
| 171 | config ACPI_SSDTX_NUM |
| 172 | int |
| 173 | default 0 |
| 174 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 175 | config HAVE_HARD_RESET |
| 176 | bool |
Patrick Georgi | 37bdb87 | 2010-02-27 08:39:04 +0000 | [diff] [blame] | 177 | default y if BOARD_HAS_HARD_RESET |
Uwe Hermann | 748475b | 2009-10-09 11:47:21 +0000 | [diff] [blame] | 178 | default n |
Patrick Georgi | 37bdb87 | 2010-02-27 08:39:04 +0000 | [diff] [blame] | 179 | help |
| 180 | This variable specifies whether a given board has a hard_reset |
| 181 | function, no matter if it's provided by board code or chipset code. |
| 182 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 183 | config HAVE_INIT_TIMER |
| 184 | bool |
Patrick Georgi | 1f807fd | 2010-01-04 20:09:27 +0000 | [diff] [blame] | 185 | default n if UDELAY_IO |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 186 | default y |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 187 | |
| 188 | config HAVE_MAINBOARD_RESOURCES |
| 189 | bool |
| 190 | default n |
| 191 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 192 | config HAVE_OPTION_TABLE |
| 193 | bool |
| 194 | default y |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 195 | help |
| 196 | This variable specifies whether a given board has a cmos.layout |
| 197 | file containing NVRAM/CMOS bit definitions. |
| 198 | It defaults to 'y' but can be changed to 'n' in mainboard/*/Kconfig. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 199 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 200 | config PIRQ_ROUTE |
| 201 | bool |
| 202 | default n |
| 203 | |
| 204 | config HAVE_SMI_HANDLER |
| 205 | bool |
| 206 | default n |
| 207 | |
| 208 | config PCI_IO_CFG_EXT |
| 209 | bool |
| 210 | default n |
| 211 | |
| 212 | config IOAPIC |
| 213 | bool |
| 214 | default n |
| 215 | |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 216 | # 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] | 217 | config VIDEO_MB |
| 218 | int |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 219 | default 0 |
Uwe Hermann | 70b0cf2 | 2009-10-04 17:15:39 +0000 | [diff] [blame] | 220 | |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 221 | config USE_WATCHDOG_ON_BOOT |
| 222 | bool |
| 223 | default n |
| 224 | |
| 225 | config VGA |
| 226 | bool |
| 227 | default n |
| 228 | help |
| 229 | Build board-specific VGA code. |
| 230 | |
| 231 | config GFXUMA |
| 232 | bool |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 233 | default n |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 234 | help |
| 235 | Enable Unified Memory Architecture for graphics. |
| 236 | |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 237 | # TODO |
| 238 | # menu "Drivers" |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 239 | # |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 240 | # endmenu |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 241 | |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 242 | #TODO Remove this option or make it useful. |
| 243 | config HAVE_LOW_TABLES |
| 244 | bool |
| 245 | default y |
| 246 | help |
| 247 | This Option is unused in the code. Since two boards try to set it to |
| 248 | 'n', they may be broken. We either need to make the option useful or |
| 249 | get rid of it. The broken boards are: |
| 250 | asus/m2v-mx_se |
| 251 | supermicro/h8dme |
| 252 | |
| 253 | config HAVE_HIGH_TABLES |
| 254 | bool |
Stefan Reinauer | 13f2bb0 | 2010-02-25 13:45:08 +0000 | [diff] [blame] | 255 | default y |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 256 | help |
| 257 | This variable specifies whether a given northbridge has high table |
| 258 | support. |
| 259 | It is set in northbridge/*/Kconfig. |
| 260 | Whether or not the high tables are actually written by coreboot is |
| 261 | configurable by the user via WRITE_HIGH_TABLES. |
| 262 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 263 | config HAVE_ACPI_TABLES |
| 264 | bool |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 265 | help |
| 266 | This variable specifies whether a given board has ACPI table support. |
| 267 | It is usually set in mainboard/*/Kconfig. |
| 268 | Whether or not the ACPI tables are actually generated by coreboot |
| 269 | is configurable by the user via GENERATE_ACPI_TABLES. |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 270 | |
| 271 | config HAVE_MP_TABLE |
| 272 | bool |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 273 | help |
| 274 | This variable specifies whether a given board has MP table support. |
| 275 | It is usually set in mainboard/*/Kconfig. |
| 276 | Whether or not the MP table is actually generated by coreboot |
| 277 | is configurable by the user via GENERATE_MP_TABLE. |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 278 | |
| 279 | config HAVE_PIRQ_TABLE |
| 280 | bool |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 281 | help |
| 282 | This variable specifies whether a given board has PIRQ table support. |
| 283 | It is usually set in mainboard/*/Kconfig. |
| 284 | Whether or not the PIRQ table is actually generated by coreboot |
| 285 | is configurable by the user via GENERATE_PIRQ_TABLE. |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 286 | |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 287 | #These Options are here to avoid "undefined" warnings. |
| 288 | #The actual selection and help texts are in the following menu. |
| 289 | |
| 290 | config GENERATE_ACPI_TABLES |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 291 | bool |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 292 | default HAVE_ACPI_TABLES |
| 293 | |
| 294 | config GENERATE_MP_TABLE |
| 295 | bool |
| 296 | default HAVE_MP_TABLE |
| 297 | |
| 298 | config GENERATE_PIRQ_TABLE |
| 299 | bool |
| 300 | default HAVE_PIRQ_TABLE |
| 301 | |
| 302 | config WRITE_HIGH_TABLES |
| 303 | bool |
| 304 | default HAVE_HIGH_TABLES |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 305 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 306 | menu "System tables" |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 307 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 308 | config WRITE_HIGH_TABLES |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 309 | bool "Write 'high' tables to avoid being overwritten in F segment" |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 310 | depends on HAVE_HIGH_TABLES |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 311 | default y |
| 312 | |
| 313 | config MULTIBOOT |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 314 | bool "Generate Multiboot tables (for GRUB2)" |
Ronald G. Minnich | 7f91d92 | 2009-11-09 17:56:47 +0000 | [diff] [blame] | 315 | default y |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 316 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 317 | config GENERATE_ACPI_TABLES |
| 318 | depends on HAVE_ACPI_TABLES |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 319 | bool "Generate ACPI tables" |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 320 | default y |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 321 | help |
| 322 | Generate ACPI tables for this board. |
| 323 | |
| 324 | If unsure, say Y. |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 325 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 326 | config GENERATE_MP_TABLE |
| 327 | depends on HAVE_MP_TABLE |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 328 | bool "Generate an MP table" |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 329 | default y |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 330 | help |
| 331 | Generate an MP table (conforming to the Intel MultiProcessor |
| 332 | specification 1.4) for this board. |
| 333 | |
| 334 | If unsure, say Y. |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 335 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 336 | config GENERATE_PIRQ_TABLE |
| 337 | depends on HAVE_PIRQ_TABLE |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 338 | bool "Generate a PIRQ table" |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 339 | default y |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 340 | help |
| 341 | Generate a PIRQ table for this board. |
| 342 | |
| 343 | If unsure, say Y. |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 344 | |
| 345 | endmenu |
| 346 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 347 | menu "Payload" |
| 348 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 349 | choice |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 350 | prompt "Add a payload" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 351 | default PAYLOAD_NONE |
| 352 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 353 | config PAYLOAD_NONE |
| 354 | bool "None" |
| 355 | help |
| 356 | Select this option if you want to create an "empty" coreboot |
| 357 | ROM image for a certain mainboard, i.e. a coreboot ROM image |
| 358 | which does not yet contain a payload. |
| 359 | |
| 360 | For such an image to be useful, you have to use 'cbfstool' |
| 361 | to add a payload to the ROM image later. |
| 362 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 363 | config PAYLOAD_ELF |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 364 | bool "An ELF executable payload" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 365 | help |
| 366 | Select this option if you have a payload image (an ELF file) |
| 367 | which coreboot should run as soon as the basic hardware |
| 368 | initialization is completed. |
| 369 | |
| 370 | You will be able to specify the location and file name of the |
| 371 | payload image later. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 372 | |
| 373 | endchoice |
| 374 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 375 | config FALLBACK_PAYLOAD_FILE |
Cristi Magherusan | b5034d4 | 2009-08-17 14:47:32 +0000 | [diff] [blame] | 376 | string "Payload path and filename" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 377 | depends on PAYLOAD_ELF |
| 378 | default "payload.elf" |
| 379 | help |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 380 | 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] | 381 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 382 | # TODO: Defined if no payload? Breaks build? |
| 383 | config COMPRESSED_PAYLOAD_LZMA |
| 384 | bool "Use LZMA compression for payloads" |
| 385 | default y |
| 386 | depends on PAYLOAD_ELF |
| 387 | help |
| 388 | In order to reduce the size payloads take up in the ROM chip |
| 389 | coreboot can compress them using the LZMA algorithm. |
| 390 | |
Myles Watson | 04000f4 | 2009-10-16 19:12:49 +0000 | [diff] [blame] | 391 | config COMPRESSED_PAYLOAD_NRV2B |
Peter Stuge | d7b37b0 | 2009-10-17 03:00:04 +0000 | [diff] [blame] | 392 | bool |
Myles Watson | 04000f4 | 2009-10-16 19:12:49 +0000 | [diff] [blame] | 393 | default n |
| 394 | |
Peter Stuge | a758ca2 | 2009-09-17 16:21:31 +0000 | [diff] [blame] | 395 | endmenu |
| 396 | |
| 397 | menu "VGA BIOS" |
| 398 | |
| 399 | config VGA_BIOS |
| 400 | bool "Add a VGA BIOS image" |
| 401 | help |
| 402 | Select this option if you have a VGA BIOS image that you would |
| 403 | like to add to your ROM. |
| 404 | |
| 405 | You will be able to specify the location and file name of the |
| 406 | image later. |
| 407 | |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 408 | config FALLBACK_VGA_BIOS_FILE |
| 409 | string "VGA BIOS path and filename" |
| 410 | depends on VGA_BIOS |
| 411 | default "vgabios.bin" |
| 412 | help |
| 413 | The path and filename of the file to use as VGA BIOS. |
| 414 | |
| 415 | config FALLBACK_VGA_BIOS_ID |
Uwe Hermann | 81b3c0a | 2009-10-30 12:56:59 +0000 | [diff] [blame] | 416 | string "VGA device PCI IDs" |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 417 | depends on VGA_BIOS |
| 418 | default "1106,3230" |
| 419 | help |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 420 | The comma-separated PCI vendor and device ID that would associate |
| 421 | your VGA BIOS to your video card. |
| 422 | |
| 423 | Example: 1106,3230 |
| 424 | |
| 425 | In the above example 1106 is the PCI vendor ID (in hex, but without |
| 426 | the "0x" prefix) and 3230 specifies the PCI device ID of the |
| 427 | video card (also in hex, without "0x" prefix). |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 428 | |
Stefan Reinauer | 800379f | 2010-03-01 08:34:19 +0000 | [diff] [blame] | 429 | config INTEL_MBI |
| 430 | bool "Add an MBI image" |
| 431 | depends on NORTHBRIDGE_INTEL_I82830 |
| 432 | help |
| 433 | Select this option if you have an Intel MBI image that you would |
| 434 | like to add to your ROM. |
| 435 | |
| 436 | You will be able to specify the location and file name of the |
| 437 | image later. |
| 438 | |
| 439 | config FALLBACK_MBI_FILE |
| 440 | string "Intel MBI path and filename" |
| 441 | depends on INTEL_MBI |
| 442 | default "mbi.bin" |
| 443 | help |
| 444 | The path and filename of the file to use as VGA BIOS. |
| 445 | |
| 446 | endmenu |
| 447 | |
| 448 | menu "Bootsplash" |
| 449 | depends on PCI_OPTION_ROM_RUN_YABEL |
| 450 | |
| 451 | config BOOTSPLASH |
| 452 | prompt "Show graphical bootsplash" |
| 453 | bool |
| 454 | depends on PCI_OPTION_ROM_RUN_YABEL |
| 455 | help |
| 456 | This option shows a graphical bootsplash screen. The grapics are |
| 457 | loaded from the CBFS file bootsplash.jpg. |
| 458 | |
| 459 | config FALLBACK_BOOTSPLASH_FILE |
| 460 | string "Bootsplash path and filename" |
| 461 | depends on BOOTSPLASH |
| 462 | default "bootsplash.jpg" |
| 463 | help |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 464 | The path and filename of the file to use as graphical bootsplash |
| 465 | screen. The file format has to be jpg. |
Stefan Reinauer | 800379f | 2010-03-01 08:34:19 +0000 | [diff] [blame] | 466 | |
| 467 | # TODO: Turn this into a "choice". |
| 468 | config FRAMEBUFFER_VESA_MODE |
| 469 | prompt "VESA framebuffer video mode" |
| 470 | hex |
| 471 | default 0x117 |
| 472 | depends on BOOTSPLASH |
| 473 | help |
| 474 | This option sets the resolution used for the coreboot framebuffer and |
| 475 | bootsplash screen. Set to 0x117 for 1024x768x16. A diligent soul will |
| 476 | some day make this a "choice". |
| 477 | |
| 478 | config COREBOOT_KEEP_FRAMEBUFFER |
| 479 | prompt "Keep VESA framebuffer" |
| 480 | bool |
| 481 | depends on BOOTSPLASH |
| 482 | help |
| 483 | This option keeps the framebuffer mode set after coreboot finishes |
| 484 | execution. If this option is enabled, coreboot will pass a |
| 485 | framebuffer entry in its coreboot table and the payload will need a |
| 486 | framebuffer driver. If this option is disabled, coreboot will switch |
| 487 | back to text mode before handing control to a payload. |
| 488 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 489 | endmenu |
| 490 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 491 | menu "Debugging" |
| 492 | |
| 493 | # TODO: Better help text and detailed instructions. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 494 | config GDB_STUB |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 495 | bool "GDB debugging support" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 496 | default y |
| 497 | help |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 498 | If enabled, you will be able to set breakpoints for gdb debugging. |
| 499 | See src/arch/i386/lib/c_start.S for details. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 500 | |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 501 | config DEBUG_RAM_SETUP |
| 502 | bool "Output verbose RAM init debug messages" |
| 503 | default n |
| 504 | depends on (NORTHBRIDGE_AMD_AMDFAM10 \ |
| 505 | || NORTHBRIDGE_AMD_AMDK8 \ |
| 506 | || NORTHBRIDGE_VIA_CN700 \ |
| 507 | || NORTHBRIDGE_VIA_CX700 \ |
| 508 | || NORTHBRIDGE_VIA_VX800 \ |
| 509 | || NORTHBRIDGE_INTEL_E7501 \ |
| 510 | || NORTHBRIDGE_INTEL_I440BX \ |
| 511 | || NORTHBRIDGE_INTEL_I82810 \ |
| 512 | || NORTHBRIDGE_INTEL_I82830 \ |
| 513 | || NORTHBRIDGE_INTEL_I945) |
| 514 | help |
| 515 | This option enables additional RAM init related debug messages. |
| 516 | It is recommended to enable this when debugging issues on your |
| 517 | board which might be RAM init related. |
| 518 | |
| 519 | Note: This option will increase the size of the coreboot image. |
| 520 | |
| 521 | If unsure, say N. |
| 522 | |
| 523 | config DEBUG_SMBUS |
| 524 | bool "Output verbose SMBus debug messages" |
| 525 | default n |
| 526 | depends on (SOUTHBRIDGE_VIA_VT8237R \ |
| 527 | || NORTHBRIDGE_VIA_VX800 \ |
| 528 | || NORTHBRIDGE_VIA_CX700 \ |
Stefan Reinauer | 8f2c616 | 2010-04-06 21:50:21 +0000 | [diff] [blame] | 529 | || NORTHBRIDGE_AMD_AMDK8 \ |
Stefan Reinauer | 8a926845 | 2010-04-07 03:40:37 +0000 | [diff] [blame] | 530 | || NORTHBRIDGE_AMD_AMDFAM10 \ |
| 531 | || SOUTHBRIDGE_VIA_VT8231) |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 532 | help |
| 533 | This option enables additional SMBus (and SPD) debug messages. |
| 534 | |
| 535 | Note: This option will increase the size of the coreboot image. |
| 536 | |
| 537 | If unsure, say N. |
| 538 | |
| 539 | config DEBUG_SMI |
| 540 | bool "Output verbose SMI debug messages" |
| 541 | default n |
| 542 | depends on HAVE_SMI_HANDLER |
| 543 | help |
| 544 | This option enables additional SMI related debug messages. |
| 545 | |
| 546 | Note: This option will increase the size of the coreboot image. |
| 547 | |
| 548 | If unsure, say N. |
| 549 | |
| 550 | config X86EMU_DEBUG |
| 551 | bool "Output verbose x86emu debug messages" |
| 552 | default n |
| 553 | depends on PCI_OPTION_ROM_RUN_YABEL |
| 554 | help |
| 555 | This option enables additional x86emu related debug messages. |
| 556 | |
| 557 | Note: This option will increase the size of the coreboot image. |
| 558 | |
| 559 | If unsure, say N. |
| 560 | |
| 561 | config X86EMU_DEBUG_JMP |
| 562 | bool "Trace JMP/RETF" |
| 563 | default n |
| 564 | depends on X86EMU_DEBUG |
| 565 | help |
| 566 | Print information about JMP and RETF opcodes from x86emu. |
| 567 | |
| 568 | Note: This option will increase the size of the coreboot image. |
| 569 | |
| 570 | If unsure, say N. |
| 571 | |
| 572 | config X86EMU_DEBUG_TRACE |
| 573 | bool "Trace all opcodes" |
| 574 | default n |
| 575 | depends on X86EMU_DEBUG |
| 576 | help |
| 577 | Print _all_ opcodes that are executed by x86emu. |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 578 | |
Uwe Hermann | 01ce601 | 2010-03-05 10:03:50 +0000 | [diff] [blame] | 579 | WARNING: This will produce a LOT of output and take a long time. |
| 580 | |
| 581 | Note: This option will increase the size of the coreboot image. |
| 582 | |
| 583 | If unsure, say N. |
| 584 | |
| 585 | config X86EMU_DEBUG_PNP |
| 586 | bool "Log Plug&Play accesses" |
| 587 | default n |
| 588 | depends on X86EMU_DEBUG |
| 589 | help |
| 590 | Print Plug And Play accesses made by option ROMs. |
| 591 | |
| 592 | Note: This option will increase the size of the coreboot image. |
| 593 | |
| 594 | If unsure, say N. |
| 595 | |
| 596 | config X86EMU_DEBUG_DISK |
| 597 | bool "Log Disk I/O" |
| 598 | default n |
| 599 | depends on X86EMU_DEBUG |
| 600 | help |
| 601 | Print Disk I/O related messages. |
| 602 | |
| 603 | Note: This option will increase the size of the coreboot image. |
| 604 | |
| 605 | If unsure, say N. |
| 606 | |
| 607 | config X86EMU_DEBUG_PMM |
| 608 | bool "Log PMM" |
| 609 | default n |
| 610 | depends on X86EMU_DEBUG |
| 611 | help |
| 612 | Print messages related to POST Memory Manager (PMM). |
| 613 | |
| 614 | Note: This option will increase the size of the coreboot image. |
| 615 | |
| 616 | If unsure, say N. |
| 617 | |
| 618 | |
| 619 | config X86EMU_DEBUG_VBE |
| 620 | bool "Debug VESA BIOS Extensions" |
| 621 | default n |
| 622 | depends on X86EMU_DEBUG |
| 623 | help |
| 624 | Print messages related to VESA BIOS Extension (VBE) functions. |
| 625 | |
| 626 | Note: This option will increase the size of the coreboot image. |
| 627 | |
| 628 | If unsure, say N. |
| 629 | |
| 630 | config X86EMU_DEBUG_INT10 |
| 631 | bool "Redirect INT10 output to console" |
| 632 | default n |
| 633 | depends on X86EMU_DEBUG |
| 634 | help |
| 635 | Let INT10 (i.e. character output) calls print messages to debug output. |
| 636 | |
| 637 | Note: This option will increase the size of the coreboot image. |
| 638 | |
| 639 | If unsure, say N. |
| 640 | |
| 641 | config X86EMU_DEBUG_INTERRUPTS |
| 642 | bool "Log intXX calls" |
| 643 | default n |
| 644 | depends on X86EMU_DEBUG |
| 645 | help |
| 646 | Print messages related to interrupt handling. |
| 647 | |
| 648 | Note: This option will increase the size of the coreboot image. |
| 649 | |
| 650 | If unsure, say N. |
| 651 | |
| 652 | config X86EMU_DEBUG_CHECK_VMEM_ACCESS |
| 653 | bool "Log special memory accesses" |
| 654 | default n |
| 655 | depends on X86EMU_DEBUG |
| 656 | help |
| 657 | Print messages related to accesses to certain areas of the virtual |
| 658 | memory (e.g. BDA (BIOS Data Area) or interrupt vectors) |
| 659 | |
| 660 | Note: This option will increase the size of the coreboot image. |
| 661 | |
| 662 | If unsure, say N. |
| 663 | |
| 664 | config X86EMU_DEBUG_MEM |
| 665 | bool "Log all memory accesses" |
| 666 | default n |
| 667 | depends on X86EMU_DEBUG |
| 668 | help |
| 669 | Print memory accesses made by option ROM. |
| 670 | Note: This also includes accesses to fetch instructions. |
| 671 | |
| 672 | Note: This option will increase the size of the coreboot image. |
| 673 | |
| 674 | If unsure, say N. |
| 675 | |
| 676 | config X86EMU_DEBUG_IO |
| 677 | bool "Log IO accesses" |
| 678 | default n |
| 679 | depends on X86EMU_DEBUG |
| 680 | help |
| 681 | Print I/O accesses made by option ROM. |
| 682 | |
| 683 | Note: This option will increase the size of the coreboot image. |
| 684 | |
| 685 | If unsure, say N. |
| 686 | |
Stefan Reinauer | 5c50392 | 2010-03-13 22:07:15 +0000 | [diff] [blame] | 687 | config LLSHELL |
| 688 | bool "Built-in low-level shell" |
| 689 | default n |
| 690 | help |
| 691 | If enabled, you will have a low level shell to examine your machine. |
| 692 | Put llshell() in your (romstage) code to start the shell. |
| 693 | See src/arch/i386/llshell/llshell.inc for details. |
| 694 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 695 | endmenu |
| 696 | |
Myles Watson | 8f74c58 | 2009-10-20 16:10:04 +0000 | [diff] [blame] | 697 | config LIFT_BSP_APIC_ID |
| 698 | bool |
| 699 | default n |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 700 | |
| 701 | # These probably belong somewhere else, but they are needed somewhere. |
| 702 | config AP_CODE_IN_CAR |
| 703 | bool |
| 704 | default n |
| 705 | |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 706 | config ENABLE_APIC_EXT_ID |
| 707 | bool |
| 708 | default n |
Myles Watson | 2e67273 | 2009-11-12 16:38:03 +0000 | [diff] [blame] | 709 | |
| 710 | config WARNINGS_ARE_ERRORS |
| 711 | bool |
| 712 | default n |
Patrick Georgi | 436f99b | 2009-11-27 16:55:13 +0000 | [diff] [blame] | 713 | |
| 714 | config ID_SECTION_OFFSET |
| 715 | hex |
| 716 | default 0x10 |
Patrick Georgi | cc66926 | 2010-03-14 21:31:05 +0000 | [diff] [blame] | 717 | |
| 718 | source src/Kconfig.deprecated_options |