diff options
author | Keith Short <keithshort@chromium.org> | 2020-01-13 14:07:49 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-17 21:21:04 +0000 |
commit | 5fbedbfeda018901403be523eaaffa947b161fa7 (patch) | |
tree | dbfdabb7fc044e15ffc4b233bc97ea98833b873c | |
parent | 6eaecf15cb0f5855413c6af70c73980dfc891f6d (diff) | |
download | chrome-ec-5fbedbfeda018901403be523eaaffa947b161fa7.tar.gz |
volteer: enable battery cutoff
Enable battery cutoff from console and from AP.
BUG=b:143809318
BRANCH=none
TEST=make buildall
TEST=run "cutoff" from EC console, verify voltage on battery is 0
TEST=run "ectool batterycutoff" from AP, verify voltage on battery is 0
Change-Id: If5902a2469201da97d29db6d2e15c6b8b053efda
Signed-off-by: Keith Short <keithshort@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2042903
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r-- | baseboard/volteer/baseboard.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/baseboard/volteer/baseboard.h b/baseboard/volteer/baseboard.h index 40a93591c4..40608cb311 100644 --- a/baseboard/volteer/baseboard.h +++ b/baseboard/volteer/baseboard.h @@ -64,7 +64,6 @@ #define CONFIG_KEYBOARD_PWRBTN_ASSERTS_KSI2 #define CONFIG_PWM_KBLIGHT - /* Sensors */ #define CONFIG_TABLET_MODE #define CONFIG_GMR_TABLET_MODE @@ -137,8 +136,7 @@ /* Common battery defines */ #define CONFIG_BATTERY_SMART #define CONFIG_BATTERY_FUEL_GAUGE -/* TODO: b/143809318 enable cut off */ -/* #define CONFIG_BATTERY_CUT_OFF */ +#define CONFIG_BATTERY_CUT_OFF /* Common LED defines */ #define CONFIG_LED_COMMON |