[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/7] pl011: set baud and clock_hz to the right defaults for Versatile Express
Can we get these (or at least the clock_hz) from DTB? On Wed, 2012-10-24 at 16:03 +0100, Stefano Stabellini wrote: > Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> > --- > xen/drivers/char/pl011.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/xen/drivers/char/pl011.c b/xen/drivers/char/pl011.c > index 6af45aa..6ccb73a 100644 > --- a/xen/drivers/char/pl011.c > +++ b/xen/drivers/char/pl011.c > @@ -241,8 +241,8 @@ void __init pl011_init(int index, unsigned long > register_base_address) > > 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-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |