summaryrefslogtreecommitdiff
path: root/board/fizz/ec.tasklist
diff options
context:
space:
mode:
authorStefan Adolfsson <sadolfsson@google.com>2018-05-06 21:54:07 +0200
committerchrome-bot <chrome-bot@chromium.org>2018-05-11 09:30:34 -0700
commit38d90756cbb979937c3fc06b362dc048d853ca98 (patch)
tree488cabb1ba2b1d6db79ca05a3ba319d49ca7cd82 /board/fizz/ec.tasklist
parent8ba061a4499f5e5c87292e485ebfb7158c09252e (diff)
downloadchrome-ec-38d90756cbb979937c3fc06b362dc048d853ca98.tar.gz
npcx: CEC: Event-handling for incoming messages
When an incoming message is complete, store it in a internal circular buffer and notify the AP so the message can be read out. Signed-off-by: Stefan Adolfsson <sadolfsson@chromium.org> BUG=b:76467407 BRANCH=none TEST=Write different type of messages from one EC to another EC using ectool. Also use ectool on the second EC to verify that they are received correctly. CQ-DEPEND=CL:1030226 Change-Id: Ie4370b0c954befe81a055cd5dff7d7f13dbefbd0 Reviewed-on: https://chromium-review.googlesource.com/1030227 Commit-Ready: Stefan Adolfsson <sadolfsson@chromium.org> Tested-by: Stefan Adolfsson <sadolfsson@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/fizz/ec.tasklist')
-rw-r--r--board/fizz/ec.tasklist3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/fizz/ec.tasklist b/board/fizz/ec.tasklist
index 55b3f9bc0f..d2d2943704 100644
--- a/board/fizz/ec.tasklist
+++ b/board/fizz/ec.tasklist
@@ -28,4 +28,5 @@
TASK_ALWAYS(HOSTCMD, host_command_task, NULL, 2048) \
TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(POWERBTN, power_button_task, NULL, LARGER_TASK_STACK_SIZE) \
- TASK_ALWAYS(PD_C0, pd_task, NULL, LARGER_TASK_STACK_SIZE)
+ TASK_ALWAYS(PD_C0, pd_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(CEC, cec_task, NULL, TASK_STACK_SIZE)