PL011: don't force baud rate of 38400 bps
authorAndre Przywara <andre.przywara@linaro.org>
Tue, 13 Aug 2013 15:12:52 +0000 (17:12 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 20 Aug 2013 14:20:39 +0000 (15:20 +0100)
commitdb58a28b9b41722aee7c812d6621360c88317049
tree781df9a5b8db6f3608d27bf93ea32e1443b3c339
parentc8ed9db1fa7100b296c017b24369cc5d94e5c16f
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@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/drivers/char/pl011.c