Blackfin: make baud calculation more accurate
authorMike Frysinger <vapier@gentoo.org>
Sun, 20 Apr 2008 07:11:53 +0000 (03:11 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 23 Oct 2008 09:03:51 +0000 (05:03 -0400)
commit25cd33d82ea521b7bd90ca858f8919fae1e9732b
treeb0143468ab8081f8a1c5ca8bfb4cdc077f20f395
parent0ba1da116e5edcb0c5ae4a7585d73f6548400a06
Blackfin: make baud calculation more accurate

We should use the algorithm in the Linux kernel so that the UART divisor
calculation is more accurate.  It also fixes problems on some picky UARTs
that have sampling anomalies.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cpu/blackfin/serial.h