mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:25:21 +02:00
kernel: backport support for w25q64 flash chips - fixes flash detection on new Ubiquiti M hardware
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26581 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
25aaa4633c
commit
cb11bee0cf
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/mtd/devices/m25p80.c
|
--- a/drivers/mtd/devices/m25p80.c
|
||||||
+++ b/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);
|
part_probes, &parts, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/mtd/devices/m25p80.c
|
--- a/drivers/mtd/devices/m25p80.c
|
||||||
+++ b/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
|
#endif
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/mtd/devices/m25p80.c
|
--- a/drivers/mtd/devices/m25p80.c
|
||||||
+++ b/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);
|
part_probes, &parts, 0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -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)
|
Loading…
Reference in New Issue
Block a user