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>
This commit is contained in:
Mary Ruthven
2016-11-11 15:15:35 -08:00
committed by chrome-bot
parent 12da6c23fb
commit 732dced60f

View File

@@ -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