Kevin O'Connor | 5f4ce9e | 2012-01-15 02:01:24 -0500 | [diff] [blame] | 1 | # Kconfig SeaBIOS VGA BIOS configuration |
| 2 | |
| 3 | menu "VGA ROM" |
| 4 | choice |
| 5 | prompt "VGA Hardware Type" |
| 6 | default NO_VGABIOS |
| 7 | |
| 8 | config NO_VGABIOS |
| 9 | bool "None" |
| 10 | help |
| 11 | Do not build a VGA BIOS. |
| 12 | |
| 13 | config VGA_STANDARD_VGA |
Kevin O'Connor | 58b157f | 2013-02-13 19:36:02 -0500 | [diff] [blame] | 14 | depends on QEMU |
Kevin O'Connor | 4562bf6 | 2012-04-15 22:02:58 -0400 | [diff] [blame] | 15 | bool "QEMU/Bochs Original IBM 256K VGA" |
Kevin O'Connor | 5f4ce9e | 2012-01-15 02:01:24 -0500 | [diff] [blame] | 16 | help |
Kevin O'Connor | 4562bf6 | 2012-04-15 22:02:58 -0400 | [diff] [blame] | 17 | Build basic VGA BIOS support (pre Super-VGA) for use |
| 18 | on emulators. |
Kevin O'Connor | 5f4ce9e | 2012-01-15 02:01:24 -0500 | [diff] [blame] | 19 | |
| 20 | config VGA_CIRRUS |
Kevin O'Connor | 58b157f | 2013-02-13 19:36:02 -0500 | [diff] [blame] | 21 | depends on QEMU |
Kevin O'Connor | 4562bf6 | 2012-04-15 22:02:58 -0400 | [diff] [blame] | 22 | bool "QEMU/Bochs Cirrus SVGA" |
Kevin O'Connor | 5f4ce9e | 2012-01-15 02:01:24 -0500 | [diff] [blame] | 23 | help |
Kevin O'Connor | 197ea6c | 2012-02-07 21:03:23 -0500 | [diff] [blame] | 24 | Build support for Cirrus VGA emulation found on QEMU |
| 25 | and Bochs emulators. This is for emulators; it is not |
| 26 | intended for use on real Cirrus hardware. |
Kevin O'Connor | 5f4ce9e | 2012-01-15 02:01:24 -0500 | [diff] [blame] | 27 | |
| 28 | config VGA_BOCHS |
Kevin O'Connor | 58b157f | 2013-02-13 19:36:02 -0500 | [diff] [blame] | 29 | depends on QEMU |
Kevin O'Connor | 4562bf6 | 2012-04-15 22:02:58 -0400 | [diff] [blame] | 30 | bool "QEMU/Bochs VBE SVGA" |
Kevin O'Connor | 5f4ce9e | 2012-01-15 02:01:24 -0500 | [diff] [blame] | 31 | help |
Kevin O'Connor | 4562bf6 | 2012-04-15 22:02:58 -0400 | [diff] [blame] | 32 | Build support for Bochs DISPI interface (a custom VBE |
| 33 | protocol) found on QEMU and Bochs emulators. |
Kevin O'Connor | 5f4ce9e | 2012-01-15 02:01:24 -0500 | [diff] [blame] | 34 | |
| 35 | config VGA_GEODEGX2 |
Kevin O'Connor | 4562bf6 | 2012-04-15 22:02:58 -0400 | [diff] [blame] | 36 | bool "GeodeGX2" |
Kevin O'Connor | 5f4ce9e | 2012-01-15 02:01:24 -0500 | [diff] [blame] | 37 | help |
| 38 | Build support for Geode GX2 vga. |
| 39 | |
| 40 | config VGA_GEODELX |
Kevin O'Connor | 4562bf6 | 2012-04-15 22:02:58 -0400 | [diff] [blame] | 41 | bool "GeodeLX" |
Kevin O'Connor | 5f4ce9e | 2012-01-15 02:01:24 -0500 | [diff] [blame] | 42 | help |
| 43 | Build support for Geode LX vga. |
| 44 | endchoice |
| 45 | |
Christian Gmeiner | 5556f21 | 2012-10-01 14:02:47 +0200 | [diff] [blame] | 46 | choice |
| 47 | depends on VGA_GEODEGX2 || VGA_GEODELX |
| 48 | prompt "Output Mode" |
| 49 | default VGA_OUTPUT_CRT |
| 50 | |
| 51 | config VGA_OUTPUT_CRT |
| 52 | bool "CRT" |
| 53 | help |
| 54 | Use CRT for output. |
| 55 | |
| 56 | config VGA_OUTPUT_PANEL |
| 57 | bool "Flat Panel" |
| 58 | help |
| 59 | Use flat panel for output. |
| 60 | |
| 61 | config VGA_OUTPUT_CRT_PANEL |
| 62 | bool "CRT and Flat Panel" |
| 63 | help |
| 64 | Use CRT and flat panel for output. |
| 65 | endchoice |
| 66 | |
Kevin O'Connor | 5f4ce9e | 2012-01-15 02:01:24 -0500 | [diff] [blame] | 67 | config BUILD_VGABIOS |
| 68 | bool |
| 69 | default !NO_VGABIOS |
| 70 | |
Kevin O'Connor | b3df857 | 2012-01-15 02:43:19 -0500 | [diff] [blame] | 71 | config VGA_VBE |
| 72 | depends on BUILD_VGABIOS |
| 73 | bool "Video BIOS Extensions (VBE)" |
| 74 | default y |
| 75 | help |
| 76 | Support VBE. |
| 77 | |
Kevin O'Connor | 5f4ce9e | 2012-01-15 02:01:24 -0500 | [diff] [blame] | 78 | config VGA_PCI |
| 79 | depends on BUILD_VGABIOS |
| 80 | bool "PCI ROM Headers" |
| 81 | default y |
| 82 | help |
| 83 | Build PCI ROM headers so the vga rom can be extracted from |
| 84 | a PCI device. |
| 85 | |
| 86 | config OVERRIDE_PCI_ID |
| 87 | depends on VGA_PCI |
| 88 | bool "Override PCI Vendor and Device IDs" |
| 89 | help |
| 90 | Specify specific values for the PCI Vendor and Device IDs. |
| 91 | |
| 92 | config VGA_VID |
| 93 | depends on VGA_PCI |
| 94 | hex |
| 95 | prompt "PCI Vendor ID" if OVERRIDE_PCI_ID |
| 96 | default 0x1013 if VGA_CIRRUS |
| 97 | default 0x1234 if VGA_BOCHS |
| 98 | default 0x100b if VGA_GEODEGX2 |
| 99 | default 0x1022 if VGA_GEODELX |
| 100 | default 0x0000 |
| 101 | help |
| 102 | Vendor ID for the PCI ROM |
| 103 | |
| 104 | config VGA_DID |
| 105 | depends on VGA_PCI |
| 106 | hex |
| 107 | prompt "PCI Vendor ID" if OVERRIDE_PCI_ID |
| 108 | default 0x00b8 if VGA_CIRRUS |
| 109 | default 0x1111 if VGA_BOCHS |
| 110 | default 0x0030 if VGA_GEODEGX2 |
| 111 | default 0x2081 if VGA_GEODELX |
| 112 | default 0x0000 |
| 113 | help |
| 114 | Device ID for the PCI ROM |
| 115 | endmenu |