summaryrefslogtreecommitdiff
path: root/board/glkrvp
diff options
context:
space:
mode:
authorDivya Sasidharan <divya.s.sasidharan@intel.com>2017-12-27 16:12:08 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-12-28 14:50:30 -0800
commitbc8fda9e0f4737be3fc635832d4099a9e3b5451a (patch)
treed90d378f683335a99b486cfcffae007cf30247c5 /board/glkrvp
parentd41766df11888d07a630dc97de9ce8ce1f6a8f9a (diff)
downloadchrome-ec-bc8fda9e0f4737be3fc635832d4099a9e3b5451a.tar.gz
glkrvp: Enable discharge on AC config
This CONFIG DISCHARGE_ON_AC enables discharging battery even when AC is connected. BUG=b:71364739 BRANCH=glkrvp TEST=On glkrvp EC console, execute command "chgstate discharge on" and verify if battery is discharging with "battery" command. Change-Id: I709c7b5ccfea9058961d387a1575db9aebe70707 Signed-off-by: Divya Sasidharan <divya.s.sasidharan@intel.com>
Diffstat (limited to 'board/glkrvp')
-rw-r--r--board/glkrvp/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/glkrvp/board.h b/board/glkrvp/board.h
index 541f7f675b..abc6766ee2 100644
--- a/board/glkrvp/board.h
+++ b/board/glkrvp/board.h
@@ -33,6 +33,7 @@
/* Charger */
#define CONFIG_CHARGE_MANAGER
#define CONFIG_CHARGER
+#define CONFIG_CHARGER_DISCHARGE_ON_AC
#define CONFIG_CHARGER_INPUT_CURRENT 512
#define CONFIG_CHARGER_ISL9238
#define CONFIG_CHARGER_PROFILE_OVERRIDE