summaryrefslogtreecommitdiff
path: root/board/puff/ec.tasklist
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2019-10-29 00:21:21 +1100
committerCommit Bot <commit-bot@chromium.org>2019-10-29 22:00:56 +0000
commit934a5dff33234e01f856117d86e065effd285c92 (patch)
treee645d25b609782f585bee4a01148ce6cc7b619f7 /board/puff/ec.tasklist
parent67f04ec31380936802f8851eaa8be74495ac5b3b (diff)
downloadchrome-ec-934a5dff33234e01f856117d86e065effd285c92.tar.gz
puff: Initial EC files for puff
Skeleton EC files for puff. Enough GPIOs and functions defined to allow files to build, but don't expect anything to work or be complete. BUG=b:143454886 TEST=None, code compiles. Change-Id: I4badd1741cf04c71b4ae687afe9d06d8e0b8a813 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1880784 Tested-by: Andrew McRae <amcrae@chromium.org> Commit-Queue: Andrew McRae <amcrae@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/puff/ec.tasklist')
-rw-r--r--board/puff/ec.tasklist18
1 files changed, 18 insertions, 0 deletions
diff --git a/board/puff/ec.tasklist b/board/puff/ec.tasklist
new file mode 100644
index 0000000000..7900f142c3
--- /dev/null
+++ b/board/puff/ec.tasklist
@@ -0,0 +1,18 @@
+/* Copyright 2019 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/*
+ * See CONFIG_TASK_LIST in config.h for details.
+ */
+
+#define CONFIG_TASK_LIST \
+ TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_NOTEST(PDCMD, pd_command_task, NULL, TASK_STACK_SIZE) \
+ TASK_ALWAYS(HOSTCMD, host_command_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(POWERBTN, power_button_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD_C0, pd_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD_INT_C0, pd_interrupt_handler_task, 0, TASK_STACK_SIZE)