summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-03-22 14:50:01 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-23 00:57:24 +0000
commitba60995d16d9098e477044682759f19f6051700c (patch)
treee3059a67a07b4d15cafaaa2f4ab21b7934709e1d /include/config.h
parent53b42c155805de608e4026cc5e067fd5da8a21ed (diff)
downloadchrome-ec-ba60995d16d9098e477044682759f19f6051700c.tar.gz
bq25710: Consolidate NARROW_VDC definition
This consolidates the selection of CONFIG_CHARGER_NARROW_VDC to config.h for the bq25710 and bq25720 charger chips. The driver requires NARROW_VDC to be enabled, so move this setting to config.h similar to other chargers. BRANCH=none BUG=b:173575131 TEST=buildall passes Change-Id: I6c1768aff5d581544c4b7182f32ec45851a3a243 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2780831 Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index a1b4d247ed..fa82fc5242 100644
--- a/include/config.h
+++ b/include/config.h
@@ -5559,7 +5559,8 @@
*/
#if defined(CONFIG_CHARGER_ISL9237) || defined(CONFIG_CHARGER_ISL9238) || \
defined(CONFIG_CHARGER_ISL9238C) || defined(CONFIG_CHARGER_ISL9241) || \
- defined(CONFIG_CHARGER_RAA489000) || defined(CONFIG_CHARGER_SM5803)
+ defined(CONFIG_CHARGER_RAA489000) || defined(CONFIG_CHARGER_SM5803) || \
+ defined(CONFIG_CHARGER_BQ25710) || defined(CONFIG_CHARGER_BQ25720)
#define CONFIG_CHARGER_NARROW_VDC
#endif