Printing coreboot debug messages on VGA console is pretty much useless, since
[coreboot.git] / src / devices / Kconfig
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2007-2010 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 choice
46         prompt "Option ROM execution type"
47         default PCI_OPTION_ROM_RUN_YABEL if !ARCH_X86
48         default PCI_OPTION_ROM_RUN_REALMODE if ARCH_X86
49         depends on PCI_ROM_RUN || VGA_ROM_RUN || GEODE_VSA
50
51 config PCI_OPTION_ROM_RUN_REALMODE
52         prompt "Native mode"
53         bool
54         depends on ARCH_X86
55         help
56           If you select this option, PCI option ROMs will be executed
57           natively on the CPU in real mode. No CPU emulation is involved,
58           so this is the fastest, but also the least secure option.
59           (only works on x86/x64 systems)
60
61 config PCI_OPTION_ROM_RUN_YABEL
62         prompt "Secure mode"
63         bool
64         depends on !GEODE_VSA
65         help
66           If you select this option, the x86emu CPU emulator will be used to
67           execute PCI option ROMs.
68
69           This option prevents option ROMs from doing dirty tricks with the
70           system (such as installing SMM modules or hypervisors), but it is
71           also significantly slower than the native option ROM initialization
72           method.
73
74           This is the default choice for non-x86 systems.
75
76 endchoice
77
78 config YABEL_PCI_ACCESS_OTHER_DEVICES
79         prompt "Allow option ROMs to access other devices"
80         bool
81         depends on PCI_OPTION_ROM_RUN_YABEL
82         help
83           Per default, YABEL only allows option ROMs to access the PCI device
84           that they are associated with. However, this causes trouble for some
85           onboard graphics chips whose option ROM needs to reconfigure the
86           north bridge.
87
88 config YABEL_VIRTMEM_LOCATION
89         prompt "Location of YABEL's virtual memory"
90         hex
91         depends on PCI_OPTION_ROM_RUN_YABEL && EXPERT
92         default 0x1000000
93         help
94           YABEL requires 1MB memory for its CPU emulation. This memory is
95           normally located at 16MB.
96
97 config YABEL_VIRTMEM_LOCATION
98         hex
99         depends on PCI_OPTION_ROM_RUN_YABEL && !EXPERT
100         default 0x1000000
101
102 config YABEL_DIRECTHW
103         prompt "Direct hardware access"
104         bool
105         depends on PCI_OPTION_ROM_RUN_YABEL
106         help
107           YABEL consists of two parts: It uses x86emu for the CPU emulation and
108           additionally provides a PC system emulation that filters bad device
109           and memory access (such as PCI config space access to other devices
110           than the initialized one).
111
112           When choosing this option, x86emu will pass through all hardware
113           accesses to memory and I/O devices to the underlying memory and I/O
114           addresses. While this option prevents option ROMs from doing dirty
115           tricks with the CPU (such as installing SMM modules or hypervisors),
116           they can still access all devices in the system.
117           Enable this option for a good compromise between security and speed.
118
119 config MULTIPLE_VGA_ADAPTERS
120         bool
121         default n
122
123 config PCI_64BIT_PREF_MEM
124         bool
125         default n
126
127 config HYPERTRANSPORT_PLUGIN_SUPPORT
128         bool
129         default n
130
131 config PCIX_PLUGIN_SUPPORT
132         bool
133         default y
134
135 config PCIEXP_PLUGIN_SUPPORT
136         bool
137         default y
138
139 config AGP_PLUGIN_SUPPORT
140         bool
141         default y
142
143 config CARDBUS_PLUGIN_SUPPORT
144         bool
145         default y