diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-03-18 15:43:05 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-03-19 10:31:12 -0700 |
commit | 9ddb7e07086bf7724ac234c1e7844f435abc811c (patch) | |
tree | 47275fcc6a8d55c2d5af29bb593c0fb5775fb8c5 /test/kb_debounce.tasklist | |
parent | 6c285c09941dfb1924b037476e823ecff20c897d (diff) | |
download | chrome-ec-9ddb7e07086bf7724ac234c1e7844f435abc811c.tar.gz |
Rename tasks to HOOKS and CHIPSET
Rename tasks
TICK -> HOOKS
The hooks task handles more than just the TICK hook now.
X86POWER -> CHIPSET
GAIAPOWER -> CHIPSET
Kinda kludgy that the name of the task controls which chipset source gets
included. Change this to a CONFIG_CHIPSET_{X86,GAIA} #define to make it
easier to support future chipsets. Also, rename the task function to
chipset_task() so ec.tasklist is chipset-agnostic.
No code changes, just renaming constants and functions.
BUG=none
BRANCH=none
TEST=build bds,link,daisy,snow,spring
Change-Id: I163ce1cd27b2d8d030d42bb1f7eb46b880c244fb
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/45805
Diffstat (limited to 'test/kb_debounce.tasklist')
-rw-r--r-- | test/kb_debounce.tasklist | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/kb_debounce.tasklist b/test/kb_debounce.tasklist index 1b1fa5a050..ca7499f9a5 100644 --- a/test/kb_debounce.tasklist +++ b/test/kb_debounce.tasklist @@ -1,4 +1,4 @@ -/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved. +/* Copyright (c) 2013 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. */ @@ -14,10 +14,10 @@ * 'd' in an opaque parameter passed to the routine at startup */ #define CONFIG_TASK_LIST \ - TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ + TASK(HOOKS, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ TASK(TYPEMATIC, keyboard_typematic_task, NULL, TASK_STACK_SIZE) \ - TASK(X86POWER, x86_power_task, NULL, TASK_STACK_SIZE) \ + TASK(CHIPSET, chipset_task, NULL, TASK_STACK_SIZE) \ TASK(I8042CMD, i8042_command_task, NULL, TASK_STACK_SIZE) \ TASK(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE) \ TASK(SWITCH, switch_task, NULL, TASK_STACK_SIZE) \ |