diff options
author | Scott Collyer <scollyer@google.com> | 2021-04-21 17:13:12 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-02 02:48:04 +0000 |
commit | 8c438c712b7d4113874addc52a88ab9508e3ee44 (patch) | |
tree | 06cc7e6396e012e716bbd9073ee0c27b914e35ff /include | |
parent | 98ca457dfcdbf135618c42c81bda1445b2fdabae (diff) | |
download | chrome-ec-8c438c712b7d4113874addc52a88ab9508e3ee44.tar.gz |
usb-ep: Add config option to define VID
This value was previously hardcoded to Google's VID. However, some
products with USB-EP support may require a different VID to correctly
support fwupd.
BUG=b:181920029
BRANCH=quiche
TEST=verified that fwupd works on baklava
Signed-off-by: Scott Collyer <scollyer@google.com>
Change-Id: I23c36507a90428ab46cd5efde7d79581207bde74
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2848424
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 3adc23c1c1..8dc2d0aa5a 100644 --- a/include/config.h +++ b/include/config.h @@ -4620,6 +4620,11 @@ #undef CONFIG_USB_PID /* + * USB Vendor ID used for USB endpoints. + */ +#define CONFIG_USB_VID USB_VID_GOOGLE + +/* * Track overcurrent events for sinking partners coming from some component on * the board. Auto-enabled for drivers which contain support for this feature. */ |