summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2015-06-08 16:39:52 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-11-06 21:09:21 +0100
commit55ed6728b17669bdd7abe747327e58a2864a88e1 (patch)
treeed54a5f8f1ad497131b78b1870d2e04199764a04 /src/southbridge/amd
parented98e945c0c6938a26bff6d5b38932b2851d348a (diff)
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>
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r--src/southbridge/amd/pi/hudson/enable_usbdebug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/amd/pi/hudson/enable_usbdebug.c b/src/southbridge/amd/pi/hudson/enable_usbdebug.c
index 5874c37691..84691eb500 100644
--- a/src/southbridge/amd/pi/hudson/enable_usbdebug.c
+++ b/src/southbridge/amd/pi/hudson/enable_usbdebug.c
@@ -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)