diff options
-rw-r--r-- | common/flash_common.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/common/flash_common.c b/common/flash_common.c index 2192fa2e07..30221c288d 100644 --- a/common/flash_common.c +++ b/common/flash_common.c @@ -599,9 +599,15 @@ static int flash_command_protect(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_FLASH_PROTECT, flash_command_protect, - EC_VER_MASK(1)); + EC_VER_MASK(0) | EC_VER_MASK(1)); static int flash_command_region_info(struct host_cmd_handler_args *args) { |