
From: Mirza Krak mirza.krak@gmail.com
Recently the default UART clock rate has been changed to 48 MHz on all pi`s in the firmware files, which broke UART support in u-boot.
Align configuration to boot firmware.
Signed-off-by: Mirza Krak mirza.krak@gmail.com ---
It was changed here https://github.com/raspberrypi/firmware/commit/d0bc6ce8e2ae7850959fed4edb069....
See also https://github.com/raspberrypi/linux/issues/1732.
board/raspberrypi/rpi/rpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 1d3a4e0..a8996d7 100644 --- a/board/raspberrypi/rpi/rpi.c +++ b/board/raspberrypi/rpi/rpi.c @@ -37,7 +37,7 @@ static const struct pl01x_serial_platdata serial_platdata = { .base = 0x20201000, #endif .type = TYPE_PL011, - .clock = 3000000, + .clock = 48000000, };
U_BOOT_DEVICE(bcm2835_serials) = { -- 2.1.4