summaryrefslogtreecommitdiff
path: root/drivers/serial/mcfuart.c
Commit message (Collapse)AuthorAgeLines
* Coldfire: Applied baudrate formula of serial_init to serial_setbrgRichard Retanubun2009-02-06-2/+3
| | | | | | | Applied the patch for baudrate divider value truncation for serial_init to serial_setbrg as well. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-18-5/+5
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix merge problemsStefan Roese2008-08-06-3/+0
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* 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>