diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-08-12 00:09:21 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-08-24 05:52:03 +0200 |
commit | a2adaeb68cdecc2bc1185613a11b7d49915883ec (patch) | |
tree | 468bff7b597e1b5cc491e6ce224688ebce8d9555 /src/southbridge/amd/cimx | |
parent | 16c014578b9662bc2a0f099b77410e7ea3a793d1 (diff) |
usbdebug: Only test two possible USB device numbers
After an USB device sees USB bus reset on the bus, it will reset to
device number 0. Per the EHCI debug port specification, a debug
dongle device may reset to the fixed debug device number of 127 instead.
Thus there is no need to try device numbers from 1 to 126.
Do a sanity-check on a returned debug descriptor as I experienced
some USB flash memory to respond on this request with zero-fill data.
Change-Id: I78d58f3dc049cd8c20c6e2aa3a4207ad7e6a6d33
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3861
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/southbridge/amd/cimx')
0 files changed, 0 insertions, 0 deletions