summaryrefslogtreecommitdiff
path: root/util/ectool.c
diff options
context:
space:
mode:
authorEvan Green <evgreen@chromium.org>2021-11-17 14:02:42 -0800
committerCommit Bot <commit-bot@chromium.org>2021-12-01 19:02:21 +0000
commit5d6dfc1e5f91583c7e26d27073a6401224fe32c5 (patch)
tree2c1e0c906f3c7d6d9fc8b71a8666a54b575d1fc1 /util/ectool.c
parentd89e49b2016c69d1762fae2e2786d4867934b4d6 (diff)
downloadchrome-ec-5d6dfc1e5f91583c7e26d27073a6401224fe32c5.tar.gz
Add EC feature flag for S4 residency
On systems with Intel Key Locker, the AP must hibernate to S4 in order to preserve active Key Locker state. Until recently, the EC did not support camping out in S4. Add a feature bit so the AP can distinguish EC versions which are capable of going to S4 from those that are not. BRANCH=None BUG=b:204947672 TEST=hiberman hibernate --test-keys on volteer Signed-off-by: Evan Green <evgreen@chromium.org> Change-Id: I9d01c689e90cd479d8d3f06a224ef7f9ed309fc4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3290310 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'util/ectool.c')
-rw-r--r--util/ectool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/ectool.c b/util/ectool.c
index 0bc35ef3b4..4da67aae52 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -896,6 +896,7 @@ static const char * const ec_feature_names[] = {
"Host-controlled Type-C mode entry",
[EC_FEATURE_TYPEC_MUX_REQUIRE_AP_ACK] =
"AP ack for Type-C mux configuration",
+ [EC_FEATURE_S4_RESIDENCY] = "S4 residency",
};
int cmd_inventory(int argc, char *argv[])