summaryrefslogtreecommitdiff
path: root/drivers/serial/mcfuart.c
AgeCommit message (Collapse)Author
2010-03-24ColdFire: Update uart_port_conf in serial driverTsiChung Liew
Provide proper port passing from serial_init to uart_part_conf. Signed-off-by: TsiChung Liew <[email protected]>
2009-02-06Coldfire: Applied baudrate formula of serial_init to serial_setbrgRichard Retanubun
Applied the patch for baudrate divider value truncation for serial_init to serial_setbrg as well. Signed-off-by: Richard Retanubun <[email protected]>
2008-10-18rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
2008-08-06Fix merge problemsStefan Roese
Signed-off-by: Stefan Roese <[email protected]>
2008-07-11ColdFire: Fix UART baudrate formulaTsiChung Liew
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 <[email protected]> Acked-by: Gerald Van Baren <[email protected]>
2007-08-19Fix some build errors.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]>
2007-08-08Added uart_gpio_conf() in serial_init(), seperated uart port configuration ↵TsiChungLiew
from cpu_init() to uart_gpio_conf() Signed-off-by: TsiChungLiew <[email protected]>
2007-08-08Renamed CONFIG_MCFSERIAL to CONFIG_MCFUARTTsiChungLiew
Signed-off-by: TsiChungLiew <[email protected]>
2007-07-10Rename mcfserial.c. Update include headerTsiChungLiew
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 <[email protected]>