diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-05-05 17:02:06 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-06 10:10:53 -0400 |
commit | daa69f5f5dba48406836b1879434fc4af4bb7df7 (patch) | |
tree | 150704e9fa32bfaa0b41989702049db2a0f077ad /test/image | |
parent | b67d6b003cfdaf04335c3aaca3b27f15e7c6f204 (diff) | |
download | u-boot-imx-daa69f5f5dba48406836b1879434fc4af4bb7df7.zip u-boot-imx-daa69f5f5dba48406836b1879434fc4af4bb7df7.tar.gz u-boot-imx-daa69f5f5dba48406836b1879434fc4af4bb7df7.tar.bz2 |
test/py: dfu: wait for USB device to go away at boot
It can take a while for a host machine to notice that a USB device has
disconnected, and process the change. At the end of the DFU test, we wait
up to 10 seconds for this to happen. This change makes the test wait the
same (up to) 10 seconds at the start of the test for any previously active
USB device-mode session to be cleaned up. Such as session might have been
used to download U-Boot into memory for example; this is certainly true
on my Tegra test systems. This changes should solve the DFU test
intermittency issues I've been seeing on some Tegra devices.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'test/image')
0 files changed, 0 insertions, 0 deletions