summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPaul Ma <magf@bitland.corp-partner.google.com>2020-04-26 14:10:55 +0800
committerCommit Bot <commit-bot@chromium.org>2020-04-27 05:42:22 +0000
commit3c7b097b6fb17520d8a754cb1455d8e3fb0dea1d (patch)
treeefa6ee09eb5d5a182545149a7e1af9413150897a /board
parentff10b3a10baa4e47defccdd825b8a6f9d808e3b6 (diff)
downloadchrome-ec-3c7b097b6fb17520d8a754cb1455d8e3fb0dea1d.tar.gz
damu: enlarge CHARGER task stack to 1024 bytes
Enlarge CHARGER task stack to 1024 bytes since when charging, charger stack will overflow. BUG=b:154801027 BRANCH=kukui TEST=boot damu, insert battery and DUT will not reboot continuously and battery charging works well. Change-Id: I257ed166b88ce07c0a637c8c1bda38269bf0b27c Signed-off-by: Paul Ma <magf@bitland.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2167112 Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/damu/ec.tasklist2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/damu/ec.tasklist b/board/damu/ec.tasklist
index 283af8595a..84d1ebcb2f 100644
--- a/board/damu/ec.tasklist
+++ b/board/damu/ec.tasklist
@@ -8,7 +8,7 @@
*/
#define CONFIG_TASK_LIST \
TASK_ALWAYS(HOOKS, hook_task, NULL, VENTI_TASK_STACK_SIZE) \
- TASK_ALWAYS(CHARGER, charger_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(CHARGER, charger_task, NULL, 1024) \
TASK_ALWAYS(USB_CHG_P0, usb_charger_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS_RW(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \