summaryrefslogtreecommitdiff
path: root/cpu/ixp/serial.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-23 14:39:26 +0100
committerWolfgang Denk <wd@denx.de>2008-01-23 14:39:26 +0100
commit40dcd6aa75ef95b490f342695f970910b82e392e (patch)
treec262385e57aa5ae54f4fc41023c5d22c2571e64f /cpu/ixp/serial.c
parentf58934551e052db5a1f33f53dcc9cbf6fcb72910 (diff)
parent799891ef7b1b3432032ec23466df6b665a797fa4 (diff)
downloadu-boot-imx-40dcd6aa75ef95b490f342695f970910b82e392e.zip
u-boot-imx-40dcd6aa75ef95b490f342695f970910b82e392e.tar.gz
u-boot-imx-40dcd6aa75ef95b490f342695f970910b82e392e.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-ixp
Diffstat (limited to 'cpu/ixp/serial.c')
-rw-r--r--cpu/ixp/serial.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpu/ixp/serial.c b/cpu/ixp/serial.c
index cf520b6..4549631 100644
--- a/cpu/ixp/serial.c
+++ b/cpu/ixp/serial.c
@@ -58,7 +58,11 @@ void serial_setbrg (void)
DLL(uart) = quot & 0xff;
DLH(uart) = quot >> 8;
LCR(uart) = LCR_WLS0 | LCR_WLS1;
-
+#ifdef CONFIG_SERIAL_RTS_ACTIVE
+ MCR(uart) = MCR_RTS; /* set RTS active */
+#else
+ MCR(uart) = 0; /* set RTS inactive */
+#endif
IER(uart) = IER_UUE;
}