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 | |
| 30 | source src/mainboard/Kconfig |
| 31 | source src/arch/i386/Kconfig |
| 32 | source src/arch/ppc/Kconfig |
| 33 | source src/devices/Kconfig |
| 34 | source src/northbridge/Kconfig |
| 35 | source src/southbridge/Kconfig |
| 36 | source src/superio/Kconfig |
| 37 | source src/cpu/Kconfig |
| 38 | |
| 39 | config CBFS |
| 40 | bool |
| 41 | default y |
| 42 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 43 | config PCI_BUS_SEGN_BITS |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 44 | bool |
| 45 | default n |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 46 | |
Patrick Georgi | 892b091 | 2009-09-24 09:03:06 +0000 | [diff] [blame^] | 47 | config HT_CHAIN_UNITID_BASE |
| 48 | hex |
| 49 | default 0x1 |
| 50 | |
| 51 | config HT_CHAIN_END_UNITID_BASE |
| 52 | hex |
| 53 | default 0x20 |
| 54 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 55 | config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 56 | hex |
| 57 | default 0 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 58 | |
| 59 | config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 60 | hex |
| 61 | default 0 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 62 | |
| 63 | config CPU_ADDR_BITS |
| 64 | int |
| 65 | default 36 |
| 66 | |
| 67 | config XIP_ROM_BASE |
| 68 | hex |
| 69 | default 0xfffe0000 |
| 70 | |
| 71 | config XIP_ROM_SIZE |
| 72 | hex |
| 73 | default 0x20000 |
| 74 | |
| 75 | config LB_CKS_RANGE_START |
| 76 | int |
| 77 | default 49 |
| 78 | |
| 79 | config LB_CKS_RANGE_END |
| 80 | int |
| 81 | default 125 |
| 82 | |
| 83 | config LB_CKS_LOC |
| 84 | int |
| 85 | default 126 |
| 86 | |
| 87 | config LOGICAL_CPUS |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 88 | bool |
| 89 | default y |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 90 | |
| 91 | config PCI_ROM_RUN |
Patrick Georgi | 698c0e0e | 2009-08-25 17:38:24 +0000 | [diff] [blame] | 92 | bool |
| 93 | default n |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 94 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 95 | config HEAP_SIZE |
| 96 | hex |
| 97 | default 0x2000 |
| 98 | |
| 99 | config COREBOOT_V2 |
| 100 | bool |
| 101 | default y |
| 102 | |
| 103 | config COREBOOT_V4 |
| 104 | bool |
| 105 | default y |
| 106 | |
| 107 | config DEBUG |
| 108 | bool |
| 109 | default n |
| 110 | |
| 111 | config USE_PRINTK_IN_CAR |
| 112 | bool |
| 113 | default n |
| 114 | |
| 115 | config USE_OPTION_TABLE |
| 116 | bool |
| 117 | default n |
| 118 | |
| 119 | config MAX_CPUS |
| 120 | int |
| 121 | default 1 |
| 122 | |
| 123 | config MMCONF_SUPPORT_DEFAULT |
| 124 | bool |
| 125 | default n |
| 126 | |
| 127 | config MMCONF_SUPPORT |
| 128 | bool |
| 129 | default n |
| 130 | |
| 131 | config LB_MEM_TOPK |
| 132 | int |
| 133 | default 2048 |
| 134 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 135 | config COMPRESSED_PAYLOAD_LZMA |
| 136 | bool |
| 137 | default y |
| 138 | |
| 139 | config COMPRESSED_PAYLOAD_NRV2B |
| 140 | bool |
| 141 | default n |
| 142 | |
| 143 | source src/console/Kconfig |
| 144 | |
| 145 | config HAVE_ACPI_RESUME |
| 146 | bool |
| 147 | default n |
| 148 | |
| 149 | config ACPI_SSDTX_NUM |
| 150 | int |
| 151 | default 0 |
| 152 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 153 | config HAVE_FALLBACK_BOOT |
| 154 | bool |
| 155 | default y |
| 156 | |
| 157 | config USE_FALLBACK_IMAGE |
| 158 | bool |
| 159 | default y |
| 160 | |
| 161 | config HAVE_HARD_RESET |
| 162 | bool |
| 163 | default n |
| 164 | |
| 165 | config HAVE_INIT_TIMER |
| 166 | bool |
| 167 | default n |
| 168 | |
| 169 | config HAVE_MAINBOARD_RESOURCES |
| 170 | bool |
| 171 | default n |
| 172 | |
| 173 | config HAVE_MOVNTI |
| 174 | bool |
| 175 | default y |
| 176 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 177 | config HAVE_OPTION_TABLE |
| 178 | bool |
| 179 | default y |
| 180 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 181 | config PIRQ_ROUTE |
| 182 | bool |
| 183 | default n |
| 184 | |
| 185 | config HAVE_SMI_HANDLER |
| 186 | bool |
| 187 | default n |
| 188 | |
| 189 | config PCI_IO_CFG_EXT |
| 190 | bool |
| 191 | default n |
| 192 | |
| 193 | config IOAPIC |
| 194 | bool |
| 195 | default n |
| 196 | |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 197 | config USE_WATCHDOG_ON_BOOT |
| 198 | bool |
| 199 | default n |
| 200 | |
| 201 | config VGA |
| 202 | bool |
| 203 | default n |
| 204 | help |
| 205 | Build board-specific VGA code. |
| 206 | |
| 207 | config GFXUMA |
| 208 | bool |
| 209 | default n |
| 210 | help |
| 211 | Enable Unified Memory Architecture for graphics. |
| 212 | |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 213 | # TODO |
| 214 | # menu "Drivers" |
| 215 | # |
| 216 | # endmenu |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 217 | |
Myles Watson | 45bb25f | 2009-09-22 18:49:08 +0000 | [diff] [blame] | 218 | menu "Generated System Tables" |
| 219 | |
| 220 | config HAVE_LOW_TABLES |
| 221 | bool |
| 222 | default y |
| 223 | |
| 224 | config HAVE_HIGH_TABLES |
| 225 | bool "Write 'high' tables to avoid being overwritten in F segment" |
| 226 | default y |
| 227 | |
| 228 | config MULTIBOOT |
| 229 | bool "Add Multiboot tables (for grub2)" |
| 230 | default n |
| 231 | |
| 232 | config HAVE_ACPI_TABLES |
| 233 | bool "Generate ACPI tables" |
| 234 | default n |
| 235 | |
| 236 | config HAVE_MP_TABLE |
| 237 | bool "Generate an MP table" |
| 238 | default n |
| 239 | |
| 240 | config HAVE_PIRQ_TABLE |
| 241 | bool "Generate a PIRQ table" |
| 242 | default n |
| 243 | |
| 244 | endmenu |
| 245 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 246 | menu "Payload" |
| 247 | |
| 248 | config COMPRESSED_PAYLOAD_LZMA |
| 249 | bool "Use LZMA compression for payloads" |
| 250 | default yes |
| 251 | |
| 252 | choice |
| 253 | prompt "Payload type" |
| 254 | default PAYLOAD_NONE |
| 255 | |
| 256 | config PAYLOAD_ELF |
| 257 | bool "An ELF executable payload file" |
| 258 | help |
| 259 | Select this option if you have a payload image (an ELF file) |
| 260 | which coreboot should run as soon as the basic hardware |
| 261 | initialization is completed. |
| 262 | |
| 263 | You will be able to specify the location and file name of the |
| 264 | payload image later. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 265 | config PAYLOAD_NONE |
| 266 | bool "No payload" |
| 267 | help |
| 268 | Select this option if you want to create an "empty" coreboot |
| 269 | ROM image for a certain mainboard, i.e. a coreboot ROM image |
| 270 | which does not yet contain a payload. |
| 271 | |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 272 | For such an image to be useful, you have to use the 'cbfs' tool |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 273 | to add a payload to the ROM image later. |
| 274 | |
| 275 | endchoice |
| 276 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 277 | config FALLBACK_PAYLOAD_FILE |
Cristi Magherusan | b5034d4 | 2009-08-17 14:47:32 +0000 | [diff] [blame] | 278 | string "Payload path and filename" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 279 | depends on PAYLOAD_ELF |
| 280 | default "payload.elf" |
| 281 | help |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 282 | 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] | 283 | |
Peter Stuge | a758ca2 | 2009-09-17 16:21:31 +0000 | [diff] [blame] | 284 | endmenu |
| 285 | |
| 286 | menu "VGA BIOS" |
| 287 | |
| 288 | config VGA_BIOS |
| 289 | bool "Add a VGA BIOS image" |
| 290 | help |
| 291 | Select this option if you have a VGA BIOS image that you would |
| 292 | like to add to your ROM. |
| 293 | |
| 294 | You will be able to specify the location and file name of the |
| 295 | image later. |
| 296 | |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 297 | config FALLBACK_VGA_BIOS_FILE |
| 298 | string "VGA BIOS path and filename" |
| 299 | depends on VGA_BIOS |
| 300 | default "vgabios.bin" |
| 301 | help |
| 302 | The path and filename of the file to use as VGA BIOS. |
| 303 | |
| 304 | config FALLBACK_VGA_BIOS_ID |
| 305 | string "VGA BIOS ID" |
| 306 | depends on VGA_BIOS |
| 307 | default "1106,3230" |
| 308 | help |
Myles Watson | 28412f5 | 2009-09-17 16:54:46 +0000 | [diff] [blame] | 309 | The ID that would associate your VGA BIOS to your video card. |
| 310 | (PCI VendorID, PCI Device ID) |
Cristi Magherusan | 488c36c | 2009-08-17 14:46:13 +0000 | [diff] [blame] | 311 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 312 | endmenu |
| 313 | |
| 314 | config GDB_STUB |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 315 | bool "GDB debugging support" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 316 | default y |
| 317 | help |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 318 | If enabled, you will be able to set breakpoints for gdb debugging. |
| 319 | See src/arch/i386/lib/c_start.S for details. |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 320 | |