public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] drivers/serial.c: Correct divisor calculation
@ 2006-12-13 13:21 Daniel Hobi
  0 siblings, 0 replies; only message in thread
From: Daniel Hobi @ 2006-12-13 13:21 UTC (permalink / raw)
  To: u-boot

Hi,

This patch fixes the UART divisor calculation in the generic serial 
driver by doing a division with correct rounding.

Note: There are quite a few board-specific serial drivers which 
calculate the UART divisor without correct rounding. These need to be 
fixed too.

Note: The patch to drivers/serial_pl010.c proposed by Robert Deli?n on 
5. Dec 2006 has the same problem (macro UART_PL010_BAUD2DIVISOR).

Regards,
Daniel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: drivers-serial.c-Correct-divisor-calculation.patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20061213/763a0cdc/attachment.txt 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-13 13:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 13:21 [U-Boot-Users] [PATCH] drivers/serial.c: Correct divisor calculation Daniel Hobi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox