summaryrefslogtreecommitdiff
path: root/chip/stm32/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/uart.c')
-rw-r--r--chip/stm32/uart.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/stm32/uart.c b/chip/stm32/uart.c
index e693d4ecaa..6221b62e9e 100644
--- a/chip/stm32/uart.c
+++ b/chip/stm32/uart.c
@@ -96,6 +96,9 @@ void uart_tx_dma_start(const char *src, int len)
/* Force clear TC so we don't re-interrupt */
STM32_USART_SR(UARTN) &= ~STM32_USART_SR_TC;
+ /* Enable TCIE (chrome-os-partner:28837) */
+ STM32_USART_CR1(UARTN) |= STM32_USART_CR1_TCIE;
+
/* Start DMA */
dma_go(dma_get_channel(dma_tx_option.channel));
}