summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-04-25 18:05:42 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-04-25 18:05:42 +0000
commit14b62da01ded297e12db6ed3b41778202e9aae41 (patch)
tree943ea2edcb64142e02010b199f2ee59748c05074 /src/northbridge
parenta3c10acaacb6baeac377338dae3bc0d5b0fb104a (diff)
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
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/via/cx700/cx700_vga.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/northbridge/via/cx700/cx700_vga.c b/src/northbridge/via/cx700/cx700_vga.c
index f2d5450354..8cf107c955 100644
--- a/src/northbridge/via/cx700/cx700_vga.c
+++ b/src/northbridge/via/cx700/cx700_vga.c
@@ -117,6 +117,8 @@ static void vga_init(device_t dev)
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);