kernel: backport support for w25q64 flash chips - fixes flash detection on new Ubiqui...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 10 Apr 2011 18:57:58 +0000 (18:57 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 10 Apr 2011 18:57:58 +0000 (18:57 +0000)
SVN-Revision: 26581

target/linux/ar71xx/patches-2.6.32/102-mtd_m25p80_add_myloader_parser.patch
target/linux/ar71xx/patches-2.6.32/104-mtd_m25p80_add_redboot_parser.patch
target/linux/ar71xx/patches-2.6.32/109-mtd-wrt160nl-trx-parser.patch
target/linux/generic-2.6/patches-2.6.32/091-mtd-m25p80-add-w25q64-chip-support.patch [new file with mode: 0644]

index 6783f6b2ba4a74e4c42ef6c2b3f026c9e2022a30..3c733be03a421d4b1a3faf8e6118a05acee417b2 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/devices/m25p80.c
 +++ b/drivers/mtd/devices/m25p80.c
-@@ -868,6 +868,16 @@ static int __devinit m25p_probe(struct s
+@@ -869,6 +869,16 @@ static int __devinit m25p_probe(struct s
                                        part_probes, &parts, 0);
                }
  
index 94e1389f5df59cd661973443d4e3bd43c49a6aca..05ecd4c584a7b0d1c7a6a51c12d9615bb034a205 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/devices/m25p80.c
 +++ b/drivers/mtd/devices/m25p80.c
-@@ -878,6 +878,15 @@ static int __devinit m25p_probe(struct s
+@@ -879,6 +879,15 @@ static int __devinit m25p_probe(struct s
                }
  #endif
  
index 79162fa55fa8c8ce57742ff4e30624f4f39cc183..339999b24d9662334552f849f36d422f7df0b196 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/devices/m25p80.c
 +++ b/drivers/mtd/devices/m25p80.c
-@@ -887,6 +887,16 @@ static int __devinit m25p_probe(struct s
+@@ -888,6 +888,16 @@ static int __devinit m25p_probe(struct s
                                        part_probes, &parts, 0);
                }
  #endif
diff --git a/target/linux/generic-2.6/patches-2.6.32/091-mtd-m25p80-add-w25q64-chip-support.patch b/target/linux/generic-2.6/patches-2.6.32/091-mtd-m25p80-add-w25q64-chip-support.patch
new file mode 100644 (file)
index 0000000..9c3d0fb
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/drivers/mtd/devices/m25p80.c
++++ b/drivers/mtd/devices/m25p80.c
+@@ -690,6 +690,7 @@ static struct flash_info __devinitdata m
+       { "w25x32", 0xef3016, 0, 64 * 1024, 64, SECT_4K, },
+       { "w25q32", 0xef4016, 0, 64 * 1024, 64, SECT_4K, },
+       { "w25x64", 0xef3017, 0, 64 * 1024, 128, SECT_4K, },
++      { "w25q64", 0xef4017, 0, 64 * 1024, 128, SECT_4K, },
+ };
+ static struct flash_info *__devinit jedec_probe(struct spi_device *spi)