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 /chip/stm32/power_led.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 'chip/stm32/power_led.c')
-rw-r--r-- | chip/stm32/power_led.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chip/stm32/power_led.c b/chip/stm32/power_led.c index 3c391dab86..03a7f33a82 100644 --- a/chip/stm32/power_led.c +++ b/chip/stm32/power_led.c @@ -64,12 +64,7 @@ static void power_led_manual_off(void) * configure it as an open-drain output and set it to high impedence, * but reconfiguring as an input had better results in testing. */ -#ifdef BOARD_SNOW - gpio_set_flags(GPIO_LED_POWER_L, GPIO_INPUT); - gpio_set_level(GPIO_LED_POWER_L, 1); -#else gpio_config_module(MODULE_POWER_LED, 0); -#endif } /** |