u-boot-brain/drivers/serial
TsiChung Liew 81cc32322a ColdFire: Fix UART baudrate formula
The formula "counter = (u32) (gd->bus_clk / gd->baudrate) / 32"
can generate the wrong divisor due to integer division truncation.
Round the calculated divisor value by adding 1/2 the baudrate
before dividing by the baudrate.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
2008-07-11 10:45:56 -06:00
..
atmel_usart.c drivers/serial : move serial drivers to drivers/serial 2007-11-25 23:24:16 +01:00
atmel_usart.h drivers/serial : move serial drivers to drivers/serial 2007-11-25 23:24:16 +01:00
Makefile Big white-space cleanup. 2008-05-21 00:14:08 +02:00
mcfuart.c ColdFire: Fix UART baudrate formula 2008-07-11 10:45:56 -06:00
ns9750_serial.c drivers/serial : move serial drivers to drivers/serial 2007-11-25 23:24:16 +01:00
ns16550.c OMAP5912: fix FIFO handling in UART driver 2008-02-05 00:04:15 +01:00
s3c4510b_uart.c drivers/serial : move serial drivers to drivers/serial 2007-11-25 23:24:16 +01:00
s3c4510b_uart.h drivers/serial : move serial drivers to drivers/serial 2007-11-25 23:24:16 +01:00
serial_max3100.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
serial_pl010.c serial_pl010.c: add watchdog support 2008-06-29 19:53:30 +02:00
serial_pl011.c Move PL01* serial drivers to drivers/serial and adjust Makefiles. 2007-10-23 10:22:16 +01:00
serial_pl011.h Move PL01* serial drivers to drivers/serial and adjust Makefiles. 2007-10-23 10:22:16 +01:00
serial_sh.c sh: SH7763 SCIF support 2008-06-09 14:20:55 +09:00
serial_xuartlite.c drivers/serial : move serial drivers to drivers/serial 2007-11-25 23:24:16 +01:00
serial.c Round the serial port clock divisor value returned by calc_divisor() 2008-07-10 00:48:31 +02:00
usbtty.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
usbtty.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00