Only do complete VGA init if a VGABIOS was found and installed.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5495 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Patrick Georgi 2010-04-25 18:05:42 +00:00
parent a3c10acaac
commit 14b62da01d
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ static void vga_init(device_t dev)
pci_dev_init(dev); pci_dev_init(dev);
if (pci_read_config32(dev, PCI_ROM_ADDRESS) != 0xc0000) return;
printk(BIOS_DEBUG, "Enable VGA console\n"); printk(BIOS_DEBUG, "Enable VGA console\n");
// this is how it should look: // this is how it should look:
// call_bios_interrupt(0x10,0x4f1f,0x8003,1,0); // call_bios_interrupt(0x10,0x4f1f,0x8003,1,0);