From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Hobi Date: Wed, 13 Dec 2006 14:21:40 +0100 Subject: [U-Boot-Users] [PATCH] drivers/serial.c: Correct divisor calculation Message-ID: <457FFE64.8000902@gmx.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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