diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2018-02-20 16:13:57 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2018-03-23 15:55:47 +0000 |
commit | 6bef9568603dbe2c7df6a1f8877d7a5caaccb476 (patch) | |
tree | 1b6ed1fb1e98f3f3d62c2a6678e6bef1d9d40df1 | |
parent | d15b76c20e609dc6edb06e65c11ceab6bbe357d0 (diff) | |
download | chrome-ec-6bef9568603dbe2c7df6a1f8877d7a5caaccb476.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>
(cherry picked from commit 53ca6cfbdf3a54d574f140a3eaf926eb80a53697)
Reviewed-on: https://chromium-review.googlesource.com/942115
(cherry picked from commit 84a21b4425b1f91d6c2a4887af8b3cd75782bc04)
Reviewed-on: https://chromium-review.googlesource.com/949070
-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: /* |