summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/device_const.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/device/device_const.c b/src/device/device_const.c
index 27197f251c..5a3e89bfb9 100644
--- a/src/device/device_const.c
+++ b/src/device/device_const.c
@@ -218,13 +218,6 @@ DEVTREE_CONST struct bus *pci_root_bus(void)
DEVTREE_CONST struct device *pcidev_path_on_root(pci_devfn_t devfn)
{
- /* Work around pcidev_path_behind() below failing
- * due tue complicated devicetree with topology
- * being manipulated on-the-fly.
- */
- if (CONFIG(NORTHBRIDGE_AMD_AMDFAM10))
- return dev_find_slot(0, devfn);
-
return pcidev_path_behind(pci_root_bus(), devfn);
}