diff options
author | David Wu <david_wu@quanta.corp-partner.google.com> | 2021-07-08 12:44:40 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-09 02:56:58 +0000 |
commit | de941c3ac9c049fea4fa199a95b39d0df20ce6c0 (patch) | |
tree | 84fbcab492854b00fe81b2ddb4eaa8ade8a6716e /board/kano/ec.tasklist | |
parent | 9cc0bbeaafabca2e8671c356587949dad594e67e (diff) | |
download | chrome-ec-de941c3ac9c049fea4fa199a95b39d0df20ce6c0.tar.gz |
kano: Initial EC image
Create the initial EC image for the kano variant by copying the brya
reference board EC files into a new directory named for the variant.
(Auto-Generated by create_initial_ec_image.sh version 1.5.0).
BUG=b:193052432
BRANCH=None
TEST=make BOARD=kano
Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com>
Change-Id: Icc2418fbc9ac568fd2aae640c3d379867be6254a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3012671
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'board/kano/ec.tasklist')
-rw-r--r-- | board/kano/ec.tasklist | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/board/kano/ec.tasklist b/board/kano/ec.tasklist new file mode 100644 index 0000000000..ef0aa84584 --- /dev/null +++ b/board/kano/ec.tasklist @@ -0,0 +1,31 @@ +/* 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. + * + * USB_CHG_Px tasks must be contiguous (see USB_CHG_PORT_TO_TASK_ID(x)). + * PD_Cx tasks must be contiguous (see PD_PORT_TO_TASK_ID(x)) + */ + +#define CONFIG_TASK_LIST \ + TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(CHG_RAMP, chg_ramp_task, NULL, TASK_STACK_SIZE) \ + TASK_ALWAYS(USB_CHG_P0, usb_charger_task, 0, TASK_STACK_SIZE) \ + TASK_ALWAYS(USB_CHG_P1, usb_charger_task, 0, TASK_STACK_SIZE) \ + TASK_ALWAYS(USB_CHG_P2, usb_charger_task, 0, TASK_STACK_SIZE) \ + TASK_ALWAYS(CHARGER, charger_task, NULL, VENTI_TASK_STACK_SIZE) \ + TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \ + TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \ + TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(HOSTCMD, host_command_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(CONSOLE, console_task, NULL, VENTI_TASK_STACK_SIZE) \ + TASK_ALWAYS(POWERBTN, power_button_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE) \ + TASK_ALWAYS(PD_C0, pd_task, NULL, VENTI_TASK_STACK_SIZE) \ + TASK_ALWAYS(PD_C1, pd_task, NULL, VENTI_TASK_STACK_SIZE) \ + TASK_ALWAYS(PD_C2, pd_task, NULL, VENTI_TASK_STACK_SIZE) \ + TASK_ALWAYS(PD_INT_C0, pd_shared_alert_task, (BIT(2) | BIT(0)), TASK_STACK_SIZE) \ + TASK_ALWAYS(PD_INT_C1, pd_interrupt_handler_task, 1, TASK_STACK_SIZE) |