]> git.sur5r.net Git - u-boot/commit
serial: pl01x: Add support for devices with the rate pre-configured.
authorEric Anholt <eric@anholt.net>
Mon, 14 Mar 2016 01:16:54 +0000 (18:16 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 22 Mar 2016 16:16:12 +0000 (12:16 -0400)
commitcd0fa5bff8052b19bde6967c2734f323c9848568
tree0f2cdabdb2f04b4e28de7b0d5c5c391887a9442d
parent9a6598daaf0d0681bd423196364b2e4e3959ebbc
serial: pl01x: Add support for devices with the rate pre-configured.

For Raspberry Pi, we had the input clock rate to the pl011 fixed in
the rpi.c file, but it may be changed by firmware due to user changes
to config.txt.  Since the firmware always sets up the uart (default
115200 output unless the user changes it), we can just skip our own
uart init to simplify the boot process and more reliably get serial
output.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Tom Rini <trini@konsulko.com>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
board/raspberrypi/rpi/rpi.c
drivers/serial/serial_pl01x.c
include/dm/platform_data/serial_pl01x.h