From: Daniel Hobi <dhobi@gmx.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] drivers/serial.c: Correct divisor calculation
Date: Wed, 13 Dec 2006 14:21:40 +0100 [thread overview]
Message-ID: <457FFE64.8000902@gmx.net> (raw)
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
reply other threads:[~2006-12-13 13:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=457FFE64.8000902@gmx.net \
--to=dhobi@gmx.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox