summaryrefslogtreecommitdiff
path: root/board/foob/board.h
Commit message (Collapse)AuthorAgeFilesLines
* LED On/Off: Remove power LED configDiana Z2021-04-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | Move the LED on/off module towards using a more flexible LED support approach. Define a weak power LED table and setter for boards to override when needed. Note that during run-time these functions will not get called since led_auto_control_is_enabled() will return false for nonexistent LEDs. This consumes an average of 165 additional bytes of flash space on boards which do not use a power LED. BRANCH=None BUG=b:185508707 TEST=make -j buildall, load on guybrush (battery LED only) and confirm no errors are seen. Load on Boten (both LEDs) and confirm behavior appears normal Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Iaa1e22a7f5d8be39eb8792ee13d358087d7f7482 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2832691 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
* foob : Add new battery informationxiaoqiang.zhu2020-03-051-0/+1
| | | | | | | | | | | | | | | | | | | foob need support new battery --AEC:bq40z50-R3 This CL add to support the AEC battery BUG=b:150802756 BRANCH=master TEST=boot foob board with new battery, charging/discharging/cutoff work as expected. Signed-off-by: xiaoqiang.zhu <xiaoqiang.zhu@bitland.corp-partner.google.com> Change-Id: I38b201c0464f4256236d8ce10e5643fd3059410a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2087437 Reviewed-by: Henry Sun <henrysun@google.com> Commit-Queue: Henry Sun <henrysun@google.com> Tested-by: Henry Sun <henrysun@google.com>
* foob : Add new battery informationxiaoqiang.zhu2020-02-131-0/+1
| | | | | | | | | | | | | | | | | | | foob need support new battery --GF:GP.S30.465595-0100 This CL add to support the GF battery BUG=b:149416073 BRANCH=master TEST=boot foob board with new battery, charging/discharging/cutoff work as expected. Change-Id: I175982f33414e0f3814fe8f749dd944e3c48d9a4 Signed-off-by: xiaoqiang.zhu <xiaoqiang.zhu@bitland.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2053874 Reviewed-by: Henry Sun <henrysun@google.com> Commit-Queue: Henry Sun <henrysun@google.com> Tested-by: Henry Sun <henrysun@google.com>
* foob: initial files commitPeichao Wang2019-12-101-0/+90
Initial files for foob are copied from phaser, BRANCH=octopus BUG=b:144890301 TEST=make BOARD=FOOB Change-Id: I63a8263d0f24b5295fd3385beb60afb1ebd25bb1 Signed-off-by: peichao.wang <peichao.wang@bitland.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1948683 Reviewed-by: Henry Sun <henrysun@google.com> Tested-by: Henry Sun <henrysun@google.com> Commit-Queue: Henry Sun <henrysun@google.com>