[rtems commit] bsp/imx: Use muxed mode for serials.
Christian Mauderer
christianm at rtems.org
Tue Feb 11 08:20:28 UTC 2020
Module: rtems
Branch: master
Commit: 9c7bffb5415313acb87224048c42bb18614bb532
Changeset: http://git.rtems.org/rtems/commit/?id=9c7bffb5415313acb87224048c42bb18614bb532
Author: Christian Mauderer <christian.mauderer at embedded-brains.de>
Date: Mon Feb 10 10:35:14 2020 +0100
bsp/imx: Use muxed mode for serials.
Update #3869.
---
bsps/arm/imx/console/console-config.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/bsps/arm/imx/console/console-config.c b/bsps/arm/imx/console/console-config.c
index 04bec99..caebc6b 100644
--- a/bsps/arm/imx/console/console-config.c
+++ b/bsps/arm/imx/console/console-config.c
@@ -253,6 +253,7 @@ static bool imx_uart_first_open(
regs->ucr1 = IMX_UART_UCR1_UARTEN;
regs->ucr2 = IMX_UART_UCR2_IRTS | IMX_UART_UCR2_WS | IMX_UART_UCR2_RXEN
| IMX_UART_UCR2_TXEN | IMX_UART_UCR2_SRST;
+ regs->ucr3 |= IMX_UART_UCR3_ADNIMP | IMX_UART_UCR3_RXDMUXSEL;
rtems_termios_set_initial_baud(tty, 115200);
imx_uart_set_attributes(base, term);
More information about the vc
mailing list