summaryrefslogtreecommitdiff
path: root/chip/it83xx/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/it83xx/uart.c')
-rw-r--r--chip/it83xx/uart.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/it83xx/uart.c b/chip/it83xx/uart.c
index 550672804a..a396e76316 100644
--- a/chip/it83xx/uart.c
+++ b/chip/it83xx/uart.c
@@ -180,6 +180,9 @@ static void host_uart_config(void)
void uart_init(void)
{
+ /* reset uart before config it */
+ IT83XX_GCTRL_RSTC4 |= (1 << 1);
+
/* Waiting for when we can use the GPIO module to set pin muxing */
gpio_config_module(MODULE_UART, 1);