From: TsiChung Liew Date: Wed, 10 Mar 2010 01:24:43 +0000 (-0600) Subject: ColdFire: Update uart_port_conf in serial driver X-Git-Tag: v2010.06-rc1~139^2~7^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fa9da596212d7f28eb26a3257d79d9515f9838cd;p=u-boot ColdFire: Update uart_port_conf in serial driver Provide proper port passing from serial_init to uart_part_conf. Signed-off-by: TsiChung Liew --- diff --git a/drivers/serial/mcfuart.c b/drivers/serial/mcfuart.c index 0b531402e4..d93b24b897 100644 --- a/drivers/serial/mcfuart.c +++ b/drivers/serial/mcfuart.c @@ -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;