Author: oxygene
Date: Sun Apr 25 20:05:42 2010
New Revision: 5495
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5495

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

Signed-off-by: Patrick Georgi <[email protected]>
Acked-by: Stefan Reinauer <[email protected]>

Modified:
   trunk/src/northbridge/via/cx700/cx700_vga.c

Modified: trunk/src/northbridge/via/cx700/cx700_vga.c
==============================================================================
--- trunk/src/northbridge/via/cx700/cx700_vga.c Sun Apr 25 17:21:18 2010        
(r5494)
+++ trunk/src/northbridge/via/cx700/cx700_vga.c Sun Apr 25 20:05:42 2010        
(r5495)
@@ -117,6 +117,8 @@
 
        pci_dev_init(dev);
 
+       if (pci_read_config32(dev, PCI_ROM_ADDRESS) != 0xc0000) return;
+
        printk(BIOS_DEBUG, "Enable VGA console\n");
        // this is how it should look:
        //   call_bios_interrupt(0x10,0x4f1f,0x8003,1,0);

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to