diff options
author | xiong.huang <xiong.huang@bitland.corp-partner.google.com> | 2019-08-02 17:14:52 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-16 06:41:16 +0000 |
commit | 090c47f8f16588f5e216804f890e1f94009b6ddc (patch) | |
tree | 63d0df486a2ffb980b62a8ba755d6eb9a127670b /baseboard/kukui | |
parent | 226a468ebcbc4f690d5f9c34f4912e8c046c17af (diff) | |
download | chrome-ec-090c47f8f16588f5e216804f890e1f94009b6ddc.tar.gz |
kodama: Support smart batterystabilize-12428.B
Provide SMP and Celxpert smart battery initial files.
BUG=b:136977971, b:138826367
BRANCH=master
TEST=boot ec, verify that ec console prints 'found batt:SMP' or
'found batt:Celxpert'.
Cq-Depend:chromium:1730377
Change-Id: I607fc41c51e8b27acddefda4dcd2ea02a7597a0f
Signed-off-by: Xiong Huang <xiong.huang@bitland.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1731211
Reviewed-by: Yilun Lin <yllin@chromium.org>
Commit-Queue: Paul Ma <magf@bitland.corp-partner.google.com>
Tested-by: Paul Ma <magf@bitland.corp-partner.google.com>
Diffstat (limited to 'baseboard/kukui')
-rw-r--r-- | baseboard/kukui/charger_mt6370.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/baseboard/kukui/charger_mt6370.c b/baseboard/kukui/charger_mt6370.c index b64d29a009..4752afbce8 100644 --- a/baseboard/kukui/charger_mt6370.c +++ b/baseboard/kukui/charger_mt6370.c @@ -16,6 +16,7 @@ #define CPRINTS(format, args...) cprints(CC_CHARGER, format, ## args) +#ifndef CONFIG_BATTERY_SMART int board_cut_off_battery(void) { /* The cut-off procedure is recommended by Richtek. b/116682788 */ @@ -25,6 +26,7 @@ int board_cut_off_battery(void) return EC_SUCCESS; } +#endif void mt6370_charger_profile_override(struct charge_state_data *curr) { @@ -79,4 +81,3 @@ static void board_charge_termination(void) DECLARE_HOOK(HOOK_BATTERY_SOC_CHANGE, board_charge_termination, HOOK_PRIO_DEFAULT); - |