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