From ffcac3eb502bbe0acbb30d6fe804f00e07461a7a Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Tue, 19 Nov 2019 15:46:49 +0100 Subject: nb/amd/fam10: Drop support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Relocatable ramstage, postcar stage and C_ENVIRONMENT_BOOTBLOCK are now mandatory features, which this platform lacks. Change-Id: If36ef0749dbb661f731fb04829bd7e2202ebb422 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/36962 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes Reviewed-by: Kyösti Mälkki Reviewed-by: Angel Pons --- src/device/device_const.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/device') 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); } -- cgit v1.2.3