summaryrefslogtreecommitdiff
path: root/board/bds
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-03-18 15:43:05 -0700
committerChromeBot <chrome-bot@google.com>2013-03-19 10:31:12 -0700
commit9ddb7e07086bf7724ac234c1e7844f435abc811c (patch)
tree47275fcc6a8d55c2d5af29bb593c0fb5775fb8c5 /board/bds
parent6c285c09941dfb1924b037476e823ecff20c897d (diff)
downloadchrome-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 'board/bds')
-rw-r--r--board/bds/ec.tasklist2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/bds/ec.tasklist b/board/bds/ec.tasklist
index b6ceedcfd5..d5f66a6570 100644
--- a/board/bds/ec.tasklist
+++ b/board/bds/ec.tasklist
@@ -15,6 +15,6 @@
* 's' is the stack size in bytes; must be a multiple of 8
*/
#define CONFIG_TASK_LIST \
- TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \
+ TASK(HOOKS, hook_task, NULL, TASK_STACK_SIZE) \
TASK(LIGHTBAR, lightbar_task, NULL, TASK_STACK_SIZE) \
TASK(CONSOLE, console_task, NULL, TASK_STACK_SIZE)