diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-05-25 11:35:21 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-01 23:47:04 +0000 |
commit | 2b56419578e9780b99a9bb371d665958a7edca65 (patch) | |
tree | 6abc7f9a962f404d368ebd3985b07ce3085e4c55 /board/glados_pd/ec.tasklist | |
parent | f58eff670034fe460c6082f964598ef47ffddde2 (diff) | |
download | chrome-ec-2b56419578e9780b99a9bb371d665958a7edca65.tar.gz |
glados_pd: add initial support for glados PD
Initial support for glados PD. Charging and PD
communication only work on port 0.
BUG=none
BRANCH=none
TEST=make BOARD=glados, make BOARD=glados_pd
Connect hoho to glados and verify power contract successful.
Connect zinger to glados and verify power contract and
charging.
Change-Id: I42e7b8d154a79de2f8502648d9af7d4cfc00a266
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/273138
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/glados_pd/ec.tasklist')
-rw-r--r-- | board/glados_pd/ec.tasklist | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/board/glados_pd/ec.tasklist b/board/glados_pd/ec.tasklist new file mode 100644 index 0000000000..c001ade46f --- /dev/null +++ b/board/glados_pd/ec.tasklist @@ -0,0 +1,23 @@ +/* Copyright 2015 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, LARGER_TASK_STACK_SIZE) \ + TASK_NOTEST(HOSTCMD, host_command_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(PD, pd_task, NULL, LARGER_TASK_STACK_SIZE) |