Files
OpenCellular/common
Nicolas Boichat 68a537e466 rwsig: Make it possible to run as a task
(Optionally) split rwsig verification into a separate task. This
allows us to initialize other components (e.g. USB) while the
verification is in progress, speeding up the boot process to active
USB in RO case.

After CONFIG_RWSIG_JUMP_TIMEOUT, the EC will jump to the RW section
if no action is taken by the AP (such as a forced request to jump
to RW, or starting an update).

Note: This comes with a ~36ms boot time regression, as other code
gets to run before verification starts.

BRANCH=none
BUG=b:35587171
TEST=Flash, board boots to RW after 1s
TEST=Change jump timeout to 5s, add 5s delay in check_signature,
     add console command to manually abort/continue rwsig verification.
     'rwsig continue' works => Board jumps to RW after check_signature
     is completed (or immediately while waiting for timeout)
     'rwsig abort' works => Board does not jump to RW.

Change-Id: Ica5732b9298bb4d3b743cae2ba78df259db915ef
Reviewed-on: https://chromium-review.googlesource.com/468709
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2017-04-11 20:22:32 -07:00
..
2016-11-08 17:11:28 -08:00
2015-05-19 02:46:27 +00:00
2017-03-24 09:32:53 -07:00
2016-11-15 17:41:53 -08:00
2016-04-27 14:04:07 -07:00
2017-02-06 14:50:32 -08:00
2015-09-25 09:13:34 -07:00
2014-01-14 09:19:45 +00:00
2016-03-02 13:39:47 -08:00
2016-11-15 17:41:53 -08:00
2014-05-17 20:14:17 +00:00
2016-05-05 19:16:50 -07:00
2016-03-21 16:35:33 -07:00
2017-03-16 11:25:50 -07:00
2017-02-23 16:02:02 -08:00