diff options
author | Mathew King <mathewk@chromium.org> | 2019-03-06 10:41:38 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-11 19:53:01 -0700 |
commit | 31fb76dc641dfdcdbde2fd6447168967d6c5c1c2 (patch) | |
tree | add3d95303863896c3f3e546c9140c68d7252984 /include/config.h | |
parent | 978a628ecba284566bd1a5894133a74fc67424b5 (diff) | |
download | chrome-ec-31fb76dc641dfdcdbde2fd6447168967d6c5c1c2.tar.gz |
arcada_ish: Send MKBP events over HECI
This adds a 4 byte header to the HECI messages so that host commands and
MKBP events can share the same HECI client.
BUG=b:123634700
TEST=make buildall -j, turning on the FIFO and to enable these events
is in the next cl
BRANCH=none
Change-Id: I3fe8dd4356bceba26ef3bf1fbff7906c5c4bf75e
Signed-off-by: Mathew King <mathewk@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1506414
Tested-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h index b1b779f276..5a84742a4b 100644 --- a/include/config.h +++ b/include/config.h @@ -2502,6 +2502,9 @@ /* MKBP events are sent by using GPIO */ #undef CONFIG_MKBP_USE_GPIO +/* MKBP events are sent by using HECI on an ISH */ +#undef CONFIG_MKBP_USE_HECI + /* MKBP events are sent by using custom method */ #undef CONFIG_MKBP_USE_CUSTOM @@ -3979,13 +3982,15 @@ #ifdef CONFIG_MKBP_EVENT #if !defined(CONFIG_MKBP_USE_CUSTOM) && \ !defined(CONFIG_MKBP_USE_HOST_EVENT) && \ - !defined(CONFIG_MKBP_USE_GPIO) + !defined(CONFIG_MKBP_USE_GPIO) && \ + !defined(CONFIG_MKBP_USE_HECI) #error Please define one of CONFIG_MKBP_USE_* macro. #endif #if defined(CONFIG_MKBP_USE_CUSTOM) + \ defined(CONFIG_MKBP_USE_GPIO) + \ - defined(CONFIG_MKBP_USE_HOST_EVENT) > 1 + defined(CONFIG_MKBP_USE_HOST_EVENT) + \ + defined(CONFIG_MKBP_USE_HOST_HECI) > 1 #error Must select only one type of MKBP event delivery method. #endif #endif /* CONFIG_MKBP_EVENT */ |