diff options
author | Caveh Jalali <caveh@chromium.org> | 2021-03-18 14:27:30 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-22 22:26:37 +0000 |
commit | fbace84911ed5ade55569e8e27d4bb28dcdba18f (patch) | |
tree | c6e2d52916a593182b4b9e847ee28dedab99a20c /include | |
parent | 95034c78bc7a128f6eba4c4bd0d3bc30b474aab2 (diff) | |
download | chrome-ec-fbace84911ed5ade55569e8e27d4bb28dcdba18f.tar.gz |
charger: Update BQ25720 configs
This updates how we select between the BQ25720 and BQ25710 charger
chips. The BQ25720 charger chip can now be enabled without enabling the
BQ25710 charger chip. Both chips are still supported by the same driver
and the choice of BQ25720 vs. BQ25710 remains a compile time
configuration.
BRANCH=none
BUG=b:180980490
TEST=buildall passes
Change-Id: If632af0b68d8cf73e5c2436a05b1641e4467d8f8
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2774701
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h index d31ca963ed..a1b4d247ed 100644 --- a/include/config.h +++ b/include/config.h @@ -5516,11 +5516,6 @@ #endif /*****************************************************************************/ -/* The BQ25720 is supported by the BQ25710 driver */ -#if defined(CONFIG_CHARGER_BQ25720) -#define CONFIG_CHARGER_BQ25710 -#endif - /* * Define CONFIG_USB_PD_VBUS_MEASURE_CHARGER if the charger on the board * supports VBUS measurement. @@ -5530,6 +5525,7 @@ defined(CONFIG_CHARGER_RT9467) || \ defined(CONFIG_CHARGER_MT6370) || \ defined(CONFIG_CHARGER_BQ25710) || \ + defined(CONFIG_CHARGER_BQ25720) || \ defined(CONFIG_CHARGER_ISL9241) #define CONFIG_USB_PD_VBUS_MEASURE_CHARGER |