diff options
Diffstat (limited to 'recipes-kernel/linux/linux-3.0.6/acp3448v2/0008-change-serial-baudrate_to_115200.patch')
-rw-r--r-- | recipes-kernel/linux/linux-3.0.6/acp3448v2/0008-change-serial-baudrate_to_115200.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-3.0.6/acp3448v2/0008-change-serial-baudrate_to_115200.patch b/recipes-kernel/linux/linux-3.0.6/acp3448v2/0008-change-serial-baudrate_to_115200.patch new file mode 100644 index 0000000..a86e8f7 --- /dev/null +++ b/recipes-kernel/linux/linux-3.0.6/acp3448v2/0008-change-serial-baudrate_to_115200.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From 1e0026b4c525131d4fc41cc14f2655a50fc82955 Mon Sep 17 00:00:00 2001 | ||
2 | From: jack zhang <jack.zhang@enea.com> | ||
3 | Date: Mon, 7 May 2012 08:46:12 +0200 | ||
4 | Subject: [PATCH 2/2] LXCR-472 change the serial port baud rate to be the same | ||
5 | as u-boot Signed-off-by: jack zhang | ||
6 | <jack.zhang@enea.com> | ||
7 | |||
8 | --- | ||
9 | drivers/lsi/acp/serial.c | 6 +++--- | ||
10 | 1 files changed, 3 insertions(+), 3 deletions(-) | ||
11 | |||
12 | diff --git a/drivers/lsi/acp/serial.c b/drivers/lsi/acp/serial.c | ||
13 | index a3da27e..8e4c228 100644 | ||
14 | --- a/drivers/lsi/acp/serial.c | ||
15 | +++ b/drivers/lsi/acp/serial.c | ||
16 | @@ -755,7 +755,7 @@ acp_serial_set_termios(struct uart_port *port, struct ktermios *termios, | ||
17 | */ | ||
18 | |||
19 | /*baud = termios->c_ospeed;*/ | ||
20 | - baud = 9600; | ||
21 | + baud = 115200; | ||
22 | get_clock_stuff(port, baud); | ||
23 | |||
24 | switch (termios->c_cflag & CSIZE) { | ||
25 | @@ -1006,7 +1006,7 @@ acp_console_get_options(struct uart_acp_port *uap, int *baud, | ||
26 | int __init acp_console_setup(struct console *co, char *options) | ||
27 | { | ||
28 | struct uart_acp_port *uap; | ||
29 | - int baud = 9600; | ||
30 | + int baud = 115200; | ||
31 | int bits = 8; | ||
32 | int parity = 'n'; | ||
33 | int flow = 'n'; | ||
34 | @@ -1195,7 +1195,7 @@ acp_serial_add_ports(struct uart_driver *driver) | ||
35 | baud_rate = *speed; | ||
36 | else { | ||
37 | printk(KERN_ERR "current speed not found\n"); | ||
38 | - baud_rate = 9600; | ||
39 | + baud_rate = 115200; | ||
40 | } | ||
41 | } else { | ||
42 | ret = -ENOMEM; | ||
43 | -- | ||
44 | 1.7.5.4 | ||
45 | |||