[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] PL011: don't force baud rate of 38400 bps



commit db58a28b9b41722aee7c812d6621360c88317049
Author:     Andre Przywara <andre.przywara@xxxxxxxxxx>
AuthorDate: Tue Aug 13 17:12:52 2013 +0200
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Tue Aug 20 15:20:39 2013 +0100

    PL011: don't force baud rate of 38400 bps
    
    The PL011 driver currently sets the baudrate to a hardcoded value of
    38400 bits/second. This will break Calxeda Midway, which uses 115200
    bps.
    Instead don't tinker with the baud rate register at all and rely on
    the firmware or bootloader setting the correct value in here.
    This works fine on Versatile Express and Calxeda Midway.
    
    Signed-off-by: Andre Przywara <andre.przywara@xxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 xen/drivers/char/pl011.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xen/drivers/char/pl011.c b/xen/drivers/char/pl011.c
index 05d034f..3747c16 100644
--- a/xen/drivers/char/pl011.c
+++ b/xen/drivers/char/pl011.c
@@ -229,7 +229,7 @@ static int __init pl011_uart_init(struct dt_device_node 
*dev,
     uart = &pl011_com;
 
     uart->clock_hz  = 0x16e3600;
-    uart->baud      = 38400;
+    uart->baud      = BAUD_AUTO;
     uart->data_bits = 8;
     uart->parity    = PARITY_NONE;
     uart->stop_bits = 1;
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.