summaryrefslogtreecommitdiff
path: root/common/system_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/system_common.c')
-rw-r--r--common/system_common.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/common/system_common.c b/common/system_common.c
index 03febba603..176977930e 100644
--- a/common/system_common.c
+++ b/common/system_common.c
@@ -840,9 +840,15 @@ int host_command_vbnvcontext(struct host_cmd_handler_args *args)
return EC_RES_SUCCESS;
}
+
+/*
+ * TODO(crbug.com/239197) : Adding both versions to the version mask is a
+ * temporary workaround for a problem in the cros_ec driver. Drop
+ * EC_VER_MASK(0) once cros_ec driver can send the correct version.
+ */
DECLARE_HOST_COMMAND(EC_CMD_VBNV_CONTEXT,
host_command_vbnvcontext,
- EC_VER_MASK(EC_VER_VBNV_CONTEXT));
+ EC_VER_MASK(EC_VER_VBNV_CONTEXT) | EC_VER_MASK(0));
int host_command_reboot(struct host_cmd_handler_args *args)
{