From 53ca6cfbdf3a54d574f140a3eaf926eb80a53697 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Tue, 20 Feb 2018 16:13:57 -0800 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/927796 Reviewed-by: Mary Ruthven --- common/extension.c | 1 + 1 file changed, 1 insertion(+) 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: /*