mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* S3C24XX: Fix wrong RTS behaviour
@ 2011-11-26 18:32 Juergen Beisert
  0 siblings, 0 replies; only message in thread
From: Juergen Beisert @ 2011-11-26 18:32 UTC (permalink / raw)
  To: barebox

Enabling AUTOSYNC means enabling the auto sync feature, not rising the RTS

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>

---
 drivers/serial/serial_s3c24x0.c |    2 ++
 1 file changed, 2 insertions(+)

Index: barebox-git/drivers/serial/serial_s3c24x0.c
===================================================================
--- barebox-git.orig/drivers/serial/serial_s3c24x0.c
+++ barebox-git/drivers/serial/serial_s3c24x0.c
@@ -72,6 +72,8 @@ static int s3c24x0_serial_init_port(stru
 	writew(0x0245, base + UCON);
 
 #ifdef CONFIG_DRIVER_SERIAL_S3C24X0_AUTOSYNC
+	writeb(0x10, base + UMCON); /* enable auto flow control */
+#else
 	writeb(0x01, base + UMCON); /* RTS up */
 #endif
 
-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-26 18:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-26 18:32 S3C24XX: Fix wrong RTS behaviour Juergen Beisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox