diff options
author | Randall Spangler <rspangler@chromium.org> | 2015-06-09 11:15:06 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-06-10 18:24:05 +0000 |
commit | fe9e3bf56532b33a9d99b9372b53905dece5907b (patch) | |
tree | 6bffb4bdd8ad8bac679e44d021eaf21bcb557fbd /common/host_command.c | |
parent | 4e5b020ca917e99c1e68523e4c5aec518b7d9510 (diff) | |
download | chrome-ec-fe9e3bf56532b33a9d99b9372b53905dece5907b.tar.gz |
Remove obsolete board-specific code
Now that we've removed boards from ToT, also delete board-specific
code used only by the removed boards.
There are still more things to remove (unused charging chips, LED
drivers, COMx support). More CLs coming.
BUG=chromium:493866
BRANCH=none
TEST=make buildall -j
Change-Id: Ie6bdeaf96e61cadd77e3f6336c73b9b54ff4eabb
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/276524
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'common/host_command.c')
-rw-r--r-- | common/host_command.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/common/host_command.c b/common/host_command.c index 451bff74f3..da73d2dbd5 100644 --- a/common/host_command.c +++ b/common/host_command.c @@ -719,10 +719,8 @@ static int host_command_get_features(struct host_cmd_handler_args *args) #ifdef CONFIG_TEMP_SENSOR | EC_FEATURE_MASK_0(EC_FEATURE_THERMAL) #endif -/* Hack to uniquely identify Samus and Falco ec */ -#if (defined CONFIG_BACKLIGHT_LID) || \ - (defined CONFIG_BATTERY_SAMUS) || \ - (defined CONFIG_EXTPOWER_FALCO) +/* Hack to uniquely identify Samus ec */ +#if (defined CONFIG_BACKLIGHT_LID) || (defined CONFIG_BATTERY_SAMUS) | EC_FEATURE_MASK_0(EC_FEATURE_BKLIGHT_SWITCH) #endif #ifdef CONFIG_WIRELESS |