summaryrefslogtreecommitdiff
path: root/board/nightfury/ec.tasklist
diff options
context:
space:
mode:
authorraymondchung <raymondchung@ami.corp-partner.google.com>2020-02-11 16:07:58 +0800
committerCommit Bot <commit-bot@chromium.org>2020-03-18 07:06:03 +0000
commitfdf16228202ced2220d8b511d14798ccc8a93bfb (patch)
treef46e23e8de785477860c9ad71f990c681513985d /board/nightfury/ec.tasklist
parent4f72bc3943acb4c002a0d39e0e73a75bc94facfe (diff)
downloadchrome-ec-fdf16228202ced2220d8b511d14798ccc8a93bfb.tar.gz
nightfury: Initial EC image
The starting point for the nightfury EC image. BUG=b:149226871 BRANCH=firmware-hatch-12672.B TEST=make -j BOARD=nightfury Change-Id: Ifafb645737b3e7c1aa9245a359e3df47ca9d66fa Signed-off-by: Raymond Chung <raymondchung@ami.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2050103 Commit-Queue: Philip Chen <philipchen@chromium.org> Reviewed-by: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'board/nightfury/ec.tasklist')
-rw-r--r--board/nightfury/ec.tasklist27
1 files changed, 27 insertions, 0 deletions
diff --git a/board/nightfury/ec.tasklist b/board/nightfury/ec.tasklist
new file mode 100644
index 0000000000..d4ea871074
--- /dev/null
+++ b/board/nightfury/ec.tasklist
@@ -0,0 +1,27 @@
+/* Copyright 2020 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_ALWAYS(USB_CHG_P0, usb_charger_task, 0, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(USB_CHG_P1, usb_charger_task, 1, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(CHARGER, charger_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, 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(CONSOLE, console_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(POWERBTN, power_button_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD_C0, pd_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD_C1, pd_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD_INT_C0, pd_interrupt_handler_task, 0, TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD_INT_C1, pd_interrupt_handler_task, 1, TASK_STACK_SIZE)
+