mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-15 06:55:17 -04:00
serial_pl011: Set RTS during initialization
If the pl011 is connected to another device which has hardware flow-control on, characters are never received by the pl011. Asserting RTS when flow-control is off will have no effect. This is in line with how Linux behaves. Signed-off-by: Joshua Housh <joshua.housh@calxeda.com> Tested-by: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
fcdde04c20
commit
10501df05e
@ -163,8 +163,8 @@ static int pl01x_serial_init(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
/* Finally, enable the UART */
|
/* Finally, enable the UART */
|
||||||
writel(UART_PL011_CR_UARTEN | UART_PL011_CR_TXE | UART_PL011_CR_RXE,
|
writel(UART_PL011_CR_UARTEN | UART_PL011_CR_TXE | UART_PL011_CR_RXE |
|
||||||
®s->pl011_cr);
|
UART_PL011_CR_RTS, ®s->pl011_cr);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user