diff options
author | Ting Shen <phoenixshen@google.com> | 2020-04-24 14:53:21 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-12 10:15:43 +0000 |
commit | fb8251810a246ae6b17ae55a8356f57cb334527b (patch) | |
tree | 166bfed389eb557f5196f26eb4f0e875c1d3313f /board/asurada/board.h | |
parent | fa31ad509dbdd852d72e9d48bf601dba2c026ff6 (diff) | |
download | chrome-ec-fb8251810a246ae6b17ae55a8356f57cb334527b.tar.gz |
asurada: enable battery cut-off
add CONFIG_BATTERY_CUT_OFF and set correct cut-off command
BUG=b:150341271
TEST=`cutoff` command in ec-console works
BRANCH=none
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I757990df5b0c71e4d522c9bbf53ca900590b4fe9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2164467
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'board/asurada/board.h')
-rw-r--r-- | board/asurada/board.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/asurada/board.h b/board/asurada/board.h index 2340706788..ca85c1cd88 100644 --- a/board/asurada/board.h +++ b/board/asurada/board.h @@ -25,9 +25,10 @@ #define CONFIG_WP_ACTIVE_HIGH /* Battery */ -#define CONFIG_BATTERY_SMART +#define CONFIG_BATTERY_CUT_OFF #define CONFIG_BATTERY_FUEL_GAUGE #define CONFIG_BATTERY_PRESENT_GPIO GPIO_EC_BATT_PRES_ODL +#define CONFIG_BATTERY_SMART /* BC12 */ /* #define CONFIG_BC12_DETECT_PI3USB9201 */ |