summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryoojin <yoojin7.lee@samsung.com>2014-08-25 15:58:07 +0900
committerBernie Thompson <bhthompson@chromium.org>2014-08-26 02:07:45 +0000
commit7f19bd31cd489b0c6df1dd059271678d3d354f05 (patch)
tree2e1d981fbf6f6d2c7e5e4e6925b91ced9650974a
parentca3c7eb0c75208b0e5db7e6dced3089c12eae448 (diff)
downloadchrome-ec-7f19bd31cd489b0c6df1dd059271678d3d354f05.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> (cherry picked from commit 2899e7d5bdf76dcc6e8dfda32fa725c0aa17ab8a) Reviewed-on: https://chromium-review.googlesource.com/214091 Tested-by: Bernie Thompson <bhthompson@chromium.org>
-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) \