summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@google.com>2017-05-22 14:46:38 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2017-05-23 17:44:37 +0000
commitdc5c85b5b23b416639d78b3dcdc11fc4e20d0883 (patch)
treea63de35992e7f52a89387a97f25f265a075b9cc9
parent1b5adb979152db31cd7d785ed4b363e1988214f5 (diff)
downloadchrome-ec-dc5c85b5b23b416639d78b3dcdc11fc4e20d0883.tar.gz
cr50: allow vendor command to turn update on even in prod images
We want to always be able to update cr50 image to a newer version, even if the AP is not cooperating. BRANCH=cr50 BUG=b:35580805 TEST=verified that update of a prod image is possible Change-Id: I3bbe2c4aca8bf0c3129f4495db0e76405a2ed189 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/511704
-rw-r--r--common/extension.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/extension.c b/common/extension.c
index f71d4557a3..f87ad38812 100644
--- a/common/extension.c
+++ b/common/extension.c
@@ -45,8 +45,8 @@ uint32_t usb_extension_route_command(uint16_t command_code,
switch (command_code) {
#ifdef CR50_DEV
case VENDOR_CC_IMMEDIATE_RESET:
- case VENDOR_CC_TURN_UPDATE_ON:
#endif /* defined(CR50_DEV) */
+ case VENDOR_CC_TURN_UPDATE_ON:
case EXTENSION_POST_RESET: /* Always need to be able to reset. */
is_allowed = 1;
break;