summaryrefslogtreecommitdiff
path: root/board/haboki/ec.tasklist
diff options
context:
space:
mode:
authorZick Wei <zick.wei@quanta.corp-partner.google.com>2021-05-06 09:20:37 +0800
committerCommit Bot <commit-bot@chromium.org>2021-05-11 04:01:38 +0000
commitcf32e8b61c6dccc5025c6e6e27724f0320de7588 (patch)
treed3db9568c667c50cd85ef57ba5e6c19e921d6701 /board/haboki/ec.tasklist
parent42e4c39d0ad06057c8789e8f8000b8538aae51e7 (diff)
downloadchrome-ec-cf32e8b61c6dccc5025c6e6e27724f0320de7588.tar.gz
haboki: initial board
This CL initial board for haboki which is a IT8320 variant of keeby, and include below change: 1. Copied from drawcia and update baseboard to keeby. 2. Removed board_pulse_entering_rw() and set EC_ENTERING_RW to GPC7. BUG=b:187094464, b:187126367 BRANCH=None TEST=make BOARD=haboki Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com> Change-Id: Ie11776b88e38a2b7af0f844ad2ed1b810b2c0a74 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2875007 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/haboki/ec.tasklist')
-rw-r--r--board/haboki/ec.tasklist24
1 files changed, 24 insertions, 0 deletions
diff --git a/board/haboki/ec.tasklist b/board/haboki/ec.tasklist
new file mode 100644
index 0000000000..5c9a2d1a01
--- /dev/null
+++ b/board/haboki/ec.tasklist
@@ -0,0 +1,24 @@
+/* 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, TRENTA_TASK_STACK_SIZE) \
+ TASK_NOTEST(CHIPSET, chipset_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(HOSTCMD, host_command_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(CONSOLE, console_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(POWERBTN, power_button_task, NULL, ULTRA_TASK_STACK_SIZE) \
+ TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, ULTRA_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_C1, pd_interrupt_handler_task, 1, ULTRA_TASK_STACK_SIZE)