summaryrefslogtreecommitdiff
path: root/board/kukui_scp
diff options
context:
space:
mode:
authorYilun Lin <yllin@google.com>2018-12-17 15:00:48 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-12-29 05:45:29 -0800
commit860fe2962d40ee901369d1dc67f4aa7a7a42ba4d (patch)
treef78bd92e4cf48389bce28299ad97dfc9884b0823 /board/kukui_scp
parentc7804fd61b3bacf29cb4f1da9483860435ecac20 (diff)
downloadchrome-ec-860fe2962d40ee901369d1dc67f4aa7a7a42ba4d.tar.gz
mt_scp/ipi: Support host command.
mt_scp is the first chip which uses IPI to do host command communication. This CL implements the host command over IPI. TEST=Run ec.RW.bin on kukui by "echo start > /sys/class/remoteproc/remoteproc0/state" and see that there are HC logs from SCP uart [0.000385 hostcmd init 0x0000000000002000] [0.049958 HC 0x0b] [0.050061 HC 0x400b] [0.050108 HC 0x400b err 1] [0.050204 HC 0x08] [0.050240 HC 0x08 err 3] [0.050370 HC 0x8d] [0.050406 HC 0x8d err 1] [0.050821 HC 0x0d] BUG=b:117917141, b:120953723 BRANCH=None Change-Id: I2c2b701d92504a74cc2ee90ab05912e99378acde Signed-off-by: Yilun Lin <yllin@google.com> Reviewed-on: https://chromium-review.googlesource.com/1379410 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Yilun Lin <yllin@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board/kukui_scp')
-rw-r--r--board/kukui_scp/ec.tasklist1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/kukui_scp/ec.tasklist b/board/kukui_scp/ec.tasklist
index e38dd10eb2..16c8741e62 100644
--- a/board/kukui_scp/ec.tasklist
+++ b/board/kukui_scp/ec.tasklist
@@ -27,5 +27,6 @@
#define CONFIG_TASK_LIST \
TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \
UART_TASK \
+ TASK_ALWAYS(HOSTCMD, host_command_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE)