diff options
author | Pali Rohár <pali@kernel.org> | 2021-09-02 13:00:51 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-09-10 10:01:51 +0300 |
commit | a4a06a180d622b86183b0825891d2bdd37f3b4db (patch) | |
tree | 25ad2fe6fa9464bf58bd6f769c13b9e7bf9bdedd /drivers | |
parent | 5a8bd463a6703e2fbb877e11873ae5622965f724 (diff) | |
download | u-boot-a4a06a180d622b86183b0825891d2bdd37f3b4db.tar.xz |
arm: mvebu: a38x: Fix 5200000 baudrate
Fix baudrate value 5150000 which was added in commit ead4864fa6cc ("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: Pali Rohár <pali@kernel.org>
Fixes: ead4864fa6cc ("arm: mvebu: a38x: Define supported UART baudrates")
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions