diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-10-14 14:47:03 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-10-18 23:14:17 -0700 |
commit | 05d59d14c9d89a567bbdaede79f8b1d81e5e7c42 (patch) | |
tree | 4f4be7475d4892f77bfbd2a01fad2865205a8481 | |
parent | e5663fcc81f7341a1b0fa7bd6f9904093f0a3f56 (diff) | |
download | chrome-ec-05d59d14c9d89a567bbdaede79f8b1d81e5e7c42.tar.gz |
host_command: Add flags1 to host_command_get_features
There are two entries in feature flags array. Report back flags1 along
with flag0 while responding to host queries.
BUG=None
BRANCH=None
TEST=make -j buildall
Change-Id: I7e92c9558a5ddee0515e026ea51eb70f1e26eafc
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/719487
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r-- | common/host_command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/host_command.c b/common/host_command.c index 812c930272..961706fea2 100644 --- a/common/host_command.c +++ b/common/host_command.c @@ -715,6 +715,7 @@ static int host_command_get_features(struct host_cmd_handler_args *args) memset(r, 0, sizeof(*r)); r->flags[0] = get_feature_flags0(); + r->flags[1] = get_feature_flags1(); return EC_RES_SUCCESS; } DECLARE_HOST_COMMAND(EC_CMD_GET_FEATURES, |