From 01630180bb331be647f4062ff02280bd476a9b4d Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Wed, 7 Aug 2013 15:28:47 -0700 Subject: 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 Reviewed-on: https://gerrit.chromium.org/gerrit/65010 Reviewed-by: Bill Richardson --- board/spring/board.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'board/spring') diff --git a/board/spring/board.h b/board/spring/board.h index 6fe6858908..2046ed9fd9 100644 --- a/board/spring/board.h +++ b/board/spring/board.h @@ -20,9 +20,7 @@ #define CONFIG_BATTERY_SMART #define CONFIG_BOARD_PRE_INIT #define CONFIG_CHARGER_TPS65090 -#ifdef HAS_TASK_CHIPSET #define CONFIG_CHIPSET_GAIA -#endif #define CONFIG_CMD_PMU #define CONFIG_CONSOLE_RESTRICTED_INPUT #define CONFIG_EXTPOWER_USB -- cgit v1.2.1