summaryrefslogtreecommitdiff
path: root/src/mainboard/artecgroup
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-11-06 23:42:26 +0000
committerMyles Watson <mylesgw@gmail.com>2009-11-06 23:42:26 +0000
commitd27c08c2898d1d74765a7799628d1c18369fd671 (patch)
tree7ac357d2b44d833c6efe70d1e691c6611c521e8d /src/mainboard/artecgroup
parent547d48ab01049a634dccb16d1847524d5ba93e33 (diff)
downloadcoreboot-d27c08c2898d1d74765a7799628d1c18369fd671.tar.xz
Remove drivers/pci/onboard. The only purpose was for option ROMs, which are
now handled more generically using CBFS. Simplify the option ROM code in device/pci_rom.c, since there are only two ways to get a ROM address now (CBFS and the device) and add an exception for qemu. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4925 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/artecgroup')
-rw-r--r--src/mainboard/artecgroup/dbe61/realmode/chip.h4
-rw-r--r--src/mainboard/artecgroup/dbe61/realmode/vgabios.c32
2 files changed, 0 insertions, 36 deletions
diff --git a/src/mainboard/artecgroup/dbe61/realmode/chip.h b/src/mainboard/artecgroup/dbe61/realmode/chip.h
index ba2725a2b4..04d1452a63 100644
--- a/src/mainboard/artecgroup/dbe61/realmode/chip.h
+++ b/src/mainboard/artecgroup/dbe61/realmode/chip.h
@@ -1,10 +1,6 @@
#ifndef PCI_REALMODE_H
#define PCI_REALMODE_H
-struct drivers_pci_realmode_config
-{
- unsigned long rom_address;
-};
//struct chip_operations;
extern struct chip_operations drivers_pci_realmode_ops;
diff --git a/src/mainboard/artecgroup/dbe61/realmode/vgabios.c b/src/mainboard/artecgroup/dbe61/realmode/vgabios.c
index 944e7c03e0..1a9dced09e 100644
--- a/src/mainboard/artecgroup/dbe61/realmode/vgabios.c
+++ b/src/mainboard/artecgroup/dbe61/realmode/vgabios.c
@@ -74,36 +74,6 @@
emulator to successfully run this bios.
*/
-
-
-
-/*
- Modified to be an universal driver for loading VGA ROMs.
- Aug 2006, anti.sullin@artecdesign.ee, Artec Design
-
- USAGE:
- define in your motherboard Config.lb file in device hierarchy
- around the VGA pci device realmode chip and define its rom address.
- Rom address is read from Config.lb, this rom is then copied to 0xC000 and then excecuted
-
- chip drivers/pci/realmode
- device pci 1.1 on end # VGA
- register "rom_address" = "0xfffc0000" # at the beginning of 256k
- end
-
- then, chip enable is called at this list first traversal, and this sets
- up device's init callback. Device init is called during last list traversal and
- so, other hw should be already initialized to run vga bios successfully.
-*/
-
-
-
-
-
-
-
-
-
/* Declare a temporary global descriptor table - necessary because the
Core part of the bios no longer sets up any 16 bit segments */
__asm__ (
@@ -918,8 +888,6 @@ static void vga_init(device_t dev)
// code to make vga init go through the emulator - as of yet this does not workfor the epia-m
dev->on_mainboard=1;
- dev->rom_address = (void *)cfg->rom_address;
-
pci_dev_init(dev);
// code to make vga init run in real mode - does work but against the current coreboot philosophy