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

[Xen-changelog] [xen-unstable] pl011: set baud and clock_hz to the right defaults for Versatile Express


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Fri, 16 Nov 2012 03:33:10 +0000
  • Delivery-date: Fri, 16 Nov 2012 03:34:14 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
# Date 1352975127 0
# Node ID 999fae11df23f6304025c2adf17d46c1d9842976
# Parent  2312d29744e35bf8693456d1ab27cf1e4117b827
pl011: set baud and clock_hz to the right defaults for Versatile Express

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Acked-by: Tim Deegan <tim@xxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r 2312d29744e3 -r 999fae11df23 xen/drivers/char/pl011.c
--- a/xen/drivers/char/pl011.c  Thu Nov 15 10:25:26 2012 +0000
+++ b/xen/drivers/char/pl011.c  Thu Nov 15 10:25:27 2012 +0000
@@ -241,8 +241,8 @@ void __init pl011_init(int index, unsign
 
     uart = &pl011_com[index];
 
-    uart->clock_hz  = 7372800;
-    uart->baud      = 115200;
+    uart->clock_hz  = 0x16e3600;
+    uart->baud      = 38400;
     uart->data_bits = 8;
     uart->parity    = PARITY_NONE;
     uart->stop_bits = 1;

_______________________________________________
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®.