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/host_command_heci.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/host_command_heci.h')
-rw-r--r-- | include/host_command_heci.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/host_command_heci.h b/include/host_command_heci.h new file mode 100644 index 0000000000..af85178e8a --- /dev/null +++ b/include/host_command_heci.h @@ -0,0 +1,12 @@ +/* Copyright 2018 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef __HOST_COMMAND_HECI_H +#define __HOST_COMMAND_HECI_H + +/* send an event message to the ap */ +void heci_send_mkbp_event(void); + +#endif /* __HOST_COMMAND_HECI_H */ |