Skip to content
Snippets Groups Projects
Commit fa9da596 authored by TsiChung Liew's avatar TsiChung Liew
Browse files

ColdFire: Update uart_port_conf in serial driver


Provide proper port passing from serial_init to uart_part_conf.

Signed-off-by: default avatarTsiChung Liew <tsicliew@gmail.com>
parent 52affe04
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@
DECLARE_GLOBAL_DATA_PTR;
extern void uart_port_conf(void);
extern void uart_port_conf(int port);
int serial_init(void)
{
......@@ -43,7 +43,7 @@ int serial_init(void)
uart = (volatile uart_t *)(CONFIG_SYS_UART_BASE);
uart_port_conf();
uart_port_conf(CONFIG_SYS_UART_PORT);
/* write to SICR: SIM2 = uart mode,dcd does not affect rx */
uart->ucr = UART_UCR_RESET_RX;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment