diff options
author | Devin Lu <devin.lu@quantatw.com> | 2019-08-26 18:26:18 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-27 03:57:31 +0000 |
commit | a10d1ab30031acf9e5b1c7919de4fc79d20ce206 (patch) | |
tree | d11580a51b553d6c19fff3441efc275cf74fd59f /board/dratini/ec.tasklist | |
parent | 7dd8209cf1f7bbda4a6b05206c0f08ab48677441 (diff) | |
download | chrome-ec-a10d1ab30031acf9e5b1c7919de4fc79d20ce206.tar.gz |
dratini: initial EC image
Copy hatch for dratini EC image. Below CLs will come after this CL merged.
1. Battery configration.
2. Implement leds.
3. Fix accel direction.
BUG=none
BRANCH=none
TEST=make BOARD=dratini
Change-Id: Ia0fa6de06c36550c8a296657df7bd04f38e4726d
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1770333
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'board/dratini/ec.tasklist')
-rw-r--r-- | board/dratini/ec.tasklist | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/board/dratini/ec.tasklist b/board/dratini/ec.tasklist new file mode 100644 index 0000000000..bf5a7a436a --- /dev/null +++ b/board/dratini/ec.tasklist @@ -0,0 +1,27 @@ +/* Copyright 2019 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, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(USB_CHG_P0, usb_charger_task, 0, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(USB_CHG_P1, usb_charger_task, 1, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(CHARGER, charger_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \ + TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \ + TASK_NOTEST(PDCMD, pd_command_task, NULL, 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, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(PD_C1, pd_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(PD_INT_C0, pd_interrupt_handler_task, 0, TASK_STACK_SIZE) \ + TASK_ALWAYS(PD_INT_C1, pd_interrupt_handler_task, 1, TASK_STACK_SIZE) + |