summaryrefslogtreecommitdiffstats
path: root/drivers/serial/serial_imx.c
diff options
context:
space:
mode:
authorIvo Clarysse <ivo.clarysse@gmail.com>2009-04-07 08:55:04 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-04-07 08:55:04 +0200
commitfcfbd10d3c09082275debdda9c9622e7f776791d (patch)
tree8616cb9827f05b634c3af5ffdd47bba57d27103d /drivers/serial/serial_imx.c
parent7703263340ad97879e63d1a969aa6cb72d8ac834 (diff)
downloadbarebox-fcfbd10d3c09082275debdda9c9622e7f776791d.tar.gz
Add Freescale i.MX21 support
Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/serial/serial_imx.c')
-rw-r--r--drivers/serial/serial_imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_imx.c b/drivers/serial/serial_imx.c
index 35f1870..94ca027 100644
--- a/drivers/serial/serial_imx.c
+++ b/drivers/serial/serial_imx.c
@@ -153,7 +153,7 @@
# define UCR3_VAL 0
# define UCR4_VAL (UCR4_CTSTL_32 | UCR4_REF16)
#endif
-#ifdef CONFIG_ARCH_IMX27
+#if defined CONFIG_ARCH_IMX21 || defined CONFIG_ARCH_IMX27
# define UCR1_VAL (UCR1_UARTCLKEN)
# define UCR3_VAL (0x700 | UCR3_RXDMUXSEL)
# define UCR4_VAL UCR4_CTSTL_32