aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-3.10/016-amba-pl011-fifosize.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-07-09 20:52:49 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-07-09 20:52:49 +0000
commitdd45e57a2b62cbf6ea41c903493b973435a04f47 (patch)
treeb7296bcc9207f6e92850040a4bde69a980199010 /target/linux/brcm2708/patches-3.10/016-amba-pl011-fifosize.patch
parent00308615363453564c3728bd68145be0549a1ea7 (diff)
downloadmaster-187ad058-dd45e57a2b62cbf6ea41c903493b973435a04f47.tar.gz
master-187ad058-dd45e57a2b62cbf6ea41c903493b973435a04f47.tar.bz2
master-187ad058-dd45e57a2b62cbf6ea41c903493b973435a04f47.zip
brcm2708: add support for 3.10 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37218 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0000000000..c994f912aa
--- /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;
+ }
+