summaryrefslogtreecommitdiff
path: root/chip/stm32/jtag-stm32l15x.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/jtag-stm32l15x.c')
-rw-r--r--chip/stm32/jtag-stm32l15x.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/chip/stm32/jtag-stm32l15x.c b/chip/stm32/jtag-stm32l15x.c
index 7b65400b1c..71e5f711e2 100644
--- a/chip/stm32/jtag-stm32l15x.c
+++ b/chip/stm32/jtag-stm32l15x.c
@@ -7,10 +7,8 @@
#include "jtag.h"
#include "registers.h"
-int jtag_pre_init(void)
+void jtag_pre_init(void)
{
/* stop TIM2-4 and watchdogs when the JTAG stops the CPU */
STM32_DBGMCU_APB1FZ |= 0x00001807;
-
- return EC_SUCCESS;
}