aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.10/0250-nand-7620.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-12-01 09:59:53 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-12-01 09:59:53 +0000
commitf1ef0b92bef17f09fe61e1d2e8275d5fdb4c9cc8 (patch)
tree29e748c94381371d6ec2f7dd4cfcc030e1c698ba /target/linux/ramips/patches-3.10/0250-nand-7620.patch
parentf51d78f4f2e91658985288b95f572da9b7a021ae (diff)
downloadupstream-f1ef0b92bef17f09fe61e1d2e8275d5fdb4c9cc8.tar.gz
upstream-f1ef0b92bef17f09fe61e1d2e8275d5fdb4c9cc8.tar.bz2
upstream-f1ef0b92bef17f09fe61e1d2e8275d5fdb4c9cc8.zip
kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38972
Diffstat (limited to 'target/linux/ramips/patches-3.10/0250-nand-7620.patch')
-rw-r--r--target/linux/ramips/patches-3.10/0250-nand-7620.patch28
1 files changed, 10 insertions, 18 deletions
diff --git a/target/linux/ramips/patches-3.10/0250-nand-7620.patch b/target/linux/ramips/patches-3.10/0250-nand-7620.patch
index c9a845d44d..248e82c29e 100644
--- a/target/linux/ramips/patches-3.10/0250-nand-7620.patch
+++ b/target/linux/ramips/patches-3.10/0250-nand-7620.patch
@@ -14,11 +14,9 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
create mode 100644 drivers/mtd/maps/ralink_nand.c
create mode 100644 drivers/mtd/maps/ralink_nand.h
-Index: linux-3.10.18/drivers/mtd/maps/Kconfig
-===================================================================
---- linux-3.10.18.orig/drivers/mtd/maps/Kconfig 2013-11-17 17:50:02.049020043 +0100
-+++ linux-3.10.18/drivers/mtd/maps/Kconfig 2013-11-17 17:51:50.545024547 +0100
-@@ -424,4 +424,8 @@
+--- a/drivers/mtd/maps/Kconfig
++++ b/drivers/mtd/maps/Kconfig
+@@ -424,4 +424,8 @@ config MTD_LATCH_ADDR
If compiled as a module, it will be called latch-addr-flash.
@@ -27,20 +25,16 @@ Index: linux-3.10.18/drivers/mtd/maps/Kconfig
+ depends on RALINK && SOC_MT7620
+
endmenu
-Index: linux-3.10.18/drivers/mtd/maps/Makefile
-===================================================================
---- linux-3.10.18.orig/drivers/mtd/maps/Makefile 2013-11-17 17:50:02.049020043 +0100
-+++ linux-3.10.18/drivers/mtd/maps/Makefile 2013-11-17 17:51:50.545024547 +0100
-@@ -46,3 +46,5 @@
+--- a/drivers/mtd/maps/Makefile
++++ b/drivers/mtd/maps/Makefile
+@@ -46,3 +46,5 @@ obj-$(CONFIG_MTD_VMU) += vmu-flash.o
obj-$(CONFIG_MTD_GPIO_ADDR) += gpio-addr-flash.o
obj-$(CONFIG_MTD_LATCH_ADDR) += latch-addr-flash.o
obj-$(CONFIG_MTD_LANTIQ) += lantiq-flash.o
+obj-$(CONFIG_MTD_NAND_MT7620) += ralink_nand.o
+
-Index: linux-3.10.18/drivers/mtd/maps/ralink_nand.c
-===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.10.18/drivers/mtd/maps/ralink_nand.c 2013-11-17 17:51:50.549024547 +0100
+--- /dev/null
++++ b/drivers/mtd/maps/ralink_nand.c
@@ -0,0 +1,2136 @@
+#define DEBUG
+#include <linux/device.h>
@@ -2178,10 +2172,8 @@ Index: linux-3.10.18/drivers/mtd/maps/ralink_nand.c
+
+
+MODULE_LICENSE("GPL");
-Index: linux-3.10.18/drivers/mtd/maps/ralink_nand.h
-===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.10.18/drivers/mtd/maps/ralink_nand.h 2013-11-17 17:51:50.549024547 +0100
+--- /dev/null
++++ b/drivers/mtd/maps/ralink_nand.h
@@ -0,0 +1,232 @@
+#ifndef RT2880_NAND_H
+#define RT2880_NAND_H