summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPeter Shih <pihsun@chromium.org>2018-12-25 14:01:58 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-03-04 22:42:55 -0800
commit46222787a6b3c620836967f1010b8d22e1d96b31 (patch)
tree23eff08d9b1f0466450bc49cfcf76482e6643587 /board
parent58fee9dbc2ef12bb436ceb18ad116ad2e421dd2d (diff)
downloadchrome-ec-46222787a6b3c620836967f1010b8d22e1d96b31.tar.gz
kukui_scp: Add rpmsg name service.
rpmsg name service provide a way for firmware to announce available rpmsg channels and its IPI id to AP, without AP having to hard-code all the IPI ids. BUG=b:120953723 TEST=manually BRANCH=none Change-Id: I8ec539a45b58f20e70a798ede4abaad5a7bb4360 Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1389986 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/kukui_scp/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/kukui_scp/board.h b/board/kukui_scp/board.h
index 8edcfeb87b..53d92c4ec4 100644
--- a/board/kukui_scp/board.h
+++ b/board/kukui_scp/board.h
@@ -20,6 +20,7 @@
/* IPI configs */
#define CONFIG_IPI
+#define CONFIG_RPMSG_NAME_SERVICE
/* IPI ID should be in sync across kernel and EC. */
#define IPI_SCP_INIT 0
@@ -32,6 +33,8 @@
#define IPI_HOST_COMMAND 7
#define IPI_COUNT 8
+#define IPI_NS_SERVICE 0xFF
+
#undef CONFIG_UART_TX_BUF_SIZE
#define CONFIG_UART_TX_BUF_SIZE 8192