summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-08-05 16:53:18 -0700
committerChromeBot <chrome-bot@google.com>2013-08-05 20:52:45 -0700
commit91ce6a9e48b7dd51449d6548244965f0267c7a6f (patch)
tree8eedfba8c4549d47df5664a12d898a7d5b5b8729
parent39dc0c0329b4005d8b0c001b12234cca9d109134 (diff)
downloadchrome-ec-91ce6a9e48b7dd51449d6548244965f0267c7a6f.tar.gz
pit: Don't configure PB3 in alternate function mode
The power button LED is on PA2, not PB3. Remove a line of code accidentally left in from copy-paste at the start of pit bringup. BUG=chrome-os-partner:21676 BRANCH=pit TEST=boot pit Change-Id: Id991b16d69bca0a411efa72211c5dc407923240d Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/64714 Reviewed-by: Vic Yang <victoryang@chromium.org>
-rw-r--r--board/pit/board.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/pit/board.c b/board/pit/board.c
index 616716ae89..684e61b1dc 100644
--- a/board/pit/board.c
+++ b/board/pit/board.c
@@ -108,9 +108,6 @@ void board_config_post_gpio_init(void)
/* USART1 on pins PA9/PA10 */
gpio_set_alternate_function(GPIO_A, (1 << 9) | (1 << 10),
GPIO_ALT_USART);
-
- /* TIM2_CH2 on PB3 */
- gpio_set_alternate_function(GPIO_B, (1 << 3), GPIO_ALT_TIM2);
}
int pmu_board_init(void)