mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
3b55292cdb76f1acd540b89ce16a24fda863bc62
port80 task polling prevents the EC from entering low power states and isn't useful when the AP isn't running. Therefore, when CONFIG_PORT80_TASK_EN is enabled, only enable the port80 task when entering S0, and disable it when leaving S0. BUG=chrome-os-partner:42104 TEST=Manual on Glados. Boot AP, verify that 'port80' log starts with "10 20...". Shutdown AP, verify with 'taskinfo' that PORT80 task stops consuming cycles. Boot AP again, verify that 'port80' log starts with new "10 20...". BRANCH=None Change-Id: Id41dbdaa4597456d042b7a3921c1ec439af759f4 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/285550 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%