summaryrefslogtreecommitdiff
path: root/board/strago
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2015-10-12 17:52:29 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-10-19 18:21:22 -0700
commit590caace95a27322f4729913ec041a582c1ea88b (patch)
treec3d0a1aa26ca7225e128930137fb911e72f5bc14 /board/strago
parent096edc1de9a7eeb4f90b9849cff6a8667bb15d30 (diff)
downloadchrome-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 'board/strago')
-rw-r--r--board/strago/ec.tasklist1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/strago/ec.tasklist b/board/strago/ec.tasklist
index 2e75973b9b..4f0691a26f 100644
--- a/board/strago/ec.tasklist
+++ b/board/strago/ec.tasklist
@@ -27,7 +27,6 @@
TASK_NOTEST(PDCMD, pd_command_task, NULL, TASK_STACK_SIZE) \
TASK_ALWAYS(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \
TASK_ALWAYS(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \
- TASK_NOTEST(PORT80, port80_task, NULL, TASK_STACK_SIZE) \
TASK_ALWAYS(POWERBTN, power_button_task, NULL, TASK_STACK_SIZE) \
TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE) \
TASK_ALWAYS(PD, pd_task, NULL, LARGER_TASK_STACK_SIZE)