2 ## This file is part of the coreboot project.
4 ## Copyright (C) 2007-2010 coresystems GmbH
5 ## (Written by Stefan Reinauer <stepan@coresystems.de> for coresystems GmbH)
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.
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.
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
21 config VGA_BRIDGE_SETUP
22 bool "Setup bridges on path to VGA adapter"
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.
28 # TODO: Explain differences (if any) for onboard cards.
30 bool "Run VGA Option ROMs"
33 Execute VGA Option ROMs, if found. This is required to enable
34 PCI/AGP/PCI-E video cards.
37 bool "Re-run VGA Option ROMs on S3 resume"
39 depends on VGA_ROM_RUN && HAVE_ACPI_RESUME
41 Execute VGA Option ROMs when coming out of an S3 resume.
44 bool "Run non-VGA Option ROMs"
47 Execute non-VGA PCI Option ROMs, if found.
49 Examples include IDE/SATA controller Option ROMs and Option ROMs
50 for network cards (NICs).
52 config ON_DEVICE_ROM_RUN
53 bool "Run Option ROMs on PCI devices"
56 Execute Option ROMs that are stored on PCI/PCIe/AGP devices.
58 If disabled, only Option ROMs stored in CBFS will be executed. If
59 you are concerned about security, you might want to disable this
60 option, but it might leave your system in a state of degraded
66 prompt "Option ROM execution type"
67 default PCI_OPTION_ROM_RUN_YABEL if !ARCH_X86
68 default PCI_OPTION_ROM_RUN_REALMODE if ARCH_X86
69 depends on PCI_ROM_RUN || VGA_ROM_RUN || GEODE_VSA
71 config PCI_OPTION_ROM_RUN_REALMODE
76 If you select this option, PCI Option ROMs will be executed
77 natively on the CPU in real mode. No CPU emulation is involved,
78 so this is the fastest, but also the least secure option.
79 (only works on x86/x64 systems)
81 config PCI_OPTION_ROM_RUN_YABEL
86 If you select this option, the x86emu CPU emulator will be used to
87 execute PCI Option ROMs.
89 This option prevents Option ROMs from doing dirty tricks with the
90 system (such as installing SMM modules or hypervisors), but it is
91 also significantly slower than the native Option ROM initialization
94 This is the default choice for non-x86 systems.
98 config YABEL_PCI_ACCESS_OTHER_DEVICES
99 prompt "Allow Option ROMs to access other devices"
101 depends on PCI_OPTION_ROM_RUN_YABEL
103 Per default, YABEL only allows Option ROMs to access the PCI device
104 that they are associated with. However, this causes trouble for some
105 onboard graphics chips whose Option ROM needs to reconfigure the
108 config YABEL_VIRTMEM_LOCATION
109 prompt "Location of YABEL's virtual memory"
111 depends on PCI_OPTION_ROM_RUN_YABEL && EXPERT
114 YABEL requires 1MB memory for its CPU emulation. This memory is
115 normally located at 16MB.
117 config YABEL_VIRTMEM_LOCATION
119 depends on PCI_OPTION_ROM_RUN_YABEL && !EXPERT
122 config YABEL_DIRECTHW
123 prompt "Direct hardware access"
125 depends on PCI_OPTION_ROM_RUN_YABEL
127 YABEL consists of two parts: It uses x86emu for the CPU emulation and
128 additionally provides a PC system emulation that filters bad device
129 and memory access (such as PCI config space access to other devices
130 than the initialized one).
132 When choosing this option, x86emu will pass through all hardware
133 accesses to memory and I/O devices to the underlying memory and I/O
134 addresses. While this option prevents Option ROMs from doing dirty
135 tricks with the CPU (such as installing SMM modules or hypervisors),
136 they can still access all devices in the system.
137 Enable this option for a good compromise between security and speed.
139 config MULTIPLE_VGA_ADAPTERS
143 config PCI_64BIT_PREF_MEM
147 config HYPERTRANSPORT_PLUGIN_SUPPORT
151 config PCIX_PLUGIN_SUPPORT
155 config PCIEXP_PLUGIN_SUPPORT
159 config AGP_PLUGIN_SUPPORT
163 config CARDBUS_PLUGIN_SUPPORT
167 config PCIEXP_COMMON_CLOCK
168 prompt "Enable PCIe Common Clock"
172 Detect and enable Common Clock on PCIe links.
175 prompt "Enable PCIe ASPM"
179 Detect and enable ASPM on PCIe links.