summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tms320dm320/uart-dm320.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tms320dm320/uart-dm320.c')
-rw-r--r--firmware/target/arm/tms320dm320/uart-dm320.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/tms320dm320/uart-dm320.c b/firmware/target/arm/tms320dm320/uart-dm320.c
index 6f83b7c3b7..55515aa406 100644
--- a/firmware/target/arm/tms320dm320/uart-dm320.c
+++ b/firmware/target/arm/tms320dm320/uart-dm320.c
@@ -47,6 +47,9 @@ void uart_init(void)
/* 28: output, non-inverted, no-irq, falling edge, no-chat, UART TX */
dm320_set_io(28, false, false, false, false, false, 0x01);
+ /* Enable UART clock */
+ IO_CLK_MOD2 |= CLK_MOD2_UART1;
+
// 8-N-1
IO_UART1_MSR = 0xC400;
IO_UART1_BRSR = 0x0057;