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 | |
Uwe Hermann | c04be93 | 2009-10-05 13:55:28 +0000 | [diff] [blame] | 49 | endmenu |
| 50 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 51 | source src/mainboard/Kconfig |
| 52 | source src/arch/i386/Kconfig |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 53 | |
| 54 | menu "Chipset" |
| 55 | |
| 56 | comment "CPU" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 57 | source src/cpu/Kconfig |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 58 | comment "Northbridge" |
| 59 | source src/northbridge/Kconfig |
| 60 | comment "Southbridge" |
| 61 | source src/southbridge/Kconfig |
| 62 | comment "Super I/O" |
| 63 | source src/superio/Kconfig |
| 64 | comment "Devices" |
| 65 | source src/devices/Kconfig |
| 66 | |
| 67 | endmenu |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 68 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 69 | config PCI_BUS_SEGN_BITS |
Myles Watson | 74fb8f2 | 2009-09-24 15:09:11 +0000 | [diff] [blame] | 70 | int |
| 71 | default 0 |
Patrick Georgi | 892b091 | 2009-09-24 09:03:06 +0000 | [diff] [blame] | 72 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 73 | config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 74 | hex |
Uwe Hermann | 748475b | 2009-10-09 11:47:21 +0000 | [diff] [blame] | 75 | default 0x0 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 76 | |
| 77 | config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 78 | hex |
Uwe Hermann | 748475b | 2009-10-09 11:47:21 +0000 | [diff] [blame] | 79 | default 0x0 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 80 | |
| 81 | config CPU_ADDR_BITS |
| 82 | int |
| 83 | default 36 |
| 84 | |
| 85 | config XIP_ROM_BASE |
| 86 | hex |
| 87 | default 0xfffe0000 |
| 88 | |
| 89 | config XIP_ROM_SIZE |
| 90 | hex |
| 91 | default 0x20000 |
| 92 | |
| 93 | config LB_CKS_RANGE_START |
| 94 | int |
| 95 | default 49 |
| 96 | |
| 97 | config LB_CKS_RANGE_END |
| 98 | int |
| 99 | default 125 |
| 100 | |
| 101 | config LB_CKS_LOC |
| 102 | int |
| 103 | default 126 |
| 104 | |
| 105 | config LOGICAL_CPUS |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 106 | bool |
| 107 | default y |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 108 | |
| 109 | config PCI_ROM_RUN |
Patrick Georgi | 698c0e0e | 2009-08-25 17:38:24 +0000 | [diff] [blame] | 110 | bool |
| 111 | default n |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 112 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 113 | config HEAP_SIZE |
| 114 | hex |
Myles Watson | 04000f4 | 2009-10-16 19:12:49 +0000 | [diff] [blame] | 115 | default 0x4000 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 116 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 117 | config DEBUG |
| 118 | bool |
| 119 | default n |
| 120 | |
| 121 | config USE_PRINTK_IN_CAR |
| 122 | bool |
| 123 | default n |
| 124 | |
| 125 | config USE_OPTION_TABLE |
| 126 | bool |
| 127 | default n |
| 128 | |
| 129 | config MAX_CPUS |
| 130 | int |
| 131 | default 1 |
| 132 | |
| 133 | config MMCONF_SUPPORT_DEFAULT |
| 134 | bool |
| 135 | default n |
| 136 | |
| 137 | config MMCONF_SUPPORT |
| 138 | bool |
| 139 | default n |
| 140 | |
Myles Watson | 0f61a4f | 2009-10-16 16:32:57 +0000 | [diff] [blame] | 141 | config RAMTOP |
Myles Watson | 3db199c | 2009-10-12 22:39:08 +0000 | [diff] [blame] | 142 | hex |
Myles Watson | 0f61a4f | 2009-10-16 16:32:57 +0000 | [diff] [blame] | 143 | default 0x200000 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 144 | |
Patrick Georgi | 91ff0df | 2009-10-09 12:32:52 +0000 | [diff] [blame] | 145 | config ATI_RAGE_XL |
| 146 | bool |
Patrick Georgi | 91ff0df | 2009-10-09 12:32:52 +0000 | [diff] [blame] | 147 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 148 | source src/console/Kconfig |
| 149 | |
| 150 | config HAVE_ACPI_RESUME |
| 151 | bool |
| 152 | default n |
| 153 | |
| 154 | config ACPI_SSDTX_NUM |
| 155 | int |
| 156 | default 0 |
| 157 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 158 | config HAVE_FALLBACK_BOOT |
| 159 | bool |
| 160 | default y |
| 161 | |
| 162 | config USE_FALLBACK_IMAGE |
| 163 | bool |
| 164 | default y |
| 165 | |
Patrick Georgi | 37ea341 | 2009-10-03 21:04:13 +0000 | [diff] [blame] | 166 | config HAVE_FAILOVER_BOOT |
| 167 | bool |
| 168 | default n |
| 169 | |
| 170 | config USE_FAILOVER_IMAGE |
| 171 | bool |
| 172 | default n |
| 173 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 174 | config HAVE_HARD_RESET |
| 175 | bool |
Patrick Georgi | 37bdb87 | 2010-02-27 08:39:04 +0000 | [diff] [blame] | 176 | default y if BOARD_HAS_HARD_RESET |
Uwe Hermann | 748475b | 2009-10-09 11:47:21 +0000 | [diff] [blame] | 177 | default n |
Patrick Georgi | 37bdb87 | 2010-02-27 08:39:04 +0000 | [diff] [blame] | 178 | help |
| 179 | This variable specifies whether a given board has a hard_reset |
| 180 | function, no matter if it's provided by board code or chipset code. |
| 181 | |
| 182 | config BOARD_HAS_HARD_RESET |
| 183 | bool |
| 184 | default n |
| 185 | help |
| 186 | This variable specifies whether a given board has a reset.c |
| 187 | file containing a hard_reset() function. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 188 | |
Patrick Georgi | 9ea7bff | 2010-02-28 18:23:00 +0000 | [diff] [blame] | 189 | config BOARD_HAS_FADT |
| 190 | bool |
| 191 | default n |
| 192 | help |
| 193 | This variable specifies whether a given board has a board-local |
| 194 | FADT in fadt.c. Long-term, those should be moved to appropriate |
| 195 | chipset components (eg. southbridge) |
| 196 | |
| 197 | config HAVE_BUS_CONFIG |
| 198 | bool |
| 199 | default n |
| 200 | help |
| 201 | This variable specifies whether a given board has a get_bus_conf.c |
| 202 | file containing bus configuration data. |
| 203 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 204 | config HAVE_INIT_TIMER |
| 205 | bool |
Patrick Georgi | 1f807fd | 2010-01-04 20:09:27 +0000 | [diff] [blame] | 206 | default n if UDELAY_IO |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 207 | default y |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 208 | |
| 209 | config HAVE_MAINBOARD_RESOURCES |
| 210 | bool |
| 211 | default n |
| 212 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 213 | config HAVE_OPTION_TABLE |
| 214 | bool |
| 215 | default y |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 216 | help |
| 217 | This variable specifies whether a given board has a cmos.layout |
| 218 | file containing NVRAM/CMOS bit definitions. |
| 219 | 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] | 220 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 221 | config PIRQ_ROUTE |
| 222 | bool |
| 223 | default n |
| 224 | |
| 225 | config HAVE_SMI_HANDLER |
| 226 | bool |
| 227 | default n |
| 228 | |
| 229 | config PCI_IO_CFG_EXT |
| 230 | bool |
| 231 | default n |
| 232 | |
| 233 | config IOAPIC |
| 234 | bool |
| 235 | default n |
| 236 | |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 237 | # 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] | 238 | config VIDEO_MB |
| 239 | int |
Uwe Hermann | 63a8f2a | 2009-10-26 21:42:13 +0000 | [diff] [blame] | 240 | default 0 |
Uwe Hermann | 70b0cf2 | 2009-10-04 17:15:39 +0000 | [diff] [blame] | 241 | |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 242 | config USE_WATCHDOG_ON_BOOT |
| 243 | bool |
| 244 | default n |
| 245 | |
| 246 | config VGA |
| 247 | bool |
| 248 | default n |
| 249 | help |
| 250 | Build board-specific VGA code. |
| 251 | |
| 252 | config GFXUMA |
| 253 | bool |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 254 | default n |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 255 | help |
| 256 | Enable Unified Memory Architecture for graphics. |
| 257 | |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 258 | # TODO |
| 259 | # menu "Drivers" |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 260 | # |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 261 | # endmenu |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 262 | |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 263 | #TODO Remove this option or make it useful. |
| 264 | config HAVE_LOW_TABLES |
| 265 | bool |
| 266 | default y |
| 267 | help |
| 268 | This Option is unused in the code. Since two boards try to set it to |
| 269 | 'n', they may be broken. We either need to make the option useful or |
| 270 | get rid of it. The broken boards are: |
| 271 | asus/m2v-mx_se |
| 272 | supermicro/h8dme |
| 273 | |
| 274 | config HAVE_HIGH_TABLES |
| 275 | bool |
Stefan Reinauer | 13f2bb0 | 2010-02-25 13:45:08 +0000 | [diff] [blame] | 276 | default y |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 277 | help |
| 278 | This variable specifies whether a given northbridge has high table |
| 279 | support. |
| 280 | It is set in northbridge/*/Kconfig. |
| 281 | Whether or not the high tables are actually written by coreboot is |
| 282 | configurable by the user via WRITE_HIGH_TABLES. |
| 283 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 284 | config HAVE_ACPI_TABLES |
| 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 ACPI table support. |
| 288 | It is usually set in mainboard/*/Kconfig. |
| 289 | Whether or not the ACPI tables are actually generated by coreboot |
| 290 | is configurable by the user via GENERATE_ACPI_TABLES. |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 291 | |
| 292 | config HAVE_MP_TABLE |
| 293 | bool |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 294 | help |
| 295 | This variable specifies whether a given board has MP table support. |
| 296 | It is usually set in mainboard/*/Kconfig. |
| 297 | Whether or not the MP table is actually generated by coreboot |
| 298 | is configurable by the user via GENERATE_MP_TABLE. |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 299 | |
| 300 | config HAVE_PIRQ_TABLE |
| 301 | bool |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 302 | help |
| 303 | This variable specifies whether a given board has PIRQ table support. |
| 304 | It is usually set in mainboard/*/Kconfig. |
| 305 | Whether or not the PIRQ table is actually generated by coreboot |
| 306 | is configurable by the user via GENERATE_PIRQ_TABLE. |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 307 | |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 308 | #These Options are here to avoid "undefined" warnings. |
| 309 | #The actual selection and help texts are in the following menu. |
| 310 | |
| 311 | config GENERATE_ACPI_TABLES |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 312 | bool |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 313 | default HAVE_ACPI_TABLES |
| 314 | |
| 315 | config GENERATE_MP_TABLE |
| 316 | bool |
| 317 | default HAVE_MP_TABLE |
| 318 | |
| 319 | config GENERATE_PIRQ_TABLE |
| 320 | bool |
| 321 | default HAVE_PIRQ_TABLE |
| 322 | |
| 323 | config WRITE_HIGH_TABLES |
| 324 | bool |
| 325 | default HAVE_HIGH_TABLES |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 326 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 327 | menu "System tables" |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 328 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 329 | config WRITE_HIGH_TABLES |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 330 | bool "Write 'high' tables to avoid being overwritten in F segment" |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 331 | depends on HAVE_HIGH_TABLES |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 332 | default y |
| 333 | |
| 334 | config MULTIBOOT |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 335 | bool "Generate Multiboot tables (for GRUB2)" |
Ronald G. Minnich | 7f91d92 | 2009-11-09 17:56:47 +0000 | [diff] [blame] | 336 | default y |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 337 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 338 | config GENERATE_ACPI_TABLES |
| 339 | depends on HAVE_ACPI_TABLES |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 340 | bool "Generate ACPI tables" |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 341 | default y |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 342 | help |
| 343 | Generate ACPI tables for this board. |
| 344 | |
| 345 | If unsure, say Y. |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 346 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 347 | config GENERATE_MP_TABLE |
| 348 | depends on HAVE_MP_TABLE |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 349 | bool "Generate an MP table" |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 350 | default y |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 351 | help |
| 352 | Generate an MP table (conforming to the Intel MultiProcessor |
| 353 | specification 1.4) for this board. |
| 354 | |
| 355 | If unsure, say Y. |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 356 | |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 357 | config GENERATE_PIRQ_TABLE |
| 358 | depends on HAVE_PIRQ_TABLE |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 359 | bool "Generate a PIRQ table" |
Myles Watson | b8e2027 | 2009-10-15 13:35:47 +0000 | [diff] [blame] | 360 | default y |
Uwe Hermann | 6ba13bb | 2009-10-15 17:49:07 +0000 | [diff] [blame] | 361 | help |
| 362 | Generate a PIRQ table for this board. |
| 363 | |
| 364 | If unsure, say Y. |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 365 | |
| 366 | endmenu |
| 367 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 368 | menu "Payload" |
| 369 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 370 | choice |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 371 | prompt "Add a payload" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 372 | default PAYLOAD_NONE |
| 373 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 374 | config PAYLOAD_NONE |
| 375 | bool "None" |
| 376 | help |
| 377 | Select this option if you want to create an "empty" coreboot |
| 378 | ROM image for a certain mainboard, i.e. a coreboot ROM image |
| 379 | which does not yet contain a payload. |
| 380 | |
| 381 | For such an image to be useful, you have to use 'cbfstool' |
| 382 | to add a payload to the ROM image later. |
| 383 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 384 | config PAYLOAD_ELF |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 385 | bool "An ELF executable payload" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 386 | help |
| 387 | Select this option if you have a payload image (an ELF file) |
| 388 | which coreboot should run as soon as the basic hardware |
| 389 | initialization is completed. |
| 390 | |
| 391 | You will be able to specify the location and file name of the |
| 392 | payload image later. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 393 | |
| 394 | endchoice |
| 395 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 396 | config FALLBACK_PAYLOAD_FILE |
Cristi Magherusan | b5034d4 | 2009-08-17 14:47:32 +0000 | [diff] [blame] | 397 | string "Payload path and filename" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 398 | depends on PAYLOAD_ELF |
| 399 | default "payload.elf" |
| 400 | help |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 401 | 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] | 402 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 403 | # TODO: Defined if no payload? Breaks build? |
| 404 | config COMPRESSED_PAYLOAD_LZMA |
| 405 | bool "Use LZMA compression for payloads" |
| 406 | default y |
| 407 | depends on PAYLOAD_ELF |
| 408 | help |
| 409 | In order to reduce the size payloads take up in the ROM chip |
| 410 | coreboot can compress them using the LZMA algorithm. |
| 411 | |
Myles Watson | 04000f4 | 2009-10-16 19:12:49 +0000 | [diff] [blame] | 412 | config COMPRESSED_PAYLOAD_NRV2B |
Peter Stuge | d7b37b0 | 2009-10-17 03:00:04 +0000 | [diff] [blame] | 413 | bool |
Myles Watson | 04000f4 | 2009-10-16 19:12:49 +0000 | [diff] [blame] | 414 | default n |
| 415 | |
Peter Stuge | a758ca2 | 2009-09-17 16:21:31 +0000 | [diff] [blame] | 416 | endmenu |
| 417 | |
| 418 | menu "VGA BIOS" |
| 419 | |
| 420 | config VGA_BIOS |
| 421 | bool "Add a VGA BIOS image" |
| 422 | help |
| 423 | Select this option if you have a VGA BIOS image that you would |
| 424 | like to add to your ROM. |
| 425 | |
| 426 | You will be able to specify the location and file name of the |
| 427 | image later. |
| 428 | |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 429 | config FALLBACK_VGA_BIOS_FILE |
| 430 | string "VGA BIOS path and filename" |
| 431 | depends on VGA_BIOS |
| 432 | default "vgabios.bin" |
| 433 | help |
| 434 | The path and filename of the file to use as VGA BIOS. |
| 435 | |
| 436 | config FALLBACK_VGA_BIOS_ID |
Uwe Hermann | 81b3c0a | 2009-10-30 12:56:59 +0000 | [diff] [blame] | 437 | string "VGA device PCI IDs" |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 438 | depends on VGA_BIOS |
| 439 | default "1106,3230" |
| 440 | help |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 441 | The comma-separated PCI vendor and device ID that would associate |
| 442 | your VGA BIOS to your video card. |
| 443 | |
| 444 | Example: 1106,3230 |
| 445 | |
| 446 | In the above example 1106 is the PCI vendor ID (in hex, but without |
| 447 | the "0x" prefix) and 3230 specifies the PCI device ID of the |
| 448 | video card (also in hex, without "0x" prefix). |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 449 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 450 | endmenu |
| 451 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 452 | menu "Debugging" |
| 453 | |
| 454 | # TODO: Better help text and detailed instructions. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 455 | config GDB_STUB |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 456 | bool "GDB debugging support" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 457 | default y |
| 458 | help |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 459 | If enabled, you will be able to set breakpoints for gdb debugging. |
| 460 | See src/arch/i386/lib/c_start.S for details. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 461 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 462 | endmenu |
| 463 | |
Myles Watson | 8f74c58 | 2009-10-20 16:10:04 +0000 | [diff] [blame] | 464 | config LIFT_BSP_APIC_ID |
| 465 | bool |
| 466 | default n |
Myles Watson | d73c1b5 | 2009-10-26 15:14:07 +0000 | [diff] [blame] | 467 | |
| 468 | # These probably belong somewhere else, but they are needed somewhere. |
| 469 | config AP_CODE_IN_CAR |
| 470 | bool |
| 471 | default n |
| 472 | |
| 473 | config USE_INIT |
| 474 | bool |
| 475 | default n |
| 476 | |
| 477 | config ENABLE_APIC_EXT_ID |
| 478 | bool |
| 479 | default n |
Myles Watson | 2e67273 | 2009-11-12 16:38:03 +0000 | [diff] [blame] | 480 | |
| 481 | config WARNINGS_ARE_ERRORS |
| 482 | bool |
| 483 | default n |
Patrick Georgi | 436f99b | 2009-11-27 16:55:13 +0000 | [diff] [blame] | 484 | |
| 485 | config ID_SECTION_OFFSET |
| 486 | hex |
| 487 | default 0x10 |