mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
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>
This commit is contained in:
parent
52affe04fa
commit
fa9da59621
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue