diff options
author | Al Semjonovs <asemjonovs@google.com> | 2022-06-21 15:24:56 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-22 18:38:27 +0000 |
commit | f3cb408576e0dde343330a46ae1738bbd9b8caf4 (patch) | |
tree | b2dc679d8d99da81ac5d3adf63406f9cfc792ed4 /include/lpc.h | |
parent | 4ed8f1c8eb453f9e7b306f4c9ee888da6e92d840 (diff) | |
download | chrome-ec-f3cb408576e0dde343330a46ae1738bbd9b8caf4.tar.gz |
zephyr:test: Add tests for EC_CMD_HOST_EVENT command
Validate permutations of EC_CMD_HOST_EVENT.
BUG=b:236161217
BRANCH=none
TEST=zmake test test-drivers
and shuffled with arg
-test="host_cmd_host_event_commands::*"
Signed-off-by: Al Semjonovs <asemjonovs@google.com>
Change-Id: Id8776922c5b0a09d786339a8e46c1a72e2109695
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3716793
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Commit-Queue: Aaron Massey <aaronmassey@google.com>
Diffstat (limited to 'include/lpc.h')
-rw-r--r-- | include/lpc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/lpc.h b/include/lpc.h index 2a69cbced8..58894fa2f2 100644 --- a/include/lpc.h +++ b/include/lpc.h @@ -89,6 +89,13 @@ enum lpc_host_event_type { */ host_event_t lpc_get_host_events(void); +#ifdef TEST_BUILD +/** + * Set host events. + */ +void lpc_set_host_event_state(host_event_t events); +#endif + /** * Get host events that are set based on the type provided. * |