summaryrefslogtreecommitdiff
path: root/board/oak
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2018-01-09 16:31:44 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-10 06:02:13 -0800
commit31e68a035b83acf13b73f3b5b63fbb99540faea9 (patch)
treee9d3af5cb1d176487fd1994a70eba4f86949df50 /board/oak
parent1caa2788c5198f3a89e022a559191b27b93adada (diff)
downloadchrome-ec-31e68a035b83acf13b73f3b5b63fbb99540faea9.tar.gz
driver/charger/isl923x: Make sure CONFIG_CHARGER_NARROW_VDC is set
Without this, the battery will discharge if we disallow battery charging (e.g. calling charge_request with either voltage == 0 or current == 0, either by policy, or when the battery is full). Also update config.h to set the option whenever isl923x is used. BRANCH=none BUG=b:66575472 BUG=b:35585464 TEST=make buildall -j Change-Id: Id5515d5ea82a393a3693a3da44cbdc2778296a95 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/856538 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/oak')
-rw-r--r--board/oak/board.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/oak/board.h b/board/oak/board.h
index 432b1454d1..9828e4e9a0 100644
--- a/board/oak/board.h
+++ b/board/oak/board.h
@@ -46,7 +46,6 @@
#define CONFIG_CHARGE_RAMP_HW
#define CONFIG_CHARGER_ISL9237
#define CONFIG_CHARGER_MAX_INPUT_CURRENT 2250
-#define CONFIG_CHARGER_NARROW_VDC
#define CONFIG_CHARGER_SENSE_RESISTOR 10
#define CONFIG_CHARGER_SENSE_RESISTOR_AC 20
#endif /* BOARD_REV */