summaryrefslogtreecommitdiffstats
path: root/cpu/ixp/serial.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-23 14:40:34 +0100
committerWolfgang Denk <wd@denx.de>2008-01-23 14:40:34 +0100
commit060193e4c373e08fa7fecacbd678c4e1e90e50c7 (patch)
tree27ac365ab636c36e897b652c13572d701764534d /cpu/ixp/serial.c
parentf10d7b94548a788a40b08a50dcdc3209427fec38 (diff)
parent40dcd6aa75ef95b490f342695f970910b82e392e (diff)
downloadu-boot-060193e4c373e08fa7fecacbd678c4e1e90e50c7.tar.gz
u-boot-060193e4c373e08fa7fecacbd678c4e1e90e50c7.tar.xz
u-boot-060193e4c373e08fa7fecacbd678c4e1e90e50c7.zip
Merge ../custodians
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 cf520b699e..45496318a8 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;
}