summaryrefslogtreecommitdiff
path: root/src/device/device_const.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-11-19 15:46:49 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-11-20 19:08:30 +0000
commitffcac3eb502bbe0acbb30d6fe804f00e07461a7a (patch)
treed5deda572bb252a683a5ece24a5c4916ee198836 /src/device/device_const.c
parent1ca978ee6529251ed80b47da679be7adc75fa46a (diff)
downloadcoreboot-ffcac3eb502bbe0acbb30d6fe804f00e07461a7a.tar.xz
nb/amd/fam10: Drop support
Relocatable ramstage, postcar stage and C_ENVIRONMENT_BOOTBLOCK are now mandatory features, which this platform lacks. Change-Id: If36ef0749dbb661f731fb04829bd7e2202ebb422 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36962 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/device/device_const.c')
-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);
}