mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/1] amba: pl011: set RTS during initialization
@ 2013-02-13 15:24 Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; only message in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2013-02-13 15:24 UTC (permalink / raw)
  To: barebox; +Cc: Rob Herring

From: Rob Herring <rob.herring@calxeda.com>

RTS is an output. Either flow control is used and you care about the state or
it is not used and you don't care. So setting it to active does no harm in
either case. This is inline with what Linux does.

Mandatory for Highbank as example

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 drivers/serial/amba-pl011.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/serial/amba-pl011.c b/drivers/serial/amba-pl011.c
index 58c69e5..0e07588 100644
--- a/drivers/serial/amba-pl011.c
+++ b/drivers/serial/amba-pl011.c
@@ -175,7 +175,7 @@ int pl011_init_port (struct console_device *cdev)
 	/*
 	 ** Finally, enable the UART
 	 */
-	writel((UART01x_CR_UARTEN | UART011_CR_TXE | UART011_CR_RXE),
+	writel((UART01x_CR_UARTEN | UART011_CR_TXE | UART011_CR_RXE | UART011_CR_RTS),
 	       uart->base + UART011_CR);
 
 	return 0;
-- 
1.7.10.4


_______________________________________________
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:[~2013-02-13 15:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-13 15:24 [PATCH 1/1] amba: pl011: set RTS during initialization Jean-Christophe PLAGNIOL-VILLARD

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