summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/daisy/board.c32
-rw-r--r--board/discovery/board.c32
2 files changed, 0 insertions, 64 deletions
diff --git a/board/daisy/board.c b/board/daisy/board.c
index c967cae6f1..fdda1f0f1f 100644
--- a/board/daisy/board.c
+++ b/board/daisy/board.c
@@ -42,35 +42,3 @@ void configure_board(void)
/* Select Alternate function for USART1 on pins PA9/PA10 */
gpio_set_alternate_function(GPIO_A, (1<<9) | (1<<10), GPIO_ALT_USART);
}
-
-/**
- * Stubs for non implemented drivers
- * TODO: implement
- */
-int jtag_pre_init(void)
-{
- /* stop TIM2, TIM3 and watchdogs when the JTAG stops the CPU */
- STM32L_DBGMCU_APB1FZ |= 0x00001803;
-
- return EC_SUCCESS;
-}
-
-int eeprom_init(void)
-{
- return EC_SUCCESS;
-}
-
-int i2c_init(void)
-{
- return EC_SUCCESS;
-}
-
-int power_button_init(void)
-{
- return EC_SUCCESS;
-}
-
-int adc_init(void)
-{
- return EC_SUCCESS;
-}
diff --git a/board/discovery/board.c b/board/discovery/board.c
index b43e761fc7..0669bc1187 100644
--- a/board/discovery/board.c
+++ b/board/discovery/board.c
@@ -34,35 +34,3 @@ void configure_board(void)
gpio_set_alternate_function(GPIO_B, (1<<10) | (1<<11), GPIO_ALT_USART);
#endif
}
-
-/**
- * Stubs for non implemented drivers
- * TODO: implement
- */
-int jtag_pre_init(void)
-{
- /* stop TIM2, TIM3 and watchdogs when the JTAG stops the CPU */
- STM32L_DBGMCU_APB1FZ |= 0x00001803;
-
- return EC_SUCCESS;
-}
-
-int eeprom_init(void)
-{
- return EC_SUCCESS;
-}
-
-int i2c_init(void)
-{
- return EC_SUCCESS;
-}
-
-int power_button_init(void)
-{
- return EC_SUCCESS;
-}
-
-int adc_init(void)
-{
- return EC_SUCCESS;
-}