summaryrefslogtreecommitdiff
path: root/board/herobrine_npcx9/ec.tasklist
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2021-06-28 11:32:21 -0700
committerCommit Bot <commit-bot@chromium.org>2021-07-14 18:12:40 +0000
commitcd360540f24d2e5eb51f7fafe92ffa6fe71b3811 (patch)
treea399d269756303fc5be42f68a4cecc8718603068 /board/herobrine_npcx9/ec.tasklist
parent07767ada20750b2b99c9d279581e8574e6f9c48a (diff)
downloadchrome-ec-cd360540f24d2e5eb51f7fafe92ffa6fe71b3811.tar.gz
herobrine_npcx9: Initial board commit for NPCX9 variant
This CL copies the herobrine_npcx7 board and changes the chip config to npcx9m3f. Remove the CONFIG_FLASH_SIZE_BYTES from the board level as it is moved to the chip level. BRANCH=None BUG=b:192253134 TEST=Built the herobrine_npcx9 image successfully. Change-Id: Ie970e1be9d863339869563031513af42c979aec5 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2993214 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/herobrine_npcx9/ec.tasklist')
-rw-r--r--board/herobrine_npcx9/ec.tasklist23
1 files changed, 23 insertions, 0 deletions
diff --git a/board/herobrine_npcx9/ec.tasklist b/board/herobrine_npcx9/ec.tasklist
new file mode 100644
index 0000000000..5beeb38feb
--- /dev/null
+++ b/board/herobrine_npcx9/ec.tasklist
@@ -0,0 +1,23 @@
+/* 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, ULTRA_TASK_STACK_SIZE) \
+ TASK_ALWAYS(USB_CHG_P0, usb_charger_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(USB_CHG_P1, usb_charger_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_NOTEST(CHIPSET, chipset_task, NULL, ULTRA_TASK_STACK_SIZE) \
+ TASK_ALWAYS(CHARGER, charger_task, NULL, ULTRA_TASK_STACK_SIZE) \
+ TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(HOSTCMD, host_command_task, NULL, ULTRA_TASK_STACK_SIZE) \
+ TASK_ALWAYS(CONSOLE, console_task, NULL, ULTRA_TASK_STACK_SIZE) \
+ TASK_NOTEST(KEYSCAN, keyboard_scan_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)