summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/common')
-rw-r--r--src/southbridge/intel/common/pciehp.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/southbridge/intel/common/pciehp.c b/src/southbridge/intel/common/pciehp.c
index 247bf5df7f..31fbb21c63 100644
--- a/src/southbridge/intel/common/pciehp.c
+++ b/src/southbridge/intel/common/pciehp.c
@@ -117,42 +117,3 @@ void intel_acpi_pcie_hotplug_generator(u8 *hotplug_map, int port_number)
acpigen_pop_len();
}
-
-static void slot_dev_read_resources(struct device *dev)
-{
- struct resource *resource;
-
- resource = new_resource(dev, PCI_BASE_ADDRESS_0);
- resource->size = 1 << 23;
- resource->align = 22;
- resource->gran = 22;
- resource->limit = 0xffffffff;
- resource->flags |= IORESOURCE_MEM;
-
- resource = new_resource(dev, 0x14);
- resource->size = 1 << 23;
- resource->align = 22;
- resource->gran = 22;
- resource->limit = 0xffffffff;
- resource->flags |= IORESOURCE_MEM | IORESOURCE_PREFETCH;
-
- resource = new_resource(dev, 0x18);
- resource->size = 1 << 12;
- resource->align = 12;
- resource->gran = 12;
- resource->limit = 0xffff;
- resource->flags |= IORESOURCE_IO;
-}
-
-static struct device_operations slot_dev_ops = {
- .read_resources = slot_dev_read_resources,
-};
-
-/* Add a dummy device to reserve I/O space for hotpluggable devices. */
-void intel_acpi_pcie_hotplug_scan_slot(struct bus *bus)
-{
- struct device *slot;
- struct device_path slot_path = { .type = DEVICE_PATH_NONE };
- slot = alloc_dev(bus, &slot_path);
- slot->ops = &slot_dev_ops;
-}