summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Zou <zoutao@huaqin.corp-partner.google.com>2019-03-18 13:46:19 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-03-21 08:07:31 -0700
commita4c7cc8ab45d47fff3ab4c45d6a93ea449208e4d (patch)
tree7678fd4eace61efdc650f55997467afe13d8c8f4
parent2a6a9ca09a8d8766b24cd1ba3bc54f2ddc7deaae (diff)
downloadchrome-ec-a4c7cc8ab45d47fff3ab4c45d6a93ea449208e4d.tar.gz
flapjack: Fork ec.tasklist from kukui
fork ec.tasklist from kukui to add wireless charger task. BRANCH=none BUG=none TEST=BOOTBLOCK=... make BOARD=flapjack -j flash_ec; and see AP boots. Change-Id: I1d3c82245f94b7cdc1c16fcb753c21325a905fe4 Reviewed-on: https://chromium-review.googlesource.com/1527908 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Tony Zou <zoutao@huaqin.corp-partner.google.com> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r--[l---------]board/flapjack/ec.tasklist32
1 files changed, 31 insertions, 1 deletions
diff --git a/board/flapjack/ec.tasklist b/board/flapjack/ec.tasklist
index 3bfd8d3fe9..c750b22904 120000..100644
--- a/board/flapjack/ec.tasklist
+++ b/board/flapjack/ec.tasklist
@@ -1 +1,31 @@
-../kukui/ec.tasklist \ No newline at end of file
+/* Copyright 2018 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.
+ */
+
+/**
+ * List of enabled tasks in the priority order
+ *
+ * The first one has the lowest priority.
+ *
+ * For each task, use the macro TASK_ALWAYS(n, r, d, s) for base tasks and
+ * TASK_NOTEST(n, r, d, s) for tasks that can be excluded in test binaries,
+ * where :
+ * 'n' is the name of the task
+ * 'r' is the main routine of the task
+ * 'd' is an opaque parameter passed to the routine at startup
+ * 's' is the stack size in bytes; must be a multiple of 8
+ */
+#define CONFIG_TASK_LIST \
+ TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(CHARGER, charger_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(USB_CHG, usb_charger_task, NULL, TASK_STACK_SIZE) \
+ TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS_RW(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_NOTEST(PDCMD, pd_command_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(HOSTCMD, host_command_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD_C0, pd_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD_INT_C0, pd_interrupt_handler_task, 0, TASK_STACK_SIZE) \
+ TASK_ALWAYS_RO(EMMC, emmc_task, NULL, LARGER_TASK_STACK_SIZE)
+