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

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I0f1dce92475ce0ee05a8d090fc3b3d1e613f62c3
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50821
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-17 00:15:12 +01:00
parent ff092d4167
commit 8aa9edfa4e
2 changed files with 10 additions and 2 deletions

View File

@@ -35,8 +35,6 @@ static const char *soc_acpi_name(const struct device *dev)
if (dev->bus->dev->path.type == DEVICE_PATH_DOMAIN) {
switch (dev->path.pci.devfn) {
case IOMMU_DEVFN:
return "IOMM";
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));