Kevin O'Connor | 713be89 | 2011-01-26 21:19:25 -0500 | [diff] [blame] | 1 | # Kconfig SeaBIOS configuration |
| 2 | |
| 3 | mainmenu "SeaBIOS Configuration" |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 4 | |
| 5 | menu "General Features" |
| 6 | |
Gerd Hoffmann | 9600c80 | 2012-10-29 11:28:32 +0100 | [diff] [blame] | 7 | choice |
| 8 | prompt "Build Target" |
| 9 | default QEMU |
| 10 | |
Kevin O'Connor | 713be89 | 2011-01-26 21:19:25 -0500 | [diff] [blame] | 11 | config COREBOOT |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 12 | bool "Build for coreboot" |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 13 | help |
| 14 | Configure as a coreboot payload. |
| 15 | |
Gerd Hoffmann | 9600c80 | 2012-10-29 11:28:32 +0100 | [diff] [blame] | 16 | config QEMU |
Kevin O'Connor | 02313b2 | 2013-02-07 22:42:25 -0500 | [diff] [blame] | 17 | bool "Build for QEMU/Xen/KVM/Bochs" |
| 18 | select QEMU_HARDWARE |
Gerd Hoffmann | 9600c80 | 2012-10-29 11:28:32 +0100 | [diff] [blame] | 19 | help |
Kevin O'Connor | 02313b2 | 2013-02-07 22:42:25 -0500 | [diff] [blame] | 20 | Configure for an emulated machine (QEMU, Xen, KVM, or Bochs). |
Gerd Hoffmann | 9600c80 | 2012-10-29 11:28:32 +0100 | [diff] [blame] | 21 | |
David Woodhouse | 118469a | 2013-01-25 19:46:25 -0600 | [diff] [blame] | 22 | config CSM |
Stefan Weil | 6bcacf7 | 2015-10-02 08:46:40 +0200 | [diff] [blame] | 23 | bool "Build as Compatibility Support Module for EFI BIOS" |
David Woodhouse | 118469a | 2013-01-25 19:46:25 -0600 | [diff] [blame] | 24 | help |
| 25 | Configure to be used by EFI firmware as Compatibility Support |
| 26 | module (CSM) to provide legacy BIOS services. |
| 27 | |
Gerd Hoffmann | 9600c80 | 2012-10-29 11:28:32 +0100 | [diff] [blame] | 28 | endchoice |
| 29 | |
Kevin O'Connor | 02313b2 | 2013-02-07 22:42:25 -0500 | [diff] [blame] | 30 | config QEMU_HARDWARE |
| 31 | bool "Support hardware found on emulators (QEMU/Xen/KVM/Bochs)" if !QEMU |
| 32 | default n |
| 33 | help |
| 34 | Support virtual hardware when the code detects it is |
| 35 | running on an emulator. |
| 36 | |
Ian Campbell | 74c7878 | 2011-06-01 11:00:29 +0100 | [diff] [blame] | 37 | config XEN |
Gerd Hoffmann | 9600c80 | 2012-10-29 11:28:32 +0100 | [diff] [blame] | 38 | depends on QEMU |
Kevin O'Connor | 02313b2 | 2013-02-07 22:42:25 -0500 | [diff] [blame] | 39 | bool "Support Xen HVM" |
Ian Campbell | 9264a2c | 2012-06-28 11:08:31 +0100 | [diff] [blame] | 40 | default y |
Ian Campbell | 74c7878 | 2011-06-01 11:00:29 +0100 | [diff] [blame] | 41 | help |
| 42 | Configure to be used by xen hvmloader, for a HVM guest. |
| 43 | |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 44 | config THREADS |
| 45 | bool "Parallelize hardware init" |
| 46 | default y |
| 47 | help |
| 48 | Support running hardware initialization in parallel. |
Kevin O'Connor | f31171c | 2011-05-07 13:57:42 -0400 | [diff] [blame] | 49 | |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 50 | config RELOCATE_INIT |
| 51 | bool "Copy init code to high memory" |
| 52 | default y |
| 53 | help |
| 54 | Support relocating the one time initialization code to high memory. |
| 55 | |
| 56 | config BOOTMENU |
| 57 | depends on BOOT |
| 58 | bool "Bootmenu" |
| 59 | default y |
| 60 | help |
| 61 | Support an interactive boot menu at end of post. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 62 | config BOOTSPLASH |
| 63 | depends on BOOTMENU |
| 64 | bool "Graphical boot splash screen" |
| 65 | default y |
| 66 | help |
| 67 | Support showing a graphical boot splash screen. |
Kevin O'Connor | 49bf57b | 2011-05-10 22:08:30 -0400 | [diff] [blame] | 68 | config BOOTORDER |
| 69 | depends on BOOT |
| 70 | bool "Boot ordering" |
| 71 | default y |
| 72 | help |
| 73 | Support controlling of the boot order via the fw_cfg/CBFS |
| 74 | "bootorder" file. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 75 | |
| 76 | config COREBOOT_FLASH |
| 77 | depends on COREBOOT |
| 78 | bool "coreboot CBFS support" |
| 79 | default y |
| 80 | help |
| 81 | Support searching coreboot flash format. |
| 82 | config LZMA |
| 83 | depends on COREBOOT_FLASH |
| 84 | bool "CBFS lzma support" |
| 85 | default y |
| 86 | help |
| 87 | Support CBFS files compressed using the lzma decompression |
Kevin O'Connor | 406df19 | 2014-01-17 20:21:20 -0500 | [diff] [blame] | 88 | algorithm. |
| 89 | config CBFS_LOCATION |
| 90 | depends on COREBOOT_FLASH |
| 91 | hex "CBFS memory end location" |
| 92 | default 0 |
| 93 | help |
| 94 | Memory address of where the CBFS data ends. This should |
| 95 | be zero for normal builds. It may be a non-zero value if |
| 96 | the CBFS filesystem is at a non-standard location (eg, |
| 97 | 0xffe00000 if CBFS ends 2Meg below the end of flash). |
| 98 | |
Vladimir Serbinenko | 1b911d7 | 2015-05-18 19:07:16 +0200 | [diff] [blame] | 99 | config MULTIBOOT |
| 100 | depends on COREBOOT |
| 101 | bool "multiboot support" |
| 102 | default y |
| 103 | help |
| 104 | Add multiboot header in bios.bin.raw and accept files supplied |
| 105 | as multiboot modules. |
Kevin O'Connor | f0d75a0 | 2013-03-02 18:14:35 -0500 | [diff] [blame] | 106 | config ENTRY_EXTRASTACK |
| 107 | bool "Use internal stack for 16bit interrupt entry points" |
| 108 | default y |
| 109 | help |
| 110 | Utilize an internal stack for all the legacy 16bit |
| 111 | interrupt entry points. This reduces the amount of space |
| 112 | on the caller's stack that SeaBIOS uses. This may |
| 113 | adversely impact any legacy operating systems that call |
| 114 | the BIOS in 16bit protected mode. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 115 | |
Kevin O'Connor | 2b0fb8c | 2013-08-07 23:03:47 -0400 | [diff] [blame] | 116 | config MALLOC_UPPERMEMORY |
| 117 | bool "Allocate memory that needs to be in first Meg above 0xc0000" |
| 118 | default y |
| 119 | help |
| 120 | Use the "Upper Memory Block" area (0xc0000-0xf0000) for |
| 121 | internal "low memory" allocations. If this is not |
| 122 | selected, the memory is instead allocated from the |
| 123 | "9-segment" (0x90000-0xa0000). |
| 124 | |
Gerd Hoffmann | 85f8fac | 2013-09-24 10:06:16 +0200 | [diff] [blame] | 125 | config ROM_SIZE |
| 126 | int "ROM size (in KB)" |
| 127 | default 0 |
| 128 | help |
| 129 | Set the ROM size. Say '0' here to make seabios figure the |
| 130 | needed size automatically. |
| 131 | |
| 132 | Currently SeaBIOS will easily fit into 256 KB. To make it fit |
| 133 | it into 128 KB (which was big enouth for a long time) you'll |
| 134 | probably have to disable some featues such as xhci support. |
| 135 | |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 136 | endmenu |
| 137 | |
| 138 | menu "Hardware support" |
| 139 | config ATA |
| 140 | depends on DRIVES |
| 141 | bool "ATA controllers" |
| 142 | default y |
| 143 | help |
| 144 | Support for IDE disk code. |
| 145 | config ATA_DMA |
| 146 | depends on ATA |
| 147 | bool "ATA DMA" |
| 148 | default n |
| 149 | help |
| 150 | Detect and try to use ATA bus mastering DMA controllers. |
| 151 | config ATA_PIO32 |
| 152 | depends on ATA |
| 153 | bool "ATA 32bit PIO" |
| 154 | default n |
| 155 | help |
| 156 | Use 32bit PIO accesses on ATA (minor optimization on PCI transfers). |
| 157 | config AHCI |
| 158 | depends on DRIVES |
| 159 | bool "AHCI controllers" |
Gerd Hoffmann | ceb8ed4 | 2011-08-04 20:42:16 +0200 | [diff] [blame] | 160 | default y |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 161 | help |
| 162 | Support for AHCI disk code. |
Kevin O'Connor | 72691a5 | 2014-12-16 09:55:16 -0500 | [diff] [blame] | 163 | config SDCARD |
Kevin O'Connor | 4c90495 | 2015-08-10 15:41:03 -0400 | [diff] [blame] | 164 | depends on DRIVES |
Kevin O'Connor | 72691a5 | 2014-12-16 09:55:16 -0500 | [diff] [blame] | 165 | bool "SD controllers" |
| 166 | default y |
| 167 | help |
| 168 | Support for SD cards on PCI host controllers. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 169 | config VIRTIO_BLK |
Kevin O'Connor | 897fb11 | 2013-02-07 23:32:48 -0500 | [diff] [blame] | 170 | depends on DRIVES && QEMU_HARDWARE |
Paolo Bonzini | 0e7fb5f | 2011-11-16 13:02:55 +0100 | [diff] [blame] | 171 | bool "virtio-blk controllers" |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 172 | default y |
| 173 | help |
Paolo Bonzini | 0e7fb5f | 2011-11-16 13:02:55 +0100 | [diff] [blame] | 174 | Support boot from virtio-blk storage. |
Paolo Bonzini | c5c488f | 2012-02-27 17:22:23 +0100 | [diff] [blame] | 175 | config VIRTIO_SCSI |
Kevin O'Connor | 897fb11 | 2013-02-07 23:32:48 -0500 | [diff] [blame] | 176 | depends on DRIVES && QEMU_HARDWARE |
Paolo Bonzini | c5c488f | 2012-02-27 17:22:23 +0100 | [diff] [blame] | 177 | bool "virtio-scsi controllers" |
| 178 | default y |
| 179 | help |
| 180 | Support boot from virtio-scsi storage. |
Evgeny Budilovsky | 83d60b3 | 2013-10-14 18:03:36 +0300 | [diff] [blame] | 181 | config PVSCSI |
| 182 | depends on DRIVES && QEMU_HARDWARE |
| 183 | bool "PVSCSI controllers" |
| 184 | default y |
| 185 | help |
| 186 | Support boot from Paravirtualized SCSI storage. This kind of storage |
| 187 | is mainly supported by VMware ESX hypervisor. It is commonly used |
| 188 | to allow fast storage access by communicating directly with the |
| 189 | underlying hypervisor. Enabling this type of boot will allow |
| 190 | booting directly from images imported from an ESX platform, |
| 191 | without the need to use slower emulation of storage controllers |
| 192 | such as IDE. |
Paolo Bonzini | 7a39e72 | 2012-08-06 13:15:06 +0200 | [diff] [blame] | 193 | config ESP_SCSI |
Kevin O'Connor | 897fb11 | 2013-02-07 23:32:48 -0500 | [diff] [blame] | 194 | depends on DRIVES && QEMU_HARDWARE |
Paolo Bonzini | 7a39e72 | 2012-08-06 13:15:06 +0200 | [diff] [blame] | 195 | bool "AMD PCscsi controllers" |
| 196 | default y |
| 197 | help |
| 198 | Support boot from AMD PCscsi storage. |
Gerd Hoffmann | 9d6bac1 | 2012-07-20 10:59:25 +0200 | [diff] [blame] | 199 | config LSI_SCSI |
Kevin O'Connor | 897fb11 | 2013-02-07 23:32:48 -0500 | [diff] [blame] | 200 | depends on DRIVES && QEMU_HARDWARE |
Gerd Hoffmann | 9d6bac1 | 2012-07-20 10:59:25 +0200 | [diff] [blame] | 201 | bool "lsi53c895a scsi controllers" |
| 202 | default y |
| 203 | help |
| 204 | Support boot from qemu-emulated lsi53c895a scsi storage. |
Hannes Reinecke | 2df70bf | 2012-11-13 15:03:31 +0100 | [diff] [blame] | 205 | config MEGASAS |
| 206 | depends on DRIVES |
| 207 | bool "LSI MegaRAID SAS controllers" |
| 208 | default y |
| 209 | help |
| 210 | Support boot from LSI MegaRAID SAS scsi storage. |
Don Slutz | f2645a8 | 2016-03-25 17:04:31 +0100 | [diff] [blame] | 211 | config MPT_SCSI |
| 212 | depends on DRIVES && QEMU_HARDWARE |
| 213 | bool "LSI MPT Fusion controllers" |
| 214 | default y |
| 215 | help |
| 216 | Support boot from LSI MPT Fusion scsi storage. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 217 | config FLOPPY |
Kevin O'Connor | bd5f6c7 | 2015-08-10 16:14:48 -0400 | [diff] [blame] | 218 | depends on DRIVES && HARDWARE_IRQ |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 219 | bool "Floppy controller" |
| 220 | default y |
| 221 | help |
| 222 | Support floppy drive access. |
Kevin O'Connor | 7dbadfc | 2015-07-23 09:19:23 -0400 | [diff] [blame] | 223 | config FLASH_FLOPPY |
| 224 | depends on DRIVES |
| 225 | bool "Floppy images from CBFS or fw_cfg" |
| 226 | default y |
| 227 | help |
| 228 | Support floppy images stored in coreboot flash or from |
| 229 | QEMU fw_cfg. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 230 | |
| 231 | config PS2PORT |
| 232 | depends on KEYBOARD || MOUSE |
| 233 | bool "PS/2 port" |
| 234 | default y |
| 235 | help |
| 236 | Support PS2 ports (keyboard and mouse). |
| 237 | |
| 238 | config USB |
| 239 | bool "USB" |
| 240 | default y |
| 241 | help |
| 242 | Support USB devices. |
| 243 | config USB_UHCI |
| 244 | depends on USB |
| 245 | bool "USB UHCI controllers" |
| 246 | default y |
| 247 | help |
| 248 | Support USB UHCI controllers. |
| 249 | config USB_OHCI |
| 250 | depends on USB |
| 251 | bool "USB OHCI controllers" |
| 252 | default y |
| 253 | help |
| 254 | Support USB OHCI controllers. |
| 255 | config USB_EHCI |
| 256 | depends on USB |
| 257 | bool "USB EHCI controllers" |
| 258 | default y |
| 259 | help |
| 260 | Support USB EHCI controllers. |
Gerd Hoffmann | e144bb7 | 2013-06-03 16:30:18 +0200 | [diff] [blame] | 261 | config USB_XHCI |
Kevin O'Connor | e3b9cad | 2013-12-27 21:57:14 -0500 | [diff] [blame] | 262 | depends on USB |
Gerd Hoffmann | e144bb7 | 2013-06-03 16:30:18 +0200 | [diff] [blame] | 263 | bool "USB XHCI controllers" |
| 264 | default y |
| 265 | help |
| 266 | Support USB XHCI controllers. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 267 | config USB_MSC |
| 268 | depends on USB && DRIVES |
| 269 | bool "USB drives" |
| 270 | default y |
| 271 | help |
Gerd Hoffmann | e53e30d | 2012-07-20 10:59:24 +0200 | [diff] [blame] | 272 | Support USB BOT (bulk-only transport) disks. |
| 273 | config USB_UAS |
| 274 | depends on USB && DRIVES |
| 275 | bool "UAS drives" |
| 276 | default y |
| 277 | help |
| 278 | Support USB UAS (usb attached scsi) disks. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 279 | config USB_HUB |
| 280 | depends on USB |
| 281 | bool "USB hubs" |
| 282 | default y |
| 283 | help |
| 284 | Support USB hubs. |
| 285 | config USB_KEYBOARD |
| 286 | depends on USB && KEYBOARD |
| 287 | bool "USB keyboards" |
| 288 | default y |
| 289 | help |
| 290 | Support USB keyboards. |
| 291 | config USB_MOUSE |
| 292 | depends on USB && MOUSE |
| 293 | bool "USB mice" |
| 294 | default y |
| 295 | help |
| 296 | Support USB mice. |
| 297 | |
| 298 | config SERIAL |
| 299 | bool "Serial port" |
| 300 | default y |
| 301 | help |
| 302 | Support serial ports. This also enables int 14 serial port calls. |
| 303 | config LPT |
| 304 | bool "Parallel port" |
| 305 | default y |
| 306 | help |
| 307 | Support parallel ports. This also enables int 17 parallel port calls. |
Kevin O'Connor | bc46ebe | 2015-08-13 11:43:27 -0400 | [diff] [blame] | 308 | config RTC_TIMER |
| 309 | bool "Real Time Clock (RTC) scheduling" |
Kevin O'Connor | bd5f6c7 | 2015-08-10 16:14:48 -0400 | [diff] [blame] | 310 | depends on HARDWARE_IRQ |
Kevin O'Connor | bc46ebe | 2015-08-13 11:43:27 -0400 | [diff] [blame] | 311 | default y |
| 312 | help |
| 313 | Support MC146818 Real Time Clock chip timer |
| 314 | interrupts. This also enables int 1583 and int 1586 calls. |
| 315 | |
| 316 | Disabling this support does not disable access to the RTC |
| 317 | cmos registers. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 318 | |
Kevin O'Connor | bd5f6c7 | 2015-08-10 16:14:48 -0400 | [diff] [blame] | 319 | config HARDWARE_IRQ |
| 320 | bool "Hardware interrupts" |
| 321 | default y |
| 322 | help |
| 323 | Program and support hardware interrupts using the i8259 |
| 324 | programmable interrupt controller (PIC). This option must |
| 325 | be enabled in order to support most boot loaders. Only |
| 326 | disable this option if running on peculiar hardware known |
| 327 | not to support irq routing. |
| 328 | |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 329 | config USE_SMM |
Gerd Hoffmann | 9600c80 | 2012-10-29 11:28:32 +0100 | [diff] [blame] | 330 | depends on QEMU |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 331 | bool "System Management Mode (SMM)" |
| 332 | default y |
| 333 | help |
| 334 | Support System Management Mode (on emulators). |
Kevin O'Connor | 55215cd | 2014-04-11 11:20:41 -0400 | [diff] [blame] | 335 | config CALL32_SMM |
| 336 | bool |
| 337 | depends on USE_SMM |
| 338 | default y |
Kevin O'Connor | 424f217 | 2011-03-06 19:06:48 -0500 | [diff] [blame] | 339 | config MTRR_INIT |
Gerd Hoffmann | 9600c80 | 2012-10-29 11:28:32 +0100 | [diff] [blame] | 340 | depends on QEMU |
Kevin O'Connor | 424f217 | 2011-03-06 19:06:48 -0500 | [diff] [blame] | 341 | bool "Initialize MTRRs" |
| 342 | default y |
| 343 | help |
| 344 | Initialize the Memory Type Range Registers (on emulators). |
Gerd Hoffmann | 455a7c8 | 2012-09-06 08:01:00 +0200 | [diff] [blame] | 345 | config PMTIMER |
Kevin O'Connor | 4ec872a | 2015-07-23 08:36:01 -0400 | [diff] [blame] | 346 | bool "Support ACPI timer" |
Gerd Hoffmann | 455a7c8 | 2012-09-06 08:01:00 +0200 | [diff] [blame] | 347 | default y |
| 348 | help |
Kevin O'Connor | 4ec872a | 2015-07-23 08:36:01 -0400 | [diff] [blame] | 349 | Detect and use the ACPI timer for timekeeping. |
| 350 | config TSC_TIMER |
| 351 | bool "Support CPU timestamp counter as timer" |
| 352 | default y |
| 353 | help |
| 354 | Support for using the CPU timestamp counter as an internal |
| 355 | timing source. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 356 | endmenu |
| 357 | |
| 358 | menu "BIOS interfaces" |
| 359 | config DRIVES |
| 360 | bool "Drive interface" |
| 361 | default y |
| 362 | help |
| 363 | Support int13 disk/floppy drive functions. |
| 364 | |
| 365 | config CDROM_BOOT |
| 366 | depends on DRIVES |
| 367 | bool "DVD/CDROM booting" |
| 368 | default y |
| 369 | help |
| 370 | Support for booting from a CD. (El Torito spec support.) |
| 371 | config CDROM_EMU |
| 372 | depends on CDROM_BOOT |
| 373 | bool "DVD/CDROM boot drive emulation" |
| 374 | default y |
| 375 | help |
| 376 | Support bootable CDROMs that emulate a floppy/harddrive. |
| 377 | |
| 378 | config PCIBIOS |
| 379 | bool "PCIBIOS interface" |
| 380 | default y |
| 381 | help |
| 382 | Support int 1a/b1 PCI BIOS calls. |
| 383 | config APMBIOS |
| 384 | bool "APM interface" |
| 385 | default y |
| 386 | help |
| 387 | Support int 15/53 APM BIOS calls. |
| 388 | config PNPBIOS |
| 389 | bool "PnP BIOS interface" |
| 390 | default y |
| 391 | help |
| 392 | Support PnP BIOS entry point. |
| 393 | config OPTIONROMS |
| 394 | bool "Option ROMS" |
| 395 | default y |
| 396 | help |
| 397 | Support finding and running option roms during POST. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 398 | config PMM |
| 399 | depends on OPTIONROMS |
| 400 | bool "PMM interface" |
| 401 | default y |
| 402 | help |
| 403 | Support Post Memory Manager (PMM) entry point. |
| 404 | config BOOT |
| 405 | bool "Boot interface" |
| 406 | default y |
| 407 | help |
| 408 | Support int 19/18 system bootup support. |
| 409 | config KEYBOARD |
| 410 | bool "Keyboard interface" |
| 411 | default y |
| 412 | help |
| 413 | Support int 16 keyboard calls. |
| 414 | config KBD_CALL_INT15_4F |
| 415 | depends on KEYBOARD |
| 416 | bool "Keyboard hook interface" |
| 417 | default y |
| 418 | help |
| 419 | Support calling int155f on each keyboard event. |
| 420 | config MOUSE |
| 421 | bool "Mouse interface" |
| 422 | default y |
| 423 | help |
| 424 | Support for int15c2 mouse calls. |
| 425 | |
| 426 | config S3_RESUME |
| 427 | bool "S3 resume" |
| 428 | default y |
| 429 | help |
| 430 | Support S3 resume handler. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 431 | |
Kevin O'Connor | 713be89 | 2011-01-26 21:19:25 -0500 | [diff] [blame] | 432 | config VGAHOOKS |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 433 | bool "Hardware specific VGA helpers" |
| 434 | default y |
| 435 | help |
| 436 | Support int 155f BIOS callbacks specific to some Intel and |
| 437 | VIA on-board vga devices. |
| 438 | |
| 439 | config DISABLE_A20 |
| 440 | bool "Disable A20" |
| 441 | default n |
| 442 | help |
| 443 | Disable A20 on 16bit boot. |
Kevin O'Connor | c98424c | 2013-07-21 16:38:18 -0400 | [diff] [blame] | 444 | |
| 445 | config WRITABLE_UPPERMEMORY |
| 446 | depends on QEMU |
| 447 | bool "Make unused UMB memory read/writeable." |
| 448 | default n |
| 449 | help |
| 450 | When selected, the "Upper Memory Block" area |
| 451 | (0x90000-0xa0000) that is not used for option roms will be |
| 452 | made writable. This allows the ram to be directly |
| 453 | modified by programs. However, some old DOS high memory |
| 454 | managers may require the UMB region to be read-only. |
| 455 | |
Stefan Berger | b310dfa | 2015-03-23 14:22:16 -0400 | [diff] [blame] | 456 | config TCGBIOS |
| 457 | depends on S3_RESUME |
| 458 | bool "TPM support and TCG BIOS extensions" |
| 459 | default y |
| 460 | help |
| 461 | Provide TPM support along with TCG BIOS extensions |
| 462 | |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 463 | endmenu |
| 464 | |
| 465 | menu "BIOS Tables" |
Gerd Hoffmann | 9600c80 | 2012-10-29 11:28:32 +0100 | [diff] [blame] | 466 | depends on QEMU |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 467 | config PIRTABLE |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 468 | bool "PIR table" |
| 469 | default y |
| 470 | help |
| 471 | Support generation of a PIR table in 0xf000 segment. |
| 472 | config MPTABLE |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 473 | bool "MPTable" |
| 474 | default y |
| 475 | help |
| 476 | Support generation of MPTable. |
| 477 | config SMBIOS |
| 478 | bool "SMBIOS" |
| 479 | default y |
| 480 | help |
| 481 | Support generation of SM BIOS tables. This is also |
| 482 | sometimes called DMI. |
| 483 | config ACPI |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 484 | bool "ACPI" |
| 485 | default y |
| 486 | help |
| 487 | Support generation of ACPI tables. |
Michael S. Tsirkin | 5aef563 | 2013-03-18 15:18:25 +0200 | [diff] [blame] | 488 | config ACPI_DSDT |
| 489 | bool "Include default ACPI DSDT" |
| 490 | default y |
| 491 | depends on ACPI |
| 492 | help |
| 493 | Include default DSDT ACPI table in BIOS. |
| 494 | Required for QEMU 1.3 and older. |
| 495 | This option can be disabled for QEMU 1.4 and newer |
| 496 | to save some space in the ROM file. |
| 497 | If unsure, say Y. |
Michael S. Tsirkin | 1194874 | 2013-10-03 16:30:41 +0300 | [diff] [blame] | 498 | config FW_ROMFILE_LOAD |
| 499 | bool "Load BIOS tables from ROM files" |
| 500 | depends on QEMU_HARDWARE |
| 501 | default y |
| 502 | help |
| 503 | Support loading BIOS firmware tables from ROM files. |
| 504 | At the moment, only ACPI tables can be loaded in this way. |
| 505 | Required for QEMU 1.7 and newer. |
| 506 | This option can be disabled for QEMU 1.6 and older |
| 507 | to save some space in the ROM file. |
| 508 | If unsure, say Y. |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 509 | endmenu |
| 510 | |
Kevin O'Connor | 2321912 | 2013-02-17 10:56:10 -0500 | [diff] [blame] | 511 | source vgasrc/Kconfig |
Julian Pidancet | da08a6d | 2011-12-19 05:07:56 +0000 | [diff] [blame] | 512 | |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 513 | menu "Debugging" |
| 514 | config DEBUG_LEVEL |
| 515 | int "Debug level" |
| 516 | default 1 |
| 517 | help |
| 518 | Control how verbose debug output is. The higher the |
| 519 | number, the more verbose SeaBIOS will be. |
| 520 | |
| 521 | Set to zero to disable debugging. |
| 522 | |
| 523 | config DEBUG_SERIAL |
| 524 | depends on DEBUG_LEVEL != 0 |
| 525 | bool "Serial port debugging" |
| 526 | default n |
| 527 | help |
| 528 | Send debugging information to serial port. |
Kevin O'Connor | d12e8a2 | 2011-05-10 23:36:11 -0400 | [diff] [blame] | 529 | config DEBUG_SERIAL_PORT |
| 530 | depends on DEBUG_SERIAL |
| 531 | hex "Serial port base address" |
| 532 | default 0x3f8 |
| 533 | help |
| 534 | Base port for serial - generally 0x3f8, 0x2f8, 0x3e8, or 0x2e8. |
Julian Pidancet | 7123d98 | 2012-02-01 16:03:24 +0000 | [diff] [blame] | 535 | |
| 536 | config DEBUG_IO |
Gerd Hoffmann | 2ca73ed | 2013-06-05 09:37:24 +0200 | [diff] [blame] | 537 | depends on QEMU_HARDWARE && DEBUG_LEVEL != 0 |
Julian Pidancet | 7123d98 | 2012-02-01 16:03:24 +0000 | [diff] [blame] | 538 | bool "Special IO port debugging" |
| 539 | default y |
| 540 | help |
| 541 | Some emulators or hypervisors provide with a way to output debug |
| 542 | information by outputing strings in a special port present in the |
| 543 | IO space. |
| 544 | |
Gerd Hoffmann | c83e7c2 | 2013-06-25 15:45:30 +0200 | [diff] [blame] | 545 | config DEBUG_COREBOOT |
| 546 | depends on COREBOOT && DEBUG_LEVEL != 0 |
| 547 | bool "coreboot cbmem debug logging" |
| 548 | default y |
| 549 | help |
| 550 | Send debugging information to the coreboot cbmem console buffer. |
| 551 | Needs CONFIG_CONSOLE_CBMEM in coreboot. You can read the log |
| 552 | after boot using 'cbmem -c'. Only 32bit code (basically every- |
| 553 | thing before booting the OS) writes to the log buffer. |
| 554 | |
Kevin O'Connor | 1efb10b | 2011-01-29 10:57:20 -0500 | [diff] [blame] | 555 | endmenu |