diff options
author | Nicolas Boichat <drinkcat@google.com> | 2017-05-24 16:44:31 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-05-25 18:58:47 -0700 |
commit | 95a986ecad7ac67d6f7a8379f71fea7f99f87222 (patch) | |
tree | c599b0eef2011ae405b34372282146c4a0f40c60 | |
parent | ba78fa41735f90ddab0f6a519e13f16d02187f1c (diff) | |
download | chrome-ec-95a986ecad7ac67d6f7a8379f71fea7f99f87222.tar.gz |
hammer: Increase hook stack size
Adding entropy takes up to 1028 bytes of stack, let's increase
the stack size to 1280 bytes.
BRANCH=none
BUG=b:38487027
TEST=Flash hammer. On host, reboot hammer to RO:
usb_updater2 -r; sleep 0.5; usb_updater2 -s
usb_updater2 -e (adds entropy)
EC console: check that rollbackinfo shows secret is updated
Change-Id: I7e2d506e0fcc3152d27ac1796db95df6b1a931d1
Reviewed-on: https://chromium-review.googlesource.com/513808
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r-- | board/hammer/ec.tasklist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hammer/ec.tasklist b/board/hammer/ec.tasklist index 8c7974cca8..81dcca2136 100644 --- a/board/hammer/ec.tasklist +++ b/board/hammer/ec.tasklist @@ -18,7 +18,7 @@ */ #define CONFIG_TASK_LIST \ TASK_ALWAYS_RO(RWSIG, rwsig_task, NULL, 1024) \ - TASK_ALWAYS (HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS (HOOKS, hook_task, NULL, 1280) \ TASK_ALWAYS_RW(TOUCHPAD, elan_tp_task, NULL, TASK_STACK_SIZE) \ TASK_ALWAYS (CONSOLE, console_task, NULL, 1024) \ TASK_NOTEST_RW(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE) |