Files
OpenCellular/board
Mary Ruthven 2c33693bb3 cr50: remove code that was used to work around sys_rst issues
Cr50 holds the EC in reset when it wants to flash the EC or AP. This
will trigger a pulse on the tpm reset signal. In early Cr50 versions
when the tpm was reset we would reboot cr50, so we added some code to
prevent cr50 from resetting itself when the update was going on.
sys_rst_asserted would check if there was an update going on and ignore
the signal if update in progress was true. At the end of the update the
deferred function was used to reset Cr50 after the update was complete.

None of this is needed anymore. We can just release the EC from reset at
the end of the update. This change removes usb_spi_update_in_progress
and the deferred update_finished.

BUG=b:35571516
BRANCH=none
TEST=flash the bob ec and ap using ccd.

Change-Id: I79416dba178c06bbc7289ad96968ee4e61947c4c
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/506571
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
2017-05-16 20:55:50 -07:00
..
2017-05-09 23:20:07 -07:00
2017-05-16 20:55:50 -07:00
2017-03-16 11:25:50 -07:00
2017-05-09 23:20:07 -07:00
2017-05-12 20:58:01 -07:00
2017-05-09 23:20:07 -07:00
2017-05-16 07:47:05 -07:00
2017-03-16 11:25:50 -07:00
2017-03-16 11:25:50 -07:00
2017-01-26 18:43:52 -08:00
2017-05-12 03:25:39 -07:00
2017-05-11 09:40:31 -07:00
2017-05-09 23:20:07 -07:00
2017-05-03 03:31:30 -07:00
2017-03-16 11:25:50 -07:00
2017-05-09 23:20:07 -07:00
2016-05-04 16:15:02 -07:00
2014-04-02 19:58:53 +00:00
2017-05-16 07:47:05 -07:00