diff options
author | Alexander Kurz <akurz@blala.de> | 2016-09-09 17:43:43 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-09-12 08:23:09 +0200 |
commit | f6ebdf21946de82b73fb35308e9f9003a14bc100 (patch) | |
tree | 8286e0234be486fbec0a689a184dbaf9c198a8a1 /include | |
parent | 25be41232b4fe4a05d063e04e1668e7c43a4a9fd (diff) | |
download | barebox-f6ebdf21946de82b73fb35308e9f9003a14bc100.tar.gz barebox-f6ebdf21946de82b73fb35308e9f9003a14bc100.tar.xz |
Add i.MX50 support
Signed-off-by: Alexander Kurz <akurz@blala.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/serial/imx-uart.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/serial/imx-uart.h b/include/serial/imx-uart.h index 29b117c51f..901b26add6 100644 --- a/include/serial/imx-uart.h +++ b/include/serial/imx-uart.h @@ -146,6 +146,11 @@ static inline void imx_uart_setup(void __iomem *uartbase, writel(UCR1_UARTEN, uartbase + UCR1); } +static inline void imx50_uart_setup(void __iomem *uartbase) +{ + imx_uart_setup(uartbase, 66666666); +} + static inline void imx51_uart_setup(void __iomem *uartbase) { imx_uart_setup(uartbase, 54000000); |