diff options
author | Vadim Bendebury <vbendeb@google.com> | 2017-05-22 14:46:38 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-05-23 00:14:57 -0700 |
commit | f2148bc8228ed1641ca5c8574c04f41d78f2f1df (patch) | |
tree | af3fb9dad79e123275f41ee95ca06a7efc227a64 /common/extension.c | |
parent | b3d0d05aa954bc633deb00f82e40f79f889ca661 (diff) | |
download | chrome-ec-f2148bc8228ed1641ca5c8574c04f41d78f2f1df.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/511285
Reviewed-by: Nick Sanders <nsanders@chromium.org>
Diffstat (limited to 'common/extension.c')
-rw-r--r-- | common/extension.c | 2 |
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; |