diff mbox

MTD: add en25q64 device id

Message ID 1345908500-21921-1-git-send-email-blogic@openwrt.org
State New, archived
Headers show

Commit Message

John Crispin Aug. 25, 2012, 3:28 p.m. UTC
Trivial patch to add device id and sector/size info for en25q64 spi flash.

Signed-off-by: John Crispin <blogic@openwrt.org>
---
 drivers/mtd/devices/m25p80.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Artem Bityutskiy Aug. 29, 2012, 7:57 a.m. UTC | #1
On Sat, 2012-08-25 at 17:28 +0200, John Crispin wrote:
> Trivial patch to add device id and sector/size info for en25q64 spi flash.
> 
> Signed-off-by: John Crispin <blogic@openwrt.org>

Pushed to l2-mtd.git, thanks!
diff mbox

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 5d0d68c..8260bb6 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -638,6 +638,7 @@  static const struct spi_device_id m25p_ids[] = {
 	{ "en25p32", INFO(0x1c2016, 0, 64 * 1024,  64, 0) },
 	{ "en25q32b", INFO(0x1c3016, 0, 64 * 1024,  64, 0) },
 	{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
+	{ "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, 0) },
 
 	/* Everspin */
 	{ "mr25h256", CAT25_INFO(  32 * 1024, 1, 256, 2) },