diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2016-09-20 12:52:10 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-09-21 19:38:13 -0700 |
commit | 420b4230968c16c6fb856874a6fd78730c8fd397 (patch) | |
tree | 837e00761540e2fa668e82d455db35708ac5b7cc /include | |
parent | d94fd4faf554eb5cd48d50bc8ce307e03bc87904 (diff) | |
download | chrome-ec-420b4230968c16c6fb856874a6fd78730c8fd397.tar.gz |
BD9995X: Rename common code of BD99955 and BD99956 as BD9995X
Except the CHIP_ID and charger name code is common between BD99955
and BD99956. Hence renamed the code to BD9995X so that valid
output is printed from console commands.
BUG=chrome-os-partner:57519
BRANCH=none
TEST=Manually tested on Reef. 'charger' console command prints
charger name as 'bd99956'
Change-Id: I3c995757941bcc5a6a8026dd807d76a7a47c9911
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/387119
Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h index 391ad49bab..edfc610614 100644 --- a/include/config.h +++ b/include/config.h @@ -360,6 +360,7 @@ /* Compile charger-specific code for these chargers (pick at most one) */ #undef CONFIG_CHARGER_BD99955 +#undef CONFIG_CHARGER_BD99956 #undef CONFIG_CHARGER_BQ24707A #undef CONFIG_CHARGER_BQ24715 #undef CONFIG_CHARGER_BQ24725 @@ -374,20 +375,20 @@ #undef CONFIG_CHARGER_TPS65090 /* Note: does not use CONFIG_CHARGER */ /* - * BD99955 PD port to charger port mapping. + * BD9995X PD port to charger port mapping. * By default VBUS is selected as primary port. * Define only if the VCC is the primary port. */ -#undef CONFIG_BD99955_PRIMARY_CHARGE_PORT_VCC +#undef CONFIG_BD9995X_PRIMARY_CHARGE_PORT_VCC /* - * BD99955 Power Save Mode + * BD9995X Power Save Mode * * Which power save mode should the charger enter when VBUS is removed. Check - * driver/bd99955.h for the power save settings. By default, no power save mode + * driver/bd9995x.h for the power save settings. By default, no power save mode * is enabled. */ -#undef CONFIG_BD99955_POWER_SAVE_MODE +#undef CONFIG_BD9995X_POWER_SAVE_MODE /* * If the battery temperature sense pin is connected to charger, |