diff options
author | Diana Z <dzigterman@chromium.org> | 2018-08-08 11:05:46 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-08 20:46:18 -0700 |
commit | 989c446da629c6e557a9749ecb427f1b619f7d5b (patch) | |
tree | d0fff8365415c527f607a8ce060046ebde21e6c9 /board/yorp/ec.tasklist | |
parent | fd4f21592fd31c2726dcf15e1caf1556cadc6ba8 (diff) | |
download | chrome-ec-989c446da629c6e557a9749ecb427f1b619f7d5b.tar.gz |
octopus: increase USB charger stack sizes
The bip board has had issues with running out of task space in the
USB_CHG_P[0,1] tasks when it runs into I2C errors and needs to run
resets. Performing a full stack analysis should happen when the
firmware branches for octopus, but for now this change increases the
stack sizes for all of the USB_CHG_P[0,1] tasks.
BRANCH=None
BUG=b:111840286
TEST=builds, bip no longer hit stack overflows with the larger space
during i2c resets
Change-Id: Ib10e052bb89202cbedfe23345c8335f1e0a8e16b
Signed-off-by: Diana Z <dzigterman@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1167653
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/yorp/ec.tasklist')
-rw-r--r-- | board/yorp/ec.tasklist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/yorp/ec.tasklist b/board/yorp/ec.tasklist index dc260ef0fe..6f719b4acc 100644 --- a/board/yorp/ec.tasklist +++ b/board/yorp/ec.tasklist @@ -22,8 +22,8 @@ #define CONFIG_TASK_LIST \ TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \ - TASK_ALWAYS(USB_CHG_P0, usb_charger_task, 0, TASK_STACK_SIZE) \ - TASK_ALWAYS(USB_CHG_P1, usb_charger_task, 1, TASK_STACK_SIZE) \ + TASK_ALWAYS(USB_CHG_P0, usb_charger_task, 0, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(USB_CHG_P1, usb_charger_task, 1, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(CHARGER, charger_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \ TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \ |