diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-09-06 20:29:08 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-08 21:58:21 -0700 |
commit | ebfdb59702f02dad5a7daae6b4a38f95a849cf9a (patch) | |
tree | 67099248db16760b52321eca12ccf3c823a0adcf /test/build.mk | |
parent | 490e8a482f07ce8c39d6a40bcff5abb24a38449a (diff) | |
download | chrome-ec-ebfdb59702f02dad5a7daae6b4a38f95a849cf9a.tar.gz |
charge_manager: add option to charge from dual-role devices
Add option to charge automatically from dual-role devices. This
also changes the charge override behavior such that any new
device attached will clear the override because any new source
is a potential device we might charge from.
BUG=chrome-os-partner:44958
BRANCH=smaug
TEST=tested charge_manager unittests with
CONFIG_CHARGE_MANAGER_DRP_CHARGING both defined and undefined
Change-Id: Iac77ff0c501826d5fb5a9d50f88399ebc3955b87
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/297789
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'test/build.mk')
-rw-r--r-- | test/build.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/build.mk b/test/build.mk index 0a6524b699..7b6f95be4f 100644 --- a/test/build.mk +++ b/test/build.mk @@ -37,13 +37,14 @@ test-list-host+=sbs_charging host_command test-list-host+=bklight_lid bklight_passthru interrupt timer_dos button test-list-host+=math_util sbs_charging_v2 battery_get_params_smart test-list-host+=lightbar inductive_charging usb_pd fan charge_manager -test-list-host+=charge_ramp +test-list-host+=charge_manager_drp_charging charge_ramp battery_get_params_smart-y=battery_get_params_smart.o bklight_lid-y=bklight_lid.o bklight_passthru-y=bklight_passthru.o button-y=button.o charge_manager-y=charge_manager.o +charge_manager_drp_charging-y=charge_manager.o charge_ramp-y+=charge_ramp.o console_edit-y=console_edit.o extpwr_gpio-y=extpwr_gpio.o |