]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: serial_sifive: Fix baud rate calculation
authorAtish Patra <atish.patra@wdc.com>
Mon, 25 Feb 2019 08:15:02 +0000 (08:15 +0000)
committerAndes <uboot@andestech.com>
Wed, 27 Feb 2019 01:12:33 +0000 (09:12 +0800)
commita3682008a03c0d4a58bcf62ca1e4a37187c9a8df
treeb640f60a2ae5a37e643cdf8ea9f6b31db86df1fb
parentb630d57d0ab45639eea02f2671c2aa0d023c89ac
drivers: serial_sifive: Fix baud rate calculation

Compute the baud rate multipler with more precision.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
drivers/serial/serial_sifive.c