summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2017-10-20 20:09:13 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-10-21 02:07:11 -0700
commitdf08dca691b19ff34a4c3bc4f5382471872fc7fe (patch)
treee5041e69337f440a4c5ca38c9034b235279ae1d2
parenta3931810fed99d345c54bd9db08e345459b95f07 (diff)
downloadchrome-ec-df08dca691b19ff34a4c3bc4f5382471872fc7fe.tar.gz
scarlet: Enable DISCHARGE_ON_AC
BUG=b:68065301 BRANCH=none TEST=1)'ectool chargecontrol discharge', verify charging stops 2)'ectool chargecontrol normal', verify charging restarts Change-Id: I95e6e545419fee678ace6a5bea7f902dfc8de242 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/732043 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--board/scarlet/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/scarlet/board.h b/board/scarlet/board.h
index abd69b9acf..4df4f988ce 100644
--- a/board/scarlet/board.h
+++ b/board/scarlet/board.h
@@ -71,6 +71,7 @@
#define CONFIG_CHARGER_LIMIT_POWER_THRESH_BAT_PCT 2
#define CONFIG_CHARGER_LIMIT_POWER_THRESH_CHG_MW 15000
#define CONFIG_CHARGER_PROFILE_OVERRIDE
+#define CONFIG_CHARGER_DISCHARGE_ON_AC
#define CONFIG_USB_MUX_VIRTUAL
/* Increase tx buffer size, as we'd like to stream EC log to AP. */