usbdebug: Some fix for dongle compatibility

Not sure what this is about.

Required for BeagleBone (not Black) with HUB in the middle, also
old FX2 senses extra reset if we do this.

Change-Id: I86878f8f570911ed1ed3ec844c232ac91e934072
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3868
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
Kyösti Mälkki 2013-06-06 10:33:39 +03:00
parent b8ef4c9a84
commit 9e999d6a14
1 changed files with 2 additions and 0 deletions

View File

@ -558,10 +558,12 @@ try_next_port:
} }
dprintk(BIOS_INFO, "EHCI debug port enabled.\n"); dprintk(BIOS_INFO, "EHCI debug port enabled.\n");
#if 0
/* Completely transfer the debug device to the debug controller */ /* Completely transfer the debug device to the debug controller */
portsc = read32((unsigned long)&ehci_regs->port_status[debug_port - 1]); portsc = read32((unsigned long)&ehci_regs->port_status[debug_port - 1]);
portsc &= ~PORT_PE; portsc &= ~PORT_PE;
write32((unsigned long)&ehci_regs->port_status[debug_port - 1], portsc); write32((unsigned long)&ehci_regs->port_status[debug_port - 1], portsc);
#endif
dbgp_mdelay(100); dbgp_mdelay(100);