diff options
author | Dolan <liuyong5@huaqin.corp-partner.google.com> | 2021-02-25 09:37:52 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-01 18:49:36 +0000 |
commit | 520d35947127e916321cbd346ffdfd2e5e761221 (patch) | |
tree | 2b468f4822943c9333ca82248d02265f75157caf /board/homestar/ec.tasklist | |
parent | 8103488dd890056fc5b6ee6f86050e42c1a0cdc4 (diff) | |
download | chrome-ec-520d35947127e916321cbd346ffdfd2e5e761221.tar.gz |
homestar : Add Initial Support
create initial ec code for homestar, copied by reference
board strongbad/coachz ec files to a new directory renamed
for variant.
BUG=b:181198678
TEST=make -j BOARD=homestar
Verify build and powered on coachz board
BRANCH=Trogdor
Change-Id: I6129d19039fe629b27f149046d6047705e2481f5
Signed-off-by: Dolan <liuyong5@huaqin.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2717431
Tested-by: Simon Zhou <zhouguohui@huaqin.corp-partner.google.com>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'board/homestar/ec.tasklist')
-rw-r--r-- | board/homestar/ec.tasklist | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/board/homestar/ec.tasklist b/board/homestar/ec.tasklist new file mode 100644 index 0000000000..ea2aaa97f5 --- /dev/null +++ b/board/homestar/ec.tasklist @@ -0,0 +1,22 @@ +/* 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_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) |