aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-03-27 19:20:03 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-03-27 19:20:03 +0000
commit1844ea6c7b5f8ef8892d825637d7eddf25391c55 (patch)
tree77f816a15b5f98a3adba48d3220060e00f4cac32
parent9ef47853643cd78f497d58bb6b6f758d2008e081 (diff)
downloadupstream-1844ea6c7b5f8ef8892d825637d7eddf25391c55.tar.gz
upstream-1844ea6c7b5f8ef8892d825637d7eddf25391c55.tar.bz2
upstream-1844ea6c7b5f8ef8892d825637d7eddf25391c55.zip
ramips: UPF_FIXED_TYPE must be set for the serial ports
SVN-Revision: 26327
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/common/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/common/setup.c b/target/linux/ramips/files/arch/mips/ralink/common/setup.c
index 877d0b7def..e8126b11c8 100644
--- a/target/linux/ramips/files/arch/mips/ralink/common/setup.c
+++ b/target/linux/ramips/files/arch/mips/ralink/common/setup.c
@@ -49,7 +49,7 @@ void __init ramips_early_serial_setup(int line, unsigned base, unsigned freq,
int err;
memset(&p, 0, sizeof(p));
- p.flags = UPF_SKIP_TEST;
+ p.flags = UPF_SKIP_TEST | UPF_FIXED_TYPE;
p.iotype = UPIO_AU;
p.uartclk = freq;
p.regshift = 2;