summaryrefslogtreecommitdiff
path: root/board/cappy2/ec.tasklist
diff options
context:
space:
mode:
authorSunway <lisunwei@huaqin.corp-partner.google.com>2021-06-28 14:39:33 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-08 03:15:06 +0000
commit109c9d6556260dbe067ea9a2cff879db674524c1 (patch)
tree23dba72cc9da713d3f1913f1d6455c786f158c19 /board/cappy2/ec.tasklist
parent1ce3910f7dfbff10386c4b02d7025c3bfd11ef5e (diff)
downloadchrome-ec-109c9d6556260dbe067ea9a2cff879db674524c1.tar.gz
cappy2: Initial EC image
Create the initial EC image for the cappy2 variant by copying the lalala reference board EC files into a new directory named for the variant. (Auto-Generated by create_initial_ec_image.sh version 1.5.0). BUG=b:192035460 BRANCH=None TEST=make BOARD=cappy2 Signed-off-by: Sunway <lisunwei@huaqin.corp-partner.google.com> Change-Id: I402e5425f25b07122a84294f9f413e576683952a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2992609 Tested-by: Tao Xia <xiatao5@huaqin.corp-partner.google.com> Reviewed-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com> Reviewed-by: Henry Sun <henrysun@google.com> Reviewed-by: Bob Moragues <moragues@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/cappy2/ec.tasklist')
-rw-r--r--board/cappy2/ec.tasklist25
1 files changed, 25 insertions, 0 deletions
diff --git a/board/cappy2/ec.tasklist b/board/cappy2/ec.tasklist
new file mode 100644
index 0000000000..d4fb416bce
--- /dev/null
+++ b/board/cappy2/ec.tasklist
@@ -0,0 +1,25 @@
+/* Copyright 2021 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, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_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, VENTI_TASK_STACK_SIZE) \
+ TASK_NOTEST(CHIPSET, chipset_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \
+ TASK_ALWAYS(CONSOLE, console_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(HOSTCMD, host_command_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(POWERBTN, power_button_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD_C0, pd_task, NULL, ULTRA_TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD_C1, pd_task, NULL, ULTRA_TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD_INT_C0, pd_interrupt_handler_task, 0, ULTRA_TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD_INT_C1, pd_interrupt_handler_task, 1, ULTRA_TASK_STACK_SIZE)