aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/chip.c
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2020-05-29 17:20:58 -0600
committerFelix Held <felix-coreboot@felixheld.de>2020-07-10 23:33:05 +0000
commit4489cb52843de95815adbf9789167d9332e36b25 (patch)
tree92c863025f826af38c897ceb73d491beee98a530 /src/soc/amd/picasso/chip.c
parent1a31b103c7a86a0cee958116083a896f0ac5e45e (diff)
soc/amd/picasso: Delete partially implemented usb implementation
There is now a generic xhci driver we can use to generate the xHCI ACPI nodes. BUG=b:154756391 TEST=Boot trembyle and look at ACPI table Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I3e9973dd416ccd51971f4d9410bed991eb7c3c41 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41901 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso/chip.c')
-rw-r--r--src/soc/amd/picasso/chip.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/soc/amd/picasso/chip.c b/src/soc/amd/picasso/chip.c
index 7d56323d96..83845416a4 100644
--- a/src/soc/amd/picasso/chip.c
+++ b/src/soc/amd/picasso/chip.c
@@ -30,23 +30,6 @@ const char *soc_acpi_name(const struct device *dev)
if (dev->path.type == DEVICE_PATH_DOMAIN)
return "PCI0";
- if (dev->path.type == DEVICE_PATH_USB) {
- switch (dev->path.usb.port_type) {
- case 0:
- /* Root Hub */
- return "RHUB";
- case 3:
- /* USB3 ports */
- switch (dev->path.usb.port_id) {
- case 0: return "SS01";
- case 1: return "SS02";
- case 2: return "SS03";
- }
- break;
- }
- return NULL;
- }
-
if (dev->path.type != DEVICE_PATH_PCI)
return NULL;
@@ -67,20 +50,6 @@ const char *soc_acpi_name(const struct device *dev)
}
}
- if (dev->bus->dev->path.type == DEVICE_PATH_PCI
- && dev->bus->dev->path.pci.devfn == PCIE_GPP_A_DEVFN) {
- switch (dev->path.pci.devfn) {
- case XHCI0_DEVFN:
- return "XHC0";
- case XHCI1_DEVFN:
- return "XHC1";
- default:
- printk(BIOS_WARNING, "Unknown Bus A PCI device: dev: %d, fn: %d\n",
- PCI_SLOT(dev->path.pci.devfn), PCI_FUNC(dev->path.pci.devfn));
- return NULL;
- }
- }
-
printk(BIOS_WARNING, "Unknown PCI device: dev: %d, fn: %d\n",
PCI_SLOT(dev->path.pci.devfn), PCI_FUNC(dev->path.pci.devfn));
return NULL;