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