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 /board/snow/board.h | |
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 'board/snow/board.h')
-rw-r--r-- | board/snow/board.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/board/snow/board.h b/board/snow/board.h index f7f3683322..448b3bb17b 100644 --- a/board/snow/board.h +++ b/board/snow/board.h @@ -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,17 +14,16 @@ /* Use USART1 as console serial port */ #define CONFIG_CONSOLE_UART 1 -/* use I2C for host communication */ -#define CONFIG_I2C - -#define CONFIG_CONFIGURE_BOARD_LATE -#define CONFIG_HOST_COMMAND_STATUS - /* Debug features */ #define CONFIG_PANIC_HELP #define CONFIG_ASSERT_HELP #define CONFIG_CONSOLE_CMDHELP +/* Optional features */ +#define CONFIG_CHIPSET_GAIA +#define CONFIG_CONFIGURE_BOARD_LATE +#define CONFIG_HOST_COMMAND_STATUS +#define CONFIG_I2C #undef CONFIG_TASK_PROFILING #define CONFIG_WATCHDOG_HELP |