summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-09-17 16:54:46 +0000
committerMyles Watson <mylesgw@gmail.com>2009-09-17 16:54:46 +0000
commit28412f58b62c73cee47ad3f09a4a056e64d422a6 (patch)
treec41bfea7bdff9c523a04820e92768cd066bedfac /src/devices
parenta758ca2ba9adc5b6ad01e5fe2515e0d636fffad2 (diff)
Separate CONFIG_VGA_CONSOLE from CONFIG_VGA_BRIDGE_SETUP.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4643 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/Kconfig22
-rw-r--r--src/devices/device.c4
2 files changed, 17 insertions, 9 deletions
diff --git a/src/devices/Kconfig b/src/devices/Kconfig
index 37ff9b927c..e73ee3cf9c 100644
--- a/src/devices/Kconfig
+++ b/src/devices/Kconfig
@@ -20,6 +20,13 @@
menu "Devices"
+config VGA_BRIDGE_SETUP
+ bool "Setup bridges on path to VGA adapter"
+ default y
+ help
+ Allow bridges to set up legacy decoding ranges for VGA. Don't disable
+ this unless you're sure you don't want the briges setup for VGA.
+
config VGA_ROM_RUN
bool "Run VGA Option ROMs"
help
@@ -32,11 +39,11 @@ config PCI_ROM_RUN
Execute non-VGA PCI option ROMs if found.
choice
- prompt "Option ROM Execution"
- default PCI_OPTION_ROM_RUN_REALMODE
+ prompt "Option ROM Execution"
+ default PCI_OPTION_ROM_RUN_REALMODE
depends on PCI_ROM_RUN || VGA_ROM_RUN
- help
- You can choose to execute PCI option ROMs natively (32bit x86 system
+ help
+ You can choose to execute PCI option ROMs natively (32bit x86 system
required) or in an emulator (x86emu or YABEL).
config PCI_OPTION_ROM_RUN_REALMODE
@@ -62,6 +69,10 @@ config YABEL_DEBUG_FLAGS
endmenu
+config CONSOLE_VGA_MULTI
+ bool
+ default n
+
config PCI_64BIT_PREF_MEM
bool
default n
@@ -85,6 +96,3 @@ config AGP_PLUGIN_SUPPORT
config CARDBUS_PLUGIN_SUPPORT
bool
default n
-
-
-
diff --git a/src/devices/device.c b/src/devices/device.c
index 3b97c86248..daa884d8fb 100644
--- a/src/devices/device.c
+++ b/src/devices/device.c
@@ -667,7 +667,7 @@ static void avoid_fixed_resources(struct device *dev)
}
}
-#if CONFIG_CONSOLE_VGA == 1
+#if CONFIG_VGA_BRIDGE_SETUP == 1
device_t vga_pri = 0;
static void set_vga_bridge_bits(void)
{
@@ -926,7 +926,7 @@ void dev_configure(void)
struct device *child;
int i;
-#if CONFIG_CONSOLE_VGA == 1
+#if CONFIG_VGA_BRIDGE_SETUP == 1
set_vga_bridge_bits();
#endif