blob: 089a447905a229d92d31b211ee4bb90adbe170bf [file] [log] [blame]
Kevin O'Connor5f4ce9e2012-01-15 02:01:24 -05001# Kconfig SeaBIOS VGA BIOS configuration
2
3menu "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'Connor197ea6c2012-02-07 21:03:23 -050014 depends on !COREBOOT
Kevin O'Connor4562bf62012-04-15 22:02:58 -040015 bool "QEMU/Bochs Original IBM 256K VGA"
Kevin O'Connor5f4ce9e2012-01-15 02:01:24 -050016 help
Kevin O'Connor4562bf62012-04-15 22:02:58 -040017 Build basic VGA BIOS support (pre Super-VGA) for use
18 on emulators.
Kevin O'Connor5f4ce9e2012-01-15 02:01:24 -050019
20 config VGA_CIRRUS
Kevin O'Connor197ea6c2012-02-07 21:03:23 -050021 depends on !COREBOOT
Kevin O'Connor4562bf62012-04-15 22:02:58 -040022 bool "QEMU/Bochs Cirrus SVGA"
Kevin O'Connor5f4ce9e2012-01-15 02:01:24 -050023 help
Kevin O'Connor197ea6c2012-02-07 21:03:23 -050024 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'Connor5f4ce9e2012-01-15 02:01:24 -050027
28 config VGA_BOCHS
Kevin O'Connor197ea6c2012-02-07 21:03:23 -050029 depends on !COREBOOT
Kevin O'Connor4562bf62012-04-15 22:02:58 -040030 bool "QEMU/Bochs VBE SVGA"
Kevin O'Connor5f4ce9e2012-01-15 02:01:24 -050031 help
Kevin O'Connor4562bf62012-04-15 22:02:58 -040032 Build support for Bochs DISPI interface (a custom VBE
33 protocol) found on QEMU and Bochs emulators.
Kevin O'Connor5f4ce9e2012-01-15 02:01:24 -050034
35 config VGA_GEODEGX2
Kevin O'Connor4562bf62012-04-15 22:02:58 -040036 bool "GeodeGX2"
Kevin O'Connor5f4ce9e2012-01-15 02:01:24 -050037 help
38 Build support for Geode GX2 vga.
39
40 config VGA_GEODELX
Kevin O'Connor4562bf62012-04-15 22:02:58 -040041 bool "GeodeLX"
Kevin O'Connor5f4ce9e2012-01-15 02:01:24 -050042 help
43 Build support for Geode LX vga.
44 endchoice
45
Christian Gmeiner5556f212012-10-01 14:02:47 +020046 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'Connor5f4ce9e2012-01-15 02:01:24 -050067 config BUILD_VGABIOS
68 bool
69 default !NO_VGABIOS
70
Kevin O'Connorb3df8572012-01-15 02:43:19 -050071 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'Connor5f4ce9e2012-01-15 02:01:24 -050078 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
115endmenu