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