diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2018-02-20 16:13:57 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-02-20 22:50:10 -0800 |
commit | 53ca6cfbdf3a54d574f140a3eaf926eb80a53697 (patch) | |
tree | e0d9a9cdd2dd8cfa33b06f29d1e35d2076382d09 | |
parent | 78a407f0a15d1bfc7fa098751e292bc7e7b190a3 (diff) | |
download | chrome-ec-53ca6cfbdf3a54d574f140a3eaf926eb80a53697.tar.gz |
cr50: Allow spihash extension command over USB
Execution of this command requires physical presence on the DUT, this
is why it is save to allow it over USB.
BRANCH=cr50, cr50-mp
BUG=chromium:812880
TEST=using modified gsctool verified that the command goes through and
physical presence indication is requested
Change-Id: I0aa371d8aaa5a480cc12d5d16edad8497142f4b4
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/927796
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
-rw-r--r-- | common/extension.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/extension.c b/common/extension.c index 63d20de365..610db49851 100644 --- a/common/extension.c +++ b/common/extension.c @@ -69,6 +69,7 @@ void usb_extension_route_command(uint16_t command_code, #endif /* defined(CR50_DEV) */ case EXTENSION_POST_RESET: /* Always need to be able to reset. */ case VENDOR_CC_GET_BOARD_ID: + case VENDOR_CC_SPI_HASH: /* This will require physical presence. */ case VENDOR_CC_TURN_UPDATE_ON: /* |