u-boot-brain/drivers
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
..
bios_emulator Big white-space cleanup. 2008-05-21 00:14:08 +02:00
block silence misc printf formatting compiler warnings 2008-07-10 22:12:09 +02:00
dma Big white-space cleanup. 2008-05-21 00:14:08 +02:00
hwmon DTT: Issue one-shot command on AD7414 (LM75 code) to read temp 2008-06-03 21:00:00 +02:00
i2c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
input TQM8548: Basic support for the TQM8548 modules 2008-06-11 00:01:43 -05:00
misc FSL LAW: Add new interface to use the last free LAW 2008-06-11 01:53:09 -05:00
mmc mmc: Move atmel_mci driver into drivers/mmc 2008-07-10 00:05:52 +02:00
mtd MTD/NAND: Fix printf format warning in nand code 2008-07-10 10:46:13 +02:00
net Fix some more print() format errors. 2008-07-11 01:16:00 +02:00
pci pci: Move PCI device configuration check into a separate weak function 2008-07-10 10:10:32 +02:00
pcmcia pcmcia/ti_pci1410a: Move compile condition to the Makefile 2008-06-26 17:04:25 +02:00
qe Big white-space cleanup. 2008-05-21 00:14:08 +02:00
rtc silence misc printf formatting compiler warnings 2008-07-10 22:12:09 +02:00
serial ColdFire: Fix UART baudrate formula 2008-07-11 10:45:56 -06:00
spi Move conditional compilation of MPC8XXX SPI driver to Makefile 2008-07-01 21:02:11 +02:00
usb fix USB devices with multiple configurations 2008-07-10 11:51:52 +02:00
video Merging Stelian Pop AT91 patches 2008-05-24 12:56:53 +02:00