[PATCH 4/7] bsp/imx: Use muxed mode for serials.

Christian Mauderer christian.mauderer at embedded-brains.de
Mon Feb 10 09:35:14 UTC 2020


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 04bec993ae..caebc6bc39 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);
-- 
2.16.4



More information about the devel mailing list