summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2017-04-05 17:02:32 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-04-11 23:26:05 -0700
commit0e5497db696aef756cdf14e9a1aa532a98caddd6 (patch)
tree652942f726f5f6bc1af55f8e81566d102bffa793
parentfc12f29363bef32e9d6b857b5de87a145260721c (diff)
downloadchrome-ec-0e5497db696aef756cdf14e9a1aa532a98caddd6.tar.gz
hammer: Verify RW signature in a separate task
About 864 bytes of stack is necessary for rwsig verification, so 1024 bytes should be enough. BRANCH=none BUG=b:35587171 TEST=Flash hammer, board boots to RW after 1s Change-Id: If71fb04ec16f16881d14fca2721303744fbce75a Reviewed-on: https://chromium-review.googlesource.com/468710 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--board/hammer/ec.tasklist1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/hammer/ec.tasklist b/board/hammer/ec.tasklist
index de4e75608b..45dcbca3e7 100644
--- a/board/hammer/ec.tasklist
+++ b/board/hammer/ec.tasklist
@@ -17,6 +17,7 @@
* 's' is the stack size in bytes; must be a multiple of 8
*/
#define CONFIG_TASK_LIST \
+ TASK_ALWAYS(RWSIG, rwsig_task, NULL, 1024) \
TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(TOUCHPAD, elan_tp_task, NULL, TASK_STACK_SIZE) \
TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \