diff options
author | Jaehoon Kim <jh228.kim@samsung.com> | 2014-01-13 19:34:44 +0900 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-01-14 00:13:43 +0000 |
commit | 7c02461c5e582ac5e7643f26401e5e1ffd5af55c (patch) | |
tree | e4dd044687fb0857cc94c76bff402211d5aeba76 /board/pit/board.c | |
parent | 68d005b104e447f647cecec634cea97cef1e6ede (diff) | |
download | chrome-ec-7c02461c5e582ac5e7643f26401e5e1ffd5af55c.tar.gz |
Pit: Remove pwm and power_led task
From DV2 board of pit, we'll use 3 color-LED instead of power LED on keyboard.
So, we have to remove pwm and power_led task from pit branch.
BUG=chrome-os-partner:24855
TEST=Tested on the pi and pit board about all power status.
BRANCH=pit
Change-Id: I875567d8f7d544cb5b9d6057b94c26d1989b0c67
Signed-off-by: Jaehoon Kim <jh228.kim@samsung.com>
Reviewed-on: https://chromium-review.googlesource.com/181607
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Tested-by: Randall Spangler <rspangler@chromium.org>
Commit-Queue: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/pit/board.c')
-rw-r--r-- | board/pit/board.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/board/pit/board.c b/board/pit/board.c index afd8112f94..8f5ed840e7 100644 --- a/board/pit/board.c +++ b/board/pit/board.c @@ -15,8 +15,6 @@ #include "lid_switch.h" #include "pmu_tpschrome.h" #include "power.h" -#include "pwm.h" -#include "pwm_chip.h" #include "registers.h" #include "spi.h" #include "timer.h" @@ -93,7 +91,6 @@ BUILD_ASSERT(ARRAY_SIZE(gpio_list) == GPIO_COUNT); /* Pins with alternate functions */ const struct gpio_alt_func gpio_alt_funcs[] = { - {GPIO_A, 0x0004, GPIO_ALT_TIM2, MODULE_POWER_LED}, {GPIO_A, 0x00f0, GPIO_ALT_SPI, MODULE_SPI}, {GPIO_A, 0x0600, GPIO_ALT_USART, MODULE_UART}, {GPIO_B, 0x0cc0, GPIO_ALT_I2C, MODULE_I2C}, @@ -134,13 +131,6 @@ struct keyboard_scan_config keyscan_config = { }, }; -/* PWM channels. Must be in the exactly same order as in enum pwm_channel. */ -const struct pwm_t pwm_channels[] = { - {STM32_TIM(2), STM32_TIM_CH(3), - PWM_CONFIG_ACTIVE_LOW, GPIO_LED_POWER_L}, -}; -BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT); - int pmu_board_init(void) { int ver, failure = 0; |