This patch makes sure that VGA is initialized before it is used. Without
authorRoman Kononov <kononov195-lbl@yahoo.com>
Fri, 6 Apr 2007 18:34:39 +0000 (18:34 +0000)
committerStefan Reinauer <stepan@openbios.org>
Fri, 6 Apr 2007 18:34:39 +0000 (18:34 +0000)
commit778a42b129aef01be41633051b494e4462588e6b
treeb8f147a9df8d943fbb5771d1540a82cd988ba506
parentba43064d3276f3c96bb057ecdfd293cb2ae11a97
This patch makes sure that VGA is initialized before it is used. Without
this fix, LinuxBIOS crashes if the CONSOLE_LOG_LEVEL is high enough.

Additionally, The VGA option rom will be executed if either
CONFIG_PCI_ROM_RUN=1 or CONFIG_CONSOLE_VGA=1.

Signed-off-by: Roman Kononov <kononov195-lbl@yahoo.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2587 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/devices/pci_device.c
src/devices/pci_rom.c