mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
9a6598daaf
commit
cd0fa5bff8
3 changed files with 12 additions and 3 deletions
|
@ -37,7 +37,7 @@ static const struct pl01x_serial_platdata serial_platdata = {
|
|||
.base = 0x20201000,
|
||||
#endif
|
||||
.type = TYPE_PL011,
|
||||
.clock = 3000000,
|
||||
.skip_init = true,
|
||||
};
|
||||
|
||||
U_BOOT_DEVICE(bcm2835_serials) = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue