summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryoojin <yoojin7.lee@samsung.com>2014-08-25 15:58:07 +0900
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-08-25 22:56:09 +0000
commit2899e7d5bdf76dcc6e8dfda32fa725c0aa17ab8a (patch)
treefda5ed5fd31945bd560ef5a4c4d133990b9d92f4
parentd12d537725f0d113958efd576cefd6b81fb39b0b (diff)
downloadchrome-ec-2899e7d5bdf76dcc6e8dfda32fa725c0aa17ab8a.tar.gz
winky : Change stack size in charge task
System was reset by stack overflow in charger task, when battery i2c communication is failed. Winky system needs a minimum of 520 byte to use stack in charger task. So, stack size in charger task should be changed to 640 byte. BUG=chrome-os-partner:31568 TEST=emerge-winky chromeos-ec Check stack size in charger task Change-Id: I130aecbdb973f1a2e7f18a46e49625844ffc827a Reviewed-on: https://chromium-review.googlesource.com/213996 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Mohammed Habibulla <moch@chromium.org> Reviewed-by: YongBeum Ha <ybha@samsung.com> Commit-Queue: YongBeum Ha <ybha@samsung.com> Tested-by: YongBeum Ha <ybha@samsung.com>
-rwxr-xr-x[-rw-r--r--]board/winky/ec.tasklist2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/winky/ec.tasklist b/board/winky/ec.tasklist
index 7a351c3903..8f8dcf46da 100644..100755
--- a/board/winky/ec.tasklist
+++ b/board/winky/ec.tasklist
@@ -19,7 +19,7 @@
*/
#define CONFIG_TASK_LIST \
TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \
- TASK_ALWAYS(CHARGER, charger_task, NULL, TASK_STACK_SIZE) \
+ TASK_ALWAYS(CHARGER, charger_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_NOTEST(CHIPSET, chipset_task, NULL, TASK_STACK_SIZE) \
TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \
TASK_ALWAYS(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \