Add kconfig menus for most chipset VIDEO_MB values.
[coreboot.git] / src / devices / Kconfig
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2007 coresystems GmbH
5 ## (Written by Stefan Reinauer <stepan@coresystems.de> for coresystems GmbH)
6 ##
7 ## This program is free software; you can redistribute it and/or modify
8 ## it under the terms of the GNU General Public License as published by
9 ## the Free Software Foundation; version 2 of the License
10 ##
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, write to the Free Software
18 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
19 ##
20
21 config VGA_BRIDGE_SETUP
22         bool "Setup bridges on path to VGA adapter"
23         default y
24         help
25           Allow bridges to set up legacy decoding ranges for VGA. Don't disable
26           this unless you're sure you don't want the briges setup for VGA.
27
28 # TODO: Explain differences (if any) for onboard cards.
29 config VGA_ROM_RUN
30         bool "Run VGA option ROMs"
31         default y
32         help
33           Execute VGA option ROMs, if found. This is required to enable
34           PCI/AGP/PCI-E video cards.
35
36 config PCI_ROM_RUN
37         bool "Run non-VGA option ROMs"
38         default y
39         help
40           Execute non-VGA PCI option ROMs, if found.
41
42           Examples include IDE/SATA controller option ROMs and option ROMs
43           for network cards (NICs).
44
45 # TODO: Describe YABEL vs. x86emu differences in more detail.
46 choice
47         prompt "Option ROM execution type"
48         default PCI_OPTION_ROM_RUN_REALMODE
49         depends on PCI_ROM_RUN || VGA_ROM_RUN
50
51 config PCI_OPTION_ROM_RUN_REALMODE
52         prompt "Real mode"
53         bool
54         help
55           If you select this option, PCI option ROMs will be executed
56           natively on the hardware (a 32bit x86 system is required).
57
58 config PCI_OPTION_ROM_RUN_YABEL
59         prompt "YABEL"
60         bool
61         help
62           If you select this option, the YABEL BIOS emulator will be used to
63           execute PCI option ROMs.
64
65 config PCI_OPTION_ROM_RUN_X86EMU
66         prompt "x86emu"
67         bool
68         help
69           If you select this option, the x86emu BIOS emulator will be used to
70           execute PCI option ROMs.
71
72 endchoice
73
74 # TODO: Describe better, and/or make a "choice" selection for this.
75 config YABEL_DEBUG_FLAGS
76         prompt "Hex value for YABEL debug flags"
77         hex
78         default 0x0
79         depends on PCI_OPTION_ROM_RUN_YABEL
80         help
81           See debug.h for values 0 is no debug output, 0x31ff is _verbose_.
82
83 config CONSOLE_VGA_MULTI
84         bool
85         default n
86
87 config PCI_64BIT_PREF_MEM
88         bool
89         default n
90
91 config HYPERTRANSPORT_PLUGIN_SUPPORT
92         bool
93         default n
94
95 config PCIX_PLUGIN_SUPPORT
96         bool
97         default y
98
99 config PCIEXP_PLUGIN_SUPPORT
100         bool
101         default y
102
103 config AGP_PLUGIN_SUPPORT
104         bool
105         default y
106
107 config CARDBUS_PLUGIN_SUPPORT
108         bool
109         default y