summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2016-11-11 15:15:35 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-11-11 23:12:02 -0800
commit732dced60f39c48fc838968fcedfd1b01143a9a9 (patch)
tree650907ee34a7c634ea22b8fd1497c9c9cdc04c5d
parent12da6c23fbb9b72bc23d870d6283cf56ae7f448c (diff)
downloadchrome-ec-732dced60f39c48fc838968fcedfd1b01143a9a9.tar.gz
cr50: request 0mA instead of 500mA for CCD
This changes the usb descriptor to set the MaxPower to 0mA instead of 500mA. BUG=chrome-os-partner:59564 BRANCH=none TEST=Verify 'lsusb -vd 18d1:5014 | grep MaxPower' shows the power is 0mA Change-Id: Ieeb8dec6c205f4fe51392f8106b3a0ed7d3ea0a5 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/410288 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: David Schneider <dnschneid@chromium.org>
-rw-r--r--board/cr50/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h
index ad8bb4faa6..3981582145 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -78,6 +78,9 @@
#define CONFIG_USB_PID 0x5014
#define CONFIG_USB_SELF_POWERED
+#undef CONFIG_USB_MAXPOWER_MA
+#define CONFIG_USB_MAXPOWER_MA 0
+
/* Enable SPI Master (SPI) module */
#define CONFIG_SPI_MASTER
#define CONFIG_SPI_MASTER_NO_CS_GPIOS