diff options
author | Aseda Aboagye <aaboagye@google.com> | 2015-10-12 17:52:29 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-10-19 18:21:22 -0700 |
commit | 590caace95a27322f4729913ec041a582c1ea88b (patch) | |
tree | c3d0a1aa26ca7225e128930137fb911e72f5bc14 /util/build.mk | |
parent | 096edc1de9a7eeb4f90b9849cff6a8667bb15d30 (diff) | |
download | chrome-ec-590caace95a27322f4729913ec041a582c1ea88b.tar.gz |
mec1322: Change the Port 80 task to a timer IRQ.
The port 80 task just polls every 1ms until disabled when the system
goes into suspend. Therefore, this commit configures a 1ms timer
interrupt that will be used for the port 80 writes instead of using an
entire task. This saves task stack space as well as context switches.
BUG=chrome-os-partner:46062
BUG=chrome-os-partner:46063
BRANCH=None
TEST=Flash GLaDOS and verify using the `port80' console comamnd that
there are bytes in the port80 history.
TEST=make -j buildall tests
Change-Id: I65b48217a638c1f6ae1ac86471f9a98e0ec4533a
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/305591
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Kevin K Wong <kevin.k.wong@intel.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'util/build.mk')
0 files changed, 0 insertions, 0 deletions