[LinuxBIOS] [PATCH] VGA is used before it is initialized
stuge-linuxbios at cdy.org
Thu Feb 1 00:53:26 CET 2007
On Wed, Jan 31, 2007 at 05:35:21PM -0600, Roman Kononov wrote:
> This patch makes sure that VGA is initialized before it is used.
> Additionally, VGA will be initialized if either CONFIG_PCI_ROM_RUN=1
> or CONFIG_CONSOLE_VGA=1.
--- src/devices/pci_device.c (revision 2539)
+++ src/devices/pci_device.c (working copy)
@@ -633,7 +633,7 @@ void pci_dev_set_subsystem(device_t dev,
void pci_dev_init(struct device *dev)
-#if CONFIG_PCI_ROM_RUN == 1
+#if CONFIG_PCI_ROM_RUN == 1 || CONFIG_CONSOLE_VGA=1
struct rom_header *rom, *ram;
rom = pci_rom_probe(dev);
One or two = ? Which is it?
More information about the coreboot