summaryrefslogtreecommitdiffstats
path: root/include/serial
diff options
context:
space:
mode:
Diffstat (limited to 'include/serial')
-rw-r--r--include/serial/imx-uart.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/serial/imx-uart.h b/include/serial/imx-uart.h
index b40044e..9cab32f 100644
--- a/include/serial/imx-uart.h
+++ b/include/serial/imx-uart.h
@@ -175,6 +175,11 @@ static inline void imx6_uart_setup(void __iomem *uartbase)
imx_uart_setup(uartbase, 80000000);
}
+static inline void imx7_uart_setup(void __iomem *uartbase)
+{
+ imx_uart_setup(uartbase, 24000000);
+}
+
static inline void imx_uart_putc(void *base, int c)
{
if (!(readl(base + UCR1) & UCR1_UARTEN))