summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Basehore <dbasehore@chromium.org>2017-03-28 18:25:47 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-03-29 20:48:32 -0700
commit333043bc8f2a04c058af10200948076611a6dfb0 (patch)
tree89e9c1b8f7c8ed62094dfcdd5dc20d2e4c00acf5
parent598d580a63e5ee0df84196fb272c2d4643638069 (diff)
downloadchrome-ec-333043bc8f2a04c058af10200948076611a6dfb0.tar.gz
Kevin: enable CONFIG_CHARGER_DISCHARGE_ON_AC
This enables CONFIG_CHARGER_DISCHARGE_ON_AC so the ectool chargecontrol discharge command will work. BUG=b:35563925 BRANCH=none TEST=run 'ectool chargecontrol discharge' Change-Id: I3a4acd83f131ccd050739e68d156f8facf4a93cc Signed-off-by: Derek Basehore <dbasehore@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/462464
-rw-r--r--board/kevin/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/kevin/board.h b/board/kevin/board.h
index 3d2f08e884..b84d9efd37 100644
--- a/board/kevin/board.h
+++ b/board/kevin/board.h
@@ -68,6 +68,7 @@
#define CONFIG_CHARGER_BD99956
#define CONFIG_CHARGER_INPUT_CURRENT 512
#define CONFIG_CHARGER_MAINTAIN_VBAT
+#define CONFIG_CHARGER_DISCHARGE_ON_AC
#define CONFIG_CHARGER_V2
#define CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON 2
#define CONFIG_CHARGER_LIMIT_POWER_THRESH_BAT_PCT 2