summaryrefslogtreecommitdiff
path: root/zephyr/shim/include
diff options
context:
space:
mode:
authorMichał Barnaś <mb@semihalf.com>2021-09-06 19:46:20 +0200
committerCommit Bot <commit-bot@chromium.org>2021-09-08 23:50:39 +0000
commit5edb1320bc20449f0491f96216300219a9832555 (patch)
treeef7c7d975707085e8d3c1487e2722d3cdb539d9c /zephyr/shim/include
parent5b4ebe14c85f019a90b6981725cfa49b5d7c6335 (diff)
downloadchrome-ec-5edb1320bc20449f0491f96216300219a9832555.tar.gz
zephyr: add missing charger Kconfig
Add CHARGER_MIN_BAT_PCT_IMBALANCED_POWER_ON to Kconfig BRANCH=main BUG=b:183544739 TEST=Define added configs to prj.conf file and verify that compilation takes them into account. Change-Id: I7672315a6938102878b5b3b87a9dcf96b0a71d46 Signed-off-by: Michał Barnaś <mb@semihalf.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3141561 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/shim/include')
-rw-r--r--zephyr/shim/include/config_chip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h
index cfd34be454..eff014a781 100644
--- a/zephyr/shim/include/config_chip.h
+++ b/zephyr/shim/include/config_chip.h
@@ -211,6 +211,8 @@
#define CONFIG_BATTERY_MEASURE_IMBALANCE
#define CONFIG_BATTERY_MAX_IMBALANCE_MV \
CONFIG_PLATFORM_EC_BATTERY_MAX_IMBALANCE_MV
+#define CONFIG_CHARGER_MIN_BAT_PCT_IMBALANCED_POWER_ON \
+ CONFIG_PLATFORM_EC_CHARGER_MIN_BAT_PCT_IMBALANCED_POWER_ON
#endif