projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52affe0
)
ColdFire: Update uart_port_conf in serial driver
author
TsiChung Liew
<tsicliew@gmail.com>
Wed, 10 Mar 2010 01:24:43 +0000
(19:24 -0600)
committer
TsiChung Liew
<tsicliew@gmail.com>
Wed, 24 Mar 2010 16:09:08 +0000
(11:09 -0500)
Provide proper port passing from serial_init to uart_part_conf.
Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
drivers/serial/mcfuart.c
patch
|
blob
|
history
diff --git
a/drivers/serial/mcfuart.c
b/drivers/serial/mcfuart.c
index 0b531402e4be44790f172fb1cf15c39e610a72e1..d93b24b8970677e7331eaa4ca86c851783602003 100644
(file)
--- 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;