Fix vga initialization for qemu virtual graphics adapter.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>

Index: mainboard/emulation/qemu-x86/vga.c
===================================================================
--- mainboard/emulation/qemu-x86/vga.c	(revision 665)
+++ mainboard/emulation/qemu-x86/vga.c	(working copy)
@@ -33,7 +33,6 @@
 
 	printk(BIOS_INFO, "Init VGA device\n");
 
-	dev->on_mainboard = 1;
 	dev->rom_address = 0xc0000;
 
 	/*
Index: device/pci_rom.c
===================================================================
--- device/pci_rom.c	(revision 665)
+++ device/pci_rom.c	(working copy)
@@ -61,7 +61,13 @@
 		rom_address = 0xc0000;
 
 	} else {
-		rom_address = pci_read_config32(dev, PCI_ROM_ADDRESS);
+		if (dev->rom_address) {
+			/* Override in place? */
+			rom_address = dev->rom_address;
+		} else {
+			rom_address = pci_read_config32(dev, PCI_ROM_ADDRESS) & 0xfffffffe;
+		}
+
 	}
 
 	if (rom_address == 0x00000000 || rom_address == 0xffffffff) {
