Files
OpenCellular/chip/g
Vadim Bendebury 0474fd10cc cr50: do not invoke fw_upgrade_complete() if there was no data transfer
With expanding USB interface to processing vendor commands and to
query current version running on the chip, there are now occurrences
of fw_upgrade_complete() invoked at the device startup without actual
data transfer.

This causes clearing rollback counter before it is actually examined.

Let's not invoke fw_upgrade_complete() unless there was actual data
transferred for flash programming.

BRANCH=none
BUG=none
TEST=verified on chromebook reboots that the counter value is not
     changed until the rollback condition is checked.

Change-Id: I50bf450882b001ba1c2f38657d27f87f8596b3e2
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/422454
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
2016-12-24 15:29:13 -08:00
..
2016-12-13 23:49:39 -08:00
2016-04-29 16:07:13 -07:00
2016-12-20 18:05:07 -08:00
2016-11-04 18:31:44 -07:00
2016-11-04 18:31:44 -07:00
2016-11-04 18:31:44 -07:00
2016-02-01 21:17:22 +00:00
2016-11-18 20:07:06 -08:00
2016-11-28 20:55:02 -08:00
2016-10-14 01:02:13 -07:00
2016-11-04 18:31:44 -07:00
2016-07-13 19:09:19 -07:00
2016-12-12 21:03:37 -08:00
2016-11-28 20:53:53 -08:00
2015-04-02 20:27:46 +00:00
2016-10-22 00:01:02 +00:00
2016-11-15 17:41:53 -08:00