summaryrefslogtreecommitdiff
path: root/board/cr50/ec.tasklist
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2014-10-07 13:18:19 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-10-31 22:32:50 +0000
commit86c7e2e90a7fd86b5f5b9e422fdbe968d30670da (patch)
tree366820de9e95fec03b142651dc3961ee9482f430 /board/cr50/ec.tasklist
parent327bfe2e587b0e2e127ac9659bec6f7bb7a310ed (diff)
downloadchrome-ec-86c7e2e90a7fd86b5f5b9e422fdbe968d30670da.tar.gz
Add initial support for cr50 SoC
The serial console works. Nothing else is implemented yet. BUG=none BRANCH=ToT TEST=make buildall -j To build, make BOARD=cr50 hex Testing the result requires a development board. I have one. It works with HW revision m3.dist_20140918_094011 Change-Id: I718d93572d315d13e96ef6f296c3c2796e928e66 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/226268 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/cr50/ec.tasklist')
-rw-r--r--board/cr50/ec.tasklist21
1 files changed, 21 insertions, 0 deletions
diff --git a/board/cr50/ec.tasklist b/board/cr50/ec.tasklist
new file mode 100644
index 0000000000..8ff4e8234b
--- /dev/null
+++ b/board/cr50/ec.tasklist
@@ -0,0 +1,21 @@
+/* Copyright (c) 2014 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' in the name of the task
+ * 'r' in the main routine of the task
+ * 'd' in 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, TASK_STACK_SIZE) \
+ TASK_ALWAYS(CONSOLE, console_task, NULL, TASK_STACK_SIZE)