summaryrefslogtreecommitdiff
path: root/drivers/serial/mcfuart.c
Commit message (Collapse)AuthorAgeLines
* ColdFire: Fix UART baudrate formulaTsiChung Liew2008-07-11-2/+2
| | | | | | | | | | 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>
* Fix some build errors.Wolfgang Denk2007-08-19-1/+3
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Added uart_gpio_conf() in serial_init(), seperated uart port configuration ↵TsiChungLiew2007-08-08-0/+4
| | | | | | from cpu_init() to uart_gpio_conf() Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Renamed CONFIG_MCFSERIAL to CONFIG_MCFUARTTsiChungLiew2007-08-08-2/+2
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Rename mcfserial.c. Update include headerTsiChungLiew2007-07-10-0/+127
Renamed mcfserial.c to mcfuart.c. Modified Makefile for mcfuart.o from mcfserial.o. Replace immap_5329.h and m5329.h to immap.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>