From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Schwingen Date: Thu, 10 Jan 2008 22:59:46 +0100 Subject: [U-Boot-Users] PATCH: ixp42x UART: support 230400bps, enable RTS In-Reply-To: <20080110105603.GB18611@game.jcrosoft.org> References: <20071110154737.GA11316@discworld.dascon.de> <20071208153245.GA5332@game.jcrosoft.org> <20071209170035.GA4164@discworld.dascon.de> <20080110105603.GB18611@game.jcrosoft.org> Message-ID: <20080110215945.GA9180@discworld.dascon.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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