diff options
author | Mary Ruthven <mruthven@chromium.org> | 2016-02-23 14:56:28 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-02-26 21:22:07 -0800 |
commit | 9b4f662a8e139a75dc1557d4ccbf6348b43630d8 (patch) | |
tree | 44ffc60123897ac0adc0df028814b74a171cea05 /chip/stm32/build.mk | |
parent | 60552e57b61d036edbb628fcd1debbf0ec087e6e (diff) | |
download | chrome-ec-9b4f662a8e139a75dc1557d4ccbf6348b43630d8.tar.gz |
lucid: add support to detect BC1.2 suppliers
Use built-in USB periperal to detect BC1.2 suppliers and update the
charge manager.
BUG=chrome-os-partner:48658
BRANCH=None
TEST=manual for lucid. Use a samus as the supplier, and insert the
charger into Lucid. Verify that it identifies it as SDP. Use a wall
charger and verify that Lucid identifies it as DCP.
Change-Id: I7842e9f75874f727837df5bfc28690662caf821c
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/329236
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'chip/stm32/build.mk')
-rw-r--r-- | chip/stm32/build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/stm32/build.mk b/chip/stm32/build.mk index 53b48b6ab5..6878c76065 100644 --- a/chip/stm32/build.mk +++ b/chip/stm32/build.mk @@ -50,6 +50,7 @@ chip-$(CHIP_FAMILY_STM32F0)+=flash-f.o chip-$(CHIP_FAMILY_STM32F3)+=flash-f.o endif chip-$(CONFIG_ADC)+=adc-$(CHIP_FAMILY).o +chip-$(CONFIG_STM32_CHARGER_DETECT)+=charger_detect.o chip-$(CONFIG_DEBUG_PRINTF)+=debug_printf.o chip-$(CONFIG_PWM)+=pwm.o chip-$(CONFIG_USB)+=usb.o usb-$(CHIP_FAMILY).o usb_endpoints.o |