|
@@ -1068,8 +1068,9 @@ static int s3c64xx_serial_startup(struct uart_port *port)
|
|
spin_lock_irqsave(&port->lock, flags);
|
|
spin_lock_irqsave(&port->lock, flags);
|
|
|
|
|
|
ufcon = rd_regl(port, S3C2410_UFCON);
|
|
ufcon = rd_regl(port, S3C2410_UFCON);
|
|
- ufcon |= S3C2410_UFCON_RESETRX | S3C2410_UFCON_RESETTX |
|
|
|
|
- S5PV210_UFCON_RXTRIG8;
|
|
|
|
|
|
+ ufcon |= S3C2410_UFCON_RESETRX | S5PV210_UFCON_RXTRIG8;
|
|
|
|
+ if (!uart_console(port))
|
|
|
|
+ ufcon |= S3C2410_UFCON_RESETTX;
|
|
wr_regl(port, S3C2410_UFCON, ufcon);
|
|
wr_regl(port, S3C2410_UFCON, ufcon);
|
|
|
|
|
|
enable_rx_pio(ourport);
|
|
enable_rx_pio(ourport);
|