diff options
author | Bill Richardson <wfrichar@chromium.org> | 2016-04-13 17:26:36 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-04-15 15:09:08 -0700 |
commit | b28ed970c4fab168dcc9fe2fb00d5c76de4de3fe (patch) | |
tree | d740d063fcfa39835ef603bdacebcd4da31401fd /include/usb_descriptor.h | |
parent | de45353bbdf0c6c4afb88420d3cb2e182eae7450 (diff) | |
download | chrome-ec-b28ed970c4fab168dcc9fe2fb00d5c76de4de3fe.tar.gz |
Cr50: Update the USB VID:PID:subclass constants
The device-specific subclass used for Non-HC firmware updates is
in the spreadsheet now, so we can rename the macros to be
"official".
BUG=chrome-os-partner:49962
BRANCH=none
TEST=make buildall; test on cr50
make BOARD=cr50 (plus whatever signing magic works for you)
make -C extra/usb_updater
./extra/usb_updater/usb_updater build/cr50/ec.bin (sudo if needed)
Note that you may need to rebuild ec.bin in order to see any
difference after the update. If the A & B images are identical,
the RO bootloader always picks A.
Change-Id: I385ce89a9abe2059d52da2d82a0b92b9b3e3c93f
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/339220
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include/usb_descriptor.h')
-rw-r--r-- | include/usb_descriptor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/usb_descriptor.h b/include/usb_descriptor.h index 8fdb7ef774..baa6e6421b 100644 --- a/include/usb_descriptor.h +++ b/include/usb_descriptor.h @@ -167,6 +167,10 @@ struct usb_endpoint_descriptor { #define USB_SUBCLASS_GOOGLE_I2C 0x52 #define USB_PROTOCOL_GOOGLE_I2C 0x01 +#define USB_SUBCLASS_GOOGLE_CR50 0x53 +/* We can use any protocol we want */ +#define USB_PROTOCOL_GOOGLE_CR50_NON_HC_FW_UPDATE 0xff + /* Control requests */ |