diff options
author | TsiChung Liew <tsicliew@gmail.com> | 2010-03-09 19:24:43 -0600 |
---|---|---|
committer | TsiChung Liew <tsicliew@gmail.com> | 2010-03-24 11:09:08 -0500 |
commit | fa9da596212d7f28eb26a3257d79d9515f9838cd (patch) | |
tree | 21ec19cd1bf9dc4719b51acafb58e9bb38bbbe01 | |
parent | 52affe04fa5493597d8a5f6202507190950a32e6 (diff) | |
download | u-boot-imx-fa9da596212d7f28eb26a3257d79d9515f9838cd.zip u-boot-imx-fa9da596212d7f28eb26a3257d79d9515f9838cd.tar.gz u-boot-imx-fa9da596212d7f28eb26a3257d79d9515f9838cd.tar.bz2 |
ColdFire: Update uart_port_conf in serial driver
Provide proper port passing from serial_init to uart_part_conf.
Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
-rw-r--r-- | drivers/serial/mcfuart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/mcfuart.c b/drivers/serial/mcfuart.c index 0b53140..d93b24b 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; |