summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2018-01-11 18:02:27 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-14 18:38:31 -0800
commiteaaf89018818731e1a61d3f1bdc2ae469077dfa8 (patch)
treea3e9deb65d4fe018a05db092d88123c7187e9619
parent4c56c17a1a81ca55a2f5572208bd21e811a639ed (diff)
downloadchrome-ec-eaaf89018818731e1a61d3f1bdc2ae469077dfa8.tar.gz
wand: Enable CONFIG_CHARGE_RAMP_HW
Enable ramping by default. Follow-up CL will have EC-EC master tell the slave if it's necessary to ramp. BRANCH=none BUG=b:71840796 TEST=lux fully charged, in S0ix, wand connected. Connect old BC1.2 charger, see that the charger is not browning out anymore. Change-Id: I5f1052257db4c581bcb700c7f0306f14f792ea03 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/863349 Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--board/hammer/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/hammer/board.h b/board/hammer/board.h
index 5d3d191095..5ca814bc4c 100644
--- a/board/hammer/board.h
+++ b/board/hammer/board.h
@@ -231,6 +231,8 @@
#define CONFIG_CHARGER_DISCHARGE_ON_AC
#define CONFIG_CHARGER_OTG
+#define CONFIG_CHARGE_RAMP_HW
+
#define CONFIG_BATTERY_CRITICAL_SHUTDOWN_CUT_OFF
#define CONFIG_BATTERY_CUT_OFF
#define CONFIG_BATTERY_SMART