diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-06-05 11:58:15 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-06-11 03:34:01 +0000 |
commit | 7fb019e43c416a5dac4bf23fa06242397b0f772a (patch) | |
tree | 345aaa9b62dbe88ce6137e34b5ad7efa171dc9e2 /board/samus | |
parent | d414c89a61f1e74b1d49161c3d136ef55c3289de (diff) | |
download | chrome-ec-7fb019e43c416a5dac4bf23fa06242397b0f772a.tar.gz |
samus: decrease stack size for smaller tasks
Created a new smaller task size, 384, for tasks that don't need much
stack space including PDCMD and ALS tasks.
BUG=none
BRANCH=none
TEST=loaded on samus, ran taskinfo, made sure we were comfortbaly
under the smaller task size for those tasks that changed.
Change-Id: Icfa26eeaeed26171ec8b2d888e1190be32f688d1
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/202719
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/samus')
-rw-r--r-- | board/samus/ec.tasklist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/samus/ec.tasklist b/board/samus/ec.tasklist index ab25faa872..47aff323ed 100644 --- a/board/samus/ec.tasklist +++ b/board/samus/ec.tasklist @@ -18,12 +18,12 @@ */ #define CONFIG_TASK_LIST \ TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \ - TASK_NOTEST(ALS, als_task, NULL, TASK_STACK_SIZE) \ + TASK_NOTEST(ALS, als_task, NULL, SMALLER_TASK_STACK_SIZE) \ TASK_NOTEST(LIGHTBAR, lightbar_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(CHARGER, charger_task, NULL, TASK_STACK_SIZE) \ TASK_NOTEST(CHIPSET, chipset_task, NULL, TASK_STACK_SIZE) \ TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \ - TASK_NOTEST(PDCMD, pd_command_task, NULL, TASK_STACK_SIZE) \ + TASK_NOTEST(PDCMD, pd_command_task, NULL, SMALLER_TASK_STACK_SIZE) \ TASK_ALWAYS(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(POWERBTN, power_button_task, NULL, TASK_STACK_SIZE) \ |