]> rtime.felk.cvut.cz Git - rtems-devel.git/blob - rtems-patches/current/0001-rtems-m9328-pimx1-baud-19200.patch
OMK template example applications print APP_VER_ID instead of common SW_VER_ID.
[rtems-devel.git] / rtems-patches / current / 0001-rtems-m9328-pimx1-baud-19200.patch
1 From fa0cd7f188055c9ee2daac4f933cfa023e369dea Mon Sep 17 00:00:00 2001
2 Message-Id: <fa0cd7f188055c9ee2daac4f933cfa023e369dea.1460800109.git.ppisa@pikron.com>
3 From: ppisa <ppisa@pikron.com>
4 Date: Sun, 9 Nov 2008 10:50:43 +0100
5 Subject: [PATCH 1/4] rtems-m9328-pimx1-baud-19200
6 To: rtems-devel@rtems.org
7
8 ---
9  c/src/lib/libbsp/arm/csb336/console/uart.c | 2 +-
10  cpukit/libcsupport/src/termios.c           | 2 +-
11  2 files changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/c/src/lib/libbsp/arm/csb336/console/uart.c b/c/src/lib/libbsp/arm/csb336/console/uart.c
14 index 9ac0b7a..47914aa 100644
15 --- a/c/src/lib/libbsp/arm/csb336/console/uart.c
16 +++ b/c/src/lib/libbsp/arm/csb336/console/uart.c
17 @@ -212,7 +212,7 @@ static void imx_uart_init(int minor)
18          MC9328MXL_UART_FCR_RFDIV_1 |
19          MC9328MXL_UART_FCR_RXTL(1));
20  
21 -    imx_uart_set_baud(minor, 38400);
22 +    imx_uart_set_baud(minor, 19200);
23  
24  }
25  
26 diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c
27 index d12f9c4..90d911e 100644
28 --- a/cpukit/libcsupport/src/termios.c
29 +++ b/cpukit/libcsupport/src/termios.c
30 @@ -568,7 +568,7 @@ rtems_termios_open_tty(
31       */
32      tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;
33      tty->termios.c_oflag = OPOST | ONLCR | XTABS;
34 -    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;
35 +    tty->termios.c_cflag = B19200 | CS8 | CREAD | CLOCAL;
36      tty->termios.c_lflag =
37         ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
38  
39 -- 
40 1.9.1
41