summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/baytrail/northcluster.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/soc/intel/baytrail/northcluster.c b/src/soc/intel/baytrail/northcluster.c
index 0616e5d168..714d532eef 100644
--- a/src/soc/intel/baytrail/northcluster.c
+++ b/src/soc/intel/baytrail/northcluster.c
@@ -64,7 +64,7 @@
*/
#define RES_IN_KiB(r) ((r) >> 10)
-static void soc_trans_router_read_resources(device_t dev)
+static void nc_read_resources(device_t dev)
{
unsigned long mmconf;
unsigned long bmbound;
@@ -119,18 +119,6 @@ static void soc_trans_router_read_resources(device_t dev)
bmbound_hi - four_gig_kib);
}
-static void nc_read_resources(device_t dev)
-{
- /* For some reason the graphics pci device (0, 2, 0) and the SoC
- * transaction router are coming up with the same device id. */
- if (dev_find_slot(0, PCI_DEVFN(SOC_DEV, SOC_FUNC)) == dev)
- return soc_trans_router_read_resources(dev);
- else
- /* Read standard PCI resources. */
- pci_dev_read_resources(dev);
-
-}
-
static struct device_operations nc_ops = {
.read_resources = nc_read_resources,
.set_resources = NULL,