diff options
author | Wai-Hong Tam <waihong@google.com> | 2020-07-24 10:01:20 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-29 07:22:09 +0000 |
commit | 841576b5f94628d758fed7e78a03b800a6249b18 (patch) | |
tree | e9ff8229ac81c3848a1ff0de41f9917e8cbae1ec /baseboard | |
parent | 73fe6226b61933f9ebc51ac39ca5806a5f397dc7 (diff) | |
download | chrome-ec-841576b5f94628d758fed7e78a03b800a6249b18.tar.gz |
trogdor: Enable the host to self-report its sleep state
Define the CONFIG_POWER_TRACK_HOST_SLEEP_STATE, which enable the host to
self-report its sleep state. The handling function is not defined, so it
just saves the state, no further action.
BRANCH=None
BUG=b:148149387
TEST=Without this CL, will show HC 0xa9 error on suspend/resume:
[35.916083 HC 0xa9 err 1]
as the host sleep event (0xa9) is not handled.
With this CL, the HC 0xa9 error doesn't happen.
Change-Id: I68036d9ca611104eaf651b4d4cae15571713ac90
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2321870
Reviewed-by: Alexandru M Stan <amstan@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/trogdor/baseboard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/baseboard/trogdor/baseboard.h b/baseboard/trogdor/baseboard.h index a665362a07..bfc8ed95b6 100644 --- a/baseboard/trogdor/baseboard.h +++ b/baseboard/trogdor/baseboard.h @@ -143,6 +143,7 @@ #define CONFIG_CHIPSET_RESET_HOOK #define CONFIG_POWER_COMMON #define CONFIG_POWER_PP5000_CONTROL +#define CONFIG_POWER_TRACK_HOST_SLEEP_STATE /* NPCX Features */ #define CONFIG_HIBERNATE_PSL |