summaryrefslogtreecommitdiff
path: root/board/pit/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/pit/board.c')
-rw-r--r--board/pit/board.c10
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;