aboutsummaryrefslogtreecommitdiff
path: root/src/device/pci_device.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2015-02-02 15:56:27 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-02-10 09:38:32 +0100
commit754fac43467f87d6b926a181b6150867a08fb9b3 (patch)
treea0166ec4f31b4743fc839cce89837c6a30c19463 /src/device/pci_device.c
parentb474abee84445b6ad84a9f2a920d96ec55bdf2d3 (diff)
PCI subsystem: Remove AGP bridge type
There is no auto-detection for AGP type and we have no hardware that selects this. Furthermore, we treat AGP bridges just like PCI bridges, there is no optimisation for higher bandwidth. Change-Id: I4fe87c83411643cb9b8d3216f2af07bf098174d3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/8367 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/device/pci_device.c')
-rw-r--r--src/device/pci_device.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index 862ed0e783..127ee32fe2 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -32,7 +32,6 @@
#include <stdint.h>
#include <string.h>
#include <delay.h>
-#include <device/agp.h>
#include <device/cardbus.h>
#include <device/device.h>
#include <device/pci.h>
@@ -771,9 +770,6 @@ static struct device_operations *get_pci_bridge_ops(device_t dev)
return &default_pcix_ops_bus;
}
#endif
-#if CONFIG_AGP_PLUGIN_SUPPORT
- /* How do I detect a PCI to AGP bridge? */
-#endif
#if CONFIG_HYPERTRANSPORT_PLUGIN_SUPPORT
unsigned int htpos = 0;
while ((htpos = pci_find_next_capability(dev, PCI_CAP_ID_HT, htpos))) {