[coreboot] [commit] r5495 - trunk/src/northbridge/via/cx700

repository service svn at coreboot.org
Sun Apr 25 20:05:42 CEST 2010


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 <patrick.georgi at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>

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);




More information about the coreboot mailing list