diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-08-12 15:32:25 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-08-23 05:11:03 +0200 |
commit | 16c014578b9662bc2a0f099b77410e7ea3a793d1 (patch) | |
tree | fb06f62518dac433fd9fcc41970d1e2dc9447d62 /src/lib/lzma.c | |
parent | 1cf85774da278229229fb77891326d645176d24d (diff) |
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>
Diffstat (limited to 'src/lib/lzma.c')
0 files changed, 0 insertions, 0 deletions