summaryrefslogtreecommitdiff
path: root/cts/interrupt
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2017-06-01 22:01:39 -0700
committerVadim Bendebury <vbendeb@chromium.org>2017-06-23 21:30:16 +0000
commit9f05ef7a2c037a4e609112761ec48691c9e9a569 (patch)
treeaf81a6c67468dfc72b8393b4e41bf59503383772 /cts/interrupt
parent0a3a022675e09b80b06d60359e407151a2cae062 (diff)
downloadchrome-ec-9f05ef7a2c037a4e609112761ec48691c9e9a569.tar.gz
cr50: usb_updater: do not send setup request unless necessary
There are only two usb_updater actions which require establishing a connection with the Cr50: transferring the firmware image during update and reporting the version of the running image (because the version is reported when the connection is established). This patch refactors usb_updater code to establish the connection only when necessary. BRANCH=cr50 BUG=b:35587387,b:35587053 TEST=verified that 'usb_updater -c' succeeds both issued over USB and TPM Change-Id: I6a0c82eb440c092263d4802f124f458f148a8ab5 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/525095 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> (cherry picked from commit 885c02a92d35607bf410e27f27c0b35e67827cf5) Reviewed-on: https://chromium-review.googlesource.com/547041
Diffstat (limited to 'cts/interrupt')
0 files changed, 0 insertions, 0 deletions