Commit a4a06a18 authored by Pali Rohár's avatar Pali Rohár Committed by Stefan Roese
Browse files

arm: mvebu: a38x: Fix 5200000 baudrate

Fix baudrate value 5150000 which was added in commit ead4864f

 ("arm:
mvebu: a38x: Define supported UART baudrates").

Exact value for divisor 3 with 250 MHz TCLK is 5208333 baudrate. In above
commit I incorrectly rounded it to 5150000 value due to testing with
USB-UART hw which incorrectly reported exact value and divisor configured
on other other end of UART link.

Fix this value to 520000 baudrate which is more close to the exact hardware
value and also has less fraction parts.
Signed-off-by: default avatarPali Rohár <pali@kernel.org>
Fixes: ead4864f

 ("arm: mvebu: a38x: Define supported UART baudrates")
Reviewed-by: Stefan Roese's avatarStefan Roese <sr@denx.de>
parent 5a8bd463
......@@ -45,7 +45,7 @@
230400, 460800, 500000, 576000, \
921600, 1000000, 1152000, 1500000, \
2000000, 2500000, 3125000, 4000000, \
5150000 }
5200000 }
#endif
/* auto boot */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment