diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-10-09 22:02:22 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2018-04-16 09:20:24 +0000 |
commit | 47771cdaa84c9a4d24934a4459ee6b22722d996d (patch) | |
tree | 01c121906db21683f15e285c82c12875704878fd /include/host_command.h | |
parent | 4e3d2579bc4d7ad82cb87e955da666af38ba12b8 (diff) | |
download | chrome-ec-47771cdaa84c9a4d24934a4459ee6b22722d996d.tar.gz |
host_event: Move host events and mask handling into common code
Instead of duplicating the handling of host events and host event
masks in chip lpc drivers, add routines in common code to provide
basic functions like setting/getting of masks, setting/getting of
events and handling of masks transitions across sysjump.
BUG=None
BRANCH=None
TEST=make -j buildall. Verified following:
1. Event masks are correctly retained across sysjumps.
2. Wake from S3 works fine.
3. Wake from S0ix works fine.
4. SCI generated correctly.
Change-Id: I37d6a888e4dc4e6c88a0b725881e63990b1a8c75
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/707771
Reviewed-by: Shawn N <shawnn@chromium.org>
(cherry picked from commit b9e07ce1bfa42ea2a5e7564575b0072c13811c31)
Reviewed-on: https://chromium-review.googlesource.com/989861
Reviewed-by: Joel Kitching <kitching@chromium.org>
Commit-Queue: Joel Kitching <kitching@chromium.org>
Tested-by: Joel Kitching <kitching@chromium.org>
Trybot-Ready: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'include/host_command.h')
0 files changed, 0 insertions, 0 deletions