qemu: remove vga hook

Extra care for the qemu vga should not be needed any more.
Since release 0.12 qemu loads the vgabios into the PCI ROM
bar, so everything works exactly like it does on real hardware.

Change-Id: I4b9bf1244cad437cbe5168600aeee52031456033
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-on: http://review.coreboot.org/3333
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Gerd Hoffmann 2013-05-29 14:53:03 +02:00 committed by Ronald G. Minnich
parent c4fd2973ab
commit 1a71f4c21f
1 changed files with 0 additions and 26 deletions

View File

@ -64,29 +64,3 @@ static const struct pci_driver nb_driver __pci_driver = {
.vendor = 0x8086,
.device = 0x1237,
};
static void qemu_init(device_t dev)
{
/* The VGA OPROM already lives at 0xc0000,
* force coreboot to use it.
*/
dev->on_mainboard = 1;
/* Now do the usual initialization */
pci_dev_init(dev);
}
static struct device_operations vga_operations = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = qemu_init,
.ops_pci = 0,
};
static const struct pci_driver vga_driver __pci_driver = {
.ops = &vga_operations,
.vendor = 0x1013,
.device = 0x00b8,
};