summaryrefslogtreecommitdiff
path: root/target/linux/ramips
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 /target/linux/ramips
parent9ef47853643cd78f497d58bb6b6f758d2008e081 (diff)
downloadmtk-20170518-1844ea6c7b5f8ef8892d825637d7eddf25391c55.zip
mtk-20170518-1844ea6c7b5f8ef8892d825637d7eddf25391c55.tar.gz
mtk-20170518-1844ea6c7b5f8ef8892d825637d7eddf25391c55.tar.bz2
ramips: UPF_FIXED_TYPE must be set for the serial ports
SVN-Revision: 26327
Diffstat (limited to 'target/linux/ramips')
-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 877d0b7..e8126b1 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;