diff options
author | Wei-Ning Huang <wnhuang@google.com> | 2017-05-05 05:40:26 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-05-11 05:31:53 -0700 |
commit | fc562bbf9bbe418a6e5995c13c004cdf5e111ce7 (patch) | |
tree | 3a38e636949f6d0215067c1e8d257c8358fdc85a /util | |
parent | 543bb07c90a302e955a3d1a80467770317761aac (diff) | |
download | chrome-ec-fc562bbf9bbe418a6e5995c13c004cdf5e111ce7.tar.gz |
rwsig: expose a new feature bit when RWSIG task is enabled
Expose EC_FEATURE_RWSIG if RWSIG task is enabled. This allows flashrom
to run EC_CMD_RWSIG_ACTION and abort RWSIG jump, then perform regular
firmware update flow.
BRANCH=none
BUG=b:37584134
TEST=on eve, `ectool --name=cros_tp inventory` should show 'RWSIG task'.
Change-Id: Iea14f4f01fab201767dccd07d711ae9e1b638f6a
Signed-off-by: Wei-Ning Huang <wnhuang@google.com>
Reviewed-on: https://chromium-review.googlesource.com/497788
Commit-Ready: Wei-Ning Huang <wnhuang@chromium.org>
Tested-by: Wei-Ning Huang <wnhuang@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/ectool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/ectool.c b/util/ectool.c index 71f28969fd..651fcfcbaa 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -515,6 +515,7 @@ static const char * const ec_feature_names[] = { [EC_FEATURE_USBC_SS_MUX_VIRTUAL] = "Host-controlled USB-C SS mux", [EC_FEATURE_RTC] = "Real-time clock", [EC_FEATURE_TOUCHPAD] = "Touchpad", + [EC_FEATURE_RWSIG] = "RWSIG task", }; int cmd_inventory(int argc, char *argv[]) |