aboutsummaryrefslogtreecommitdiff
path: root/src/device/pci_device.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-11-10 20:39:41 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-11-25 09:11:46 +0000
commitc19cbeeb6b4ec1f083951156e6b67d02390369b5 (patch)
tree7d0dec579ec5911fe105befab02642e6ef408ae4 /src/device/pci_device.c
parentec8f5c79a5fd16531006dd950dc3fad71c97ca8b (diff)
device: Drop unused HyperTransport code
Only two definitions are actually used somewhere, the rest is unused. Change-Id: Iec52d0d47fce6a1ec5455b670824b995a7a34a4c Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47407 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device/pci_device.c')
-rw-r--r--src/device/pci_device.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index a00897736a..a7eb91d42d 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -19,7 +19,6 @@
#include <device/pci_ids.h>
#include <device/pcix.h>
#include <device/pciexp.h>
-#include <device/hypertransport.h>
#include <pc80/i8259.h>
#include <security/vboot/vbnv.h>
#include <timestamp.h>
@@ -862,19 +861,6 @@ static struct device_operations *get_pci_bridge_ops(struct device *dev)
return &default_pcix_ops_bus;
}
#endif
-#if CONFIG(HYPERTRANSPORT_PLUGIN_SUPPORT)
- unsigned int htpos = 0;
- while ((htpos = pci_find_next_capability(dev, PCI_CAP_ID_HT, htpos))) {
- u16 flags;
- flags = pci_read_config16(dev, htpos + PCI_CAP_FLAGS);
- if ((flags >> 13) == 1) {
- /* Host or Secondary Interface */
- printk(BIOS_DEBUG, "%s subordinate bus HT\n",
- dev_path(dev));
- return &default_ht_ops_bus;
- }
- }
-#endif
#if CONFIG(PCIEXP_PLUGIN_SUPPORT)
unsigned int pciexpos;
pciexpos = pci_find_capability(dev, PCI_CAP_ID_PCIE);