03648f6409558e3000bfb63b76b6d3f0d9c1b142
[rtems-devel.git] / rtems-patches / rtems-m9328-pimx1-baud-19200.patch
1 Index: rtems-051009/c/src/lib/libbsp/arm/csb336/console/uart.c
2 ===================================================================
3 --- rtems.orig/c/src/lib/libbsp/arm/csb336/console/uart.c
4 +++ rtems/c/src/lib/libbsp/arm/csb336/console/uart.c
5 @@ -237,7 +237,7 @@ static void imx_uart_init(int minor)
6          MC9328MXL_UART_FCR_RFDIV_1 |
7          MC9328MXL_UART_FCR_RXTL(1));
8  
9 -    imx_uart_set_baud(minor, 38400);
10 +    imx_uart_set_baud(minor, 19200);
11  
12  }
13  
14 Index: rtems-051009/cpukit/libcsupport/src/termios.c
15 ===================================================================
16 --- rtems.orig/cpukit/libcsupport/src/termios.c
17 +++ rtems/cpukit/libcsupport/src/termios.c
18 @@ -271,7 +271,7 @@ rtems_termios_open (
19                  */
20                 tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;
21                 tty->termios.c_oflag = OPOST | ONLCR | XTABS;
22 -               tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;
23 +               tty->termios.c_cflag = B19200 | CS8 | CREAD | CLOCAL;
24                 tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
25  
26                 tty->termios.c_cc[VINTR] = '\003';