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>
This commit is contained in:
Vadim Bendebury
2018-02-20 16:13:57 -08:00
committed by chrome-bot
parent 78a407f0a1
commit 53ca6cfbdf

View File

@@ -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:
/*