the following patch was just integrated into master: commit 16c014578b9662bc2a0f099b77410e7ea3a793d1 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Mon Aug 12 15:32:25 2013 +0300
usbdebug: Halt host controller before resetting it
Resetting an EHCI controller when it is not halted can have undefined behaviour. This mostly fixes a case where calling usbdebug_init() twice would fail to reset the USB dongle device properly.
On amd/persimmon it still requires one extra retry, but at least it is now possible to have usbdebug enabled for both romstage and ramstage.
Change-Id: Ib0e6e5a0167404f68af2edf112306fdb8def0be9 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com Reviewed-on: http://review.coreboot.org/3862 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc mr.nuke.me@gmail.com
See http://review.coreboot.org/3862 for details.
-gerrit