summaryrefslogtreecommitdiff
path: root/board/woomax/battery.c
Commit message (Collapse)AuthorAgeFilesLines
* woomax: Config the EC battery setting.Michael5 Chen2020-07-061-14/+14
| | | | | | | | | | | | | | | | Config the EC battery setting depend on battery spec. BUG=b:160412962 BRANCH=master TEST=manual 1. Check EC log found battery. 2. Check battery cutoff maode (ectool batterycutoff at-shutdown) 3. Check battery Discharging FET status when battery full. Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com> Change-Id: Ia17721bb6a9d968842a3e5e2bfdbd8d68cc84c4e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2279343 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
* woomax: Initial EC imageMichael5 Chen2020-06-301-0/+65
Create the initial EC image for the woomax variant by copying the trembyle reference board EC files into a new directory named for the variant. (Auto-Generated by create_initial_ec_image.sh version 1.0.3). dbrockus: Adjusted missing portions of the code to allow woomax to build. BUG=b:158692530 BRANCH=none TEST=make BOARD=woomax Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com> Change-Id: I35abb2a9358d24d1f20bcbc2caa216d36a89fce4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2241085 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Tested-by: Denis Brockus <dbrockus@chromium.org>