amd binaryPI: Fix usbdebug

EHCI functions have moved.

Change-Id: I47e79d3790b272b0fc322d534de733889679622b
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/12264
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
This commit is contained in:
Kyösti Mälkki 2015-06-08 16:39:52 +03:00
parent ed98e945c0
commit 55ed6728b1
1 changed files with 3 additions and 3 deletions

View File

@ -27,11 +27,11 @@
pci_devfn_t pci_ehci_dbg_dev(unsigned int hcd_idx)
{
if (hcd_idx==3)
return PCI_DEV(0, 0x16, 2);
return PCI_DEV(0, 0x16, 0);
else if (hcd_idx==2)
return PCI_DEV(0, 0x13, 2);
return PCI_DEV(0, 0x13, 0);
else
return PCI_DEV(0, 0x12, 2);
return PCI_DEV(0, 0x12, 0);
}
void pci_ehci_dbg_set_port(pci_devfn_t dev, unsigned int port)