summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2017-07-23 00:29:53 -0700
committerCommit Bot <commit-bot@chromium.org>2020-08-26 23:16:46 +0000
commit64330aa254e35bb6b20a5162b35ff945ee367803 (patch)
tree653caaeb7b073489025a9c04fafc5a6363b89d61
parent389363b45964ca9b12389e813489ccd09fa2f96d (diff)
downloadchrome-ec-64330aa254e35bb6b20a5162b35ff945ee367803.tar.gz
eve: Remove the LIMIT_POWER config options
These config options change the behavior of charge_prevent_power_on and ignore the minimum battery percentage for booting. Since we do not have any AP code to actually handle this state we don't want it to always boot the AP or it might brown out with a battery that is critically low. BUG=b:63957122 BRANCH=eve TEST=manual testing with low battery to ensure it does not always attempt to boot the AP. Change-Id: Ic7be3f4d07570e00ea3afa1124af083da0e789c3 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://chromium-review.googlesource.com/582539 Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2319999 Tested-by: Patryk Duda <pdk@semihalf.com> Reviewed-by: Jett Rink <jettrink@chromium.org> Commit-Queue: Patryk Duda <pdk@semihalf.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2378962 Reviewed-by: Edward Hill <ecgh@chromium.org> Commit-Queue: Edward Hill <ecgh@chromium.org> Tested-by: Edward Hill <ecgh@chromium.org>
-rw-r--r--board/eve/board.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/eve/board.h b/board/eve/board.h
index 7365286b23..56004fdc0e 100644
--- a/board/eve/board.h
+++ b/board/eve/board.h
@@ -87,8 +87,6 @@
#define CONFIG_CHARGER_BD9995X_CHGEN
#define CONFIG_CHARGER_DISCHARGE_ON_AC
#define CONFIG_CHARGER_INPUT_CURRENT 512
-#define CONFIG_CHARGER_LIMIT_POWER_THRESH_BAT_PCT 1
-#define CONFIG_CHARGER_LIMIT_POWER_THRESH_CHG_MW 15000
#define CONFIG_CHARGER_MAINTAIN_VBAT
#define CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON 1
#define CONFIG_CHARGER_PROFILE_OVERRIDE