]> Pileus Git - ~andy/linux/commitdiff
mtd: add m25p80 id for mx25l2005a
authorJohn Crispin <blogic@openwrt.org>
Mon, 30 Apr 2012 17:30:45 +0000 (19:30 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 04:15:57 +0000 (23:15 -0500)
Add the id and sector mappings for mx25l2005a flash chips.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/m25p80.c

index 85ce6fdc9e5d71b68a5784147e4a5f7d306ac1c4..eb1cc9797dabda028a8d0cc325b2e27999c25b76 100644 (file)
@@ -648,6 +648,7 @@ static const struct spi_device_id m25p_ids[] = {
        { "640s33b",  INFO(0x898913, 0, 64 * 1024, 128, 0) },
 
        /* Macronix */
+       { "mx25l2005a",  INFO(0xc22012, 0, 64 * 1024,   4, SECT_4K) },
        { "mx25l4005a",  INFO(0xc22013, 0, 64 * 1024,   8, SECT_4K) },
        { "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) },
        { "mx25l1606e",  INFO(0xc22015, 0, 64 * 1024,  32, SECT_4K) },