diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-04-05 10:28:41 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-08 10:00:35 -0700 |
commit | fcb1e1c8197949ab5d0ada5f103fa1af268aefbe (patch) | |
tree | 5a16addad9548508f2bc656816bbc7b07ad6ced8 /include/power_led.h | |
parent | f273ae717361c89b941e532b456cdc7a222b1201 (diff) | |
download | chrome-ec-fcb1e1c8197949ab5d0ada5f103fa1af268aefbe.tar.gz |
Move power LED GPIO code from snow board.c into power_led.c
And remove the daisy power button LED task for now. Since daisy
didn't have a board.c implementation (or a power button LED), its
power LED task did nothing.
BUG=chrome-os-partner:18343
BRANCH=none
TEST=build daisy, snow, spring
Change-Id: I1eb3d0bd038d88685e7caad087eb1a1d1495ef9a
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/47442
Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'include/power_led.h')
-rw-r--r-- | include/power_led.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/power_led.h b/include/power_led.h index 20b3f7793f..12ab532bef 100644 --- a/include/power_led.h +++ b/include/power_led.h @@ -3,15 +3,13 @@ * found in the LICENSE file. */ -/* Power LED control for Chrome EC */ +/* Power button LED control for Chrome EC */ #ifndef __CROS_EC_POWER_LED_H #define __CROS_EC_POWER_LED_H #include "common.h" -/* Interface for STM32-based boards */ - enum powerled_state { POWERLED_STATE_OFF, POWERLED_STATE_ON, @@ -19,12 +17,6 @@ enum powerled_state { POWERLED_STATE_COUNT }; -enum powerled_config { - POWERLED_CONFIG_MANUAL_OFF, - POWERLED_CONFIG_MANUAL_ON, - POWERLED_CONFIG_PWM, -}; - #ifdef CONFIG_TASK_POWERLED /** |