All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Schwingen <michael@schwingen.org>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] PATCH: ixp42x UART: support 230400bps, enable RTS
Date: Thu, 10 Jan 2008 22:59:46 +0100	[thread overview]
Message-ID: <20080110215945.GA9180@discworld.dascon.de> (raw)
In-Reply-To: <20080110105603.GB18611@game.jcrosoft.org>

On Thu, Jan 10, 2008 at 11:56:03AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Hi Michael,
> 
> Could resend this patch?

Sure - this is from my local tree with the lastest changes from master
pulled in, although I don't see much differences - but maybe git does.

Signed-off-by: Michael Schwingen <michael@schwingen.org>

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;
 }
 

cu
Michael

  reply	other threads:[~2008-01-10 21:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-10 15:47 [U-Boot-Users] PATCH: ixp42x UART: support 230400bps, enable RTS Michael Schwingen
2007-12-08 15:32 ` Jean-Christophe PLAGNIOL-VILLARD
2007-12-08 15:35   ` [U-Boot-Users] [PATCH] IXP: Add full baud-rate support for ixp42x, ixp45x and ixp46x Jean-Christophe PLAGNIOL-VILLARD
2007-12-08 16:13     ` Stefan Roese
2007-12-08 16:58     ` Wolfgang Denk
2007-12-08 17:03       ` Jean-Christophe PLAGNIOL-VILLARD
2007-12-08 22:37   ` [U-Boot-Users] PATCH: ixp42x UART: support 230400bps, enable RTS Michael Schwingen
2007-12-09  8:40     ` Jean-Christophe PLAGNIOL-VILLARD
2007-12-09 15:58       ` Michael Schwingen
2007-12-09 17:00   ` Michael Schwingen
2008-01-10 10:56     ` Jean-Christophe PLAGNIOL-VILLARD
2008-01-10 21:59       ` Michael Schwingen [this message]
2008-01-11  0:25         ` Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080110215945.GA9180@discworld.dascon.de \
    --to=michael@schwingen.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.