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>
This commit is contained in:
Nicolas Boichat
2017-04-05 17:02:32 +08:00
committed by chrome-bot
parent fc12f29363
commit 0e5497db69

View File

@@ -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) \