Files
u-boot/drivers
Kunihiko Hayashi c6bceb4e36 serial: zynq: Use DIV_ROUND_CLOSEST() to calcurate divider value
Since the calulation of "bgen" is rounded down, using a higher
baudrate will result in a larger difference from the actual
baudrate. Should use DIV_ROUND_CLOSEST() like the Linux driver.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/1657676339-6055-1-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
2022-07-26 08:23:55 +02:00
..
2022-04-25 09:25:00 +02:00
2022-06-24 14:16:00 +02:00
2022-07-11 14:58:57 -04:00
2022-07-22 13:29:06 +02:00
2022-07-11 14:58:57 -04:00
2022-05-03 21:39:22 +02:00
2022-07-11 14:58:57 -04:00