summaryrefslogtreecommitdiff
path: root/target/linux/brcm2708/patches-3.10/016-amba-pl011-fifosize.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-3.10/016-amba-pl011-fifosize.patch')
-rw-r--r--target/linux/brcm2708/patches-3.10/016-amba-pl011-fifosize.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-3.10/016-amba-pl011-fifosize.patch b/target/linux/brcm2708/patches-3.10/016-amba-pl011-fifosize.patch
new file mode 100644
index 0000000..c994f91
--- /dev/null
+++ b/target/linux/brcm2708/patches-3.10/016-amba-pl011-fifosize.patch
@@ -0,0 +1,12 @@
+diff -urN linux-3.10/drivers/tty/serial/amba-pl011.c linux-rpi-3.10.y/drivers/tty/serial/amba-pl011.c
+--- linux-3.10/drivers/tty/serial/amba-pl011.c 2013-06-30 23:13:29.000000000 +0100
++++ linux-rpi-3.10.y/drivers/tty/serial/amba-pl011.c 2013-07-06 15:25:50.000000000 +0100
+@@ -84,7 +84,7 @@
+
+ static unsigned int get_fifosize_arm(unsigned int periphid)
+ {
+- unsigned int rev = (periphid >> 20) & 0xf;
++ unsigned int rev = 0; //(periphid >> 20) & 0xf;
+ return rev < 3 ? 16 : 32;
+ }
+