soc/amd/common/block/smbus: move ACPI name to common code

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I47415be02571240d3cecfdb91cb9f8097c5b7fde
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50819
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held
2021-02-16 23:53:43 +01:00
parent 3e29ca93fc
commit 66b4f0181c
3 changed files with 19 additions and 11 deletions

View File

@@ -39,8 +39,6 @@ static const char *soc_acpi_name(const struct device *dev)
return "GNB";
case IOMMU_DEVFN:
return "IOMM";
case SMBUS_DEVFN:
return "SBUS";
default:
printk(BIOS_WARNING, "Unknown root PCI device: dev: %d, fn: %d\n",
PCI_SLOT(dev->path.pci.devfn), PCI_FUNC(dev->path.pci.devfn));