diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-08-07 15:28:47 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-08-08 13:51:31 -0700 |
commit | 01630180bb331be647f4062ff02280bd476a9b4d (patch) | |
tree | 923cd39a3d478ae02d6c39fb847a7d8961d2c988 /board/puppy | |
parent | ef8637938e2e971ebdc80d8bb16ddddec983624c (diff) | |
download | chrome-ec-01630180bb331be647f4062ff02280bd476a9b4d.tar.gz |
Put knowledge of task-config dependency in config.h
Rather than have every board check for tasks before declaring their
config macros, have config.h know what configs are invalid without
their corresponding tasks.
BUG=chrome-os-partner:18343
BRANCH=none
TEST=build all platforms and pass unit tests
Change-Id: Iecf6eb44782e15565eaaf6d69c6288ee8d2e4c4c
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/65010
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'board/puppy')
-rw-r--r-- | board/puppy/board.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/board/puppy/board.h b/board/puppy/board.h index 8a17472d8c..d6f6de4480 100644 --- a/board/puppy/board.h +++ b/board/puppy/board.h @@ -11,12 +11,8 @@ /* Optional features */ #define CONFIG_BATTERY_BQ20Z453 #define CONFIG_BATTERY_SMART -#ifdef HAS_TASK_CHARGER #define CONFIG_CHARGER_TPS65090 -#endif -#ifdef HAS_TASK_CHIPSET #define CONFIG_CHIPSET_GAIA -#endif #define CONFIG_CMD_PMU #define CONFIG_EXTPOWER_GPIO #define CONFIG_HOST_COMMAND_STATUS |