summaryrefslogtreecommitdiff
path: root/board/asurada_scp
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@chromium.org>2020-07-14 17:34:09 +0800
committerCommit Bot <commit-bot@chromium.org>2020-07-16 13:12:22 +0000
commit54a5dae812614b05ddc45abe1129ee2fc33d0816 (patch)
tree0fad50e9752ec99c96c5b35f792fb11cdef9342e /board/asurada_scp
parent40e4771bb320311aa031d678f3d92b03f78b2a63 (diff)
downloadchrome-ec-54a5dae812614b05ddc45abe1129ee2fc33d0816.tar.gz
asurada_scp: enable hostcmd
BRANCH=none BUG=b:146213943 BUG=b:160382789 TEST=ectool --name=cros_scp version Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org> Change-Id: Ida2096f9f2959b3cbc0bfbffece8fe79fc8d78ba Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2299602 Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'board/asurada_scp')
-rw-r--r--board/asurada_scp/board.h3
-rw-r--r--board/asurada_scp/ec.tasklist1
2 files changed, 4 insertions, 0 deletions
diff --git a/board/asurada_scp/board.h b/board/asurada_scp/board.h
index b901c8041e..001bf81c54 100644
--- a/board/asurada_scp/board.h
+++ b/board/asurada_scp/board.h
@@ -41,6 +41,7 @@
(ICACHE_BASE - \
(CONFIG_IPC_SHARED_OBJ_BUF_SIZE + 2 * 4 /* int32_t */) * 2)
#define CONFIG_IPI
+#define CONFIG_RPMSG_NAME_SERVICE
#define SCP_IPI_INIT 0
#define SCP_IPI_VDEC_H264 1
@@ -60,6 +61,8 @@
#define IPI_COUNT SCP_IPI_COUNT
+#define SCP_IPI_NS_SERVICE 0xFF
+
#ifndef __ASSEMBLER__
#include "gpio_signal.h"
#endif /* !__ASSEMBLER__ */
diff --git a/board/asurada_scp/ec.tasklist b/board/asurada_scp/ec.tasklist
index a2d8da2a6b..a6ea775286 100644
--- a/board/asurada_scp/ec.tasklist
+++ b/board/asurada_scp/ec.tasklist
@@ -9,4 +9,5 @@
#define CONFIG_TASK_LIST \
TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(HOSTCMD, host_command_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE)