| Submitter | Michal Simek |
|---|---|
| Date | Oct. 4, 2012, 5:40 p.m. |
| Message ID | <1349372416-16925-1-git-send-email-monstr@monstr.eu> |
| Download | mbox | patch |
| Permalink | /patch/189218/ |
| State | New |
| Headers | show |
Comments
On Thu, 2012-10-04 at 19:40 +0200, Michal Simek wrote: > From: Wendy Liang <wendy.liang@petalogix.com> > > Add the id and sector mappings for SPI flash chips. An equivalent patch is already in David Woodhouse's l2-mtd tree: http://git.infradead.org/users/dedekind/l2-mtd.git/commitdiff/3105875f6b8902628caee2fd7821af43707c6bde Regards, Jan
On 10/05/2012 09:50 AM, Jan Lübbe wrote: > On Thu, 2012-10-04 at 19:40 +0200, Michal Simek wrote: >> From: Wendy Liang <wendy.liang@petalogix.com> >> >> Add the id and sector mappings for SPI flash chips. > > An equivalent patch is already in David Woodhouse's l2-mtd tree: > http://git.infradead.org/users/dedekind/l2-mtd.git/commitdiff/3105875f6b8902628caee2fd7821af43707c6bde Great thanks. Michal
Patch
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 5d0d68c..cad89f1 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c @@ -722,6 +722,9 @@ static const struct spi_device_id m25p_ids[] = { { "m25px32-s1", INFO(0x206316, 0, 64 * 1024, 64, SECT_4K) }, { "m25px64", INFO(0x207117, 0, 64 * 1024, 128, 0) }, + /* Numonyx -- n25q */ + { "n25q128", INFO(0x20ba18, 0, 64 * 1024, 256, 0) }, + /* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */ { "w25x10", INFO(0xef3011, 0, 64 * 1024, 2, SECT_4K) }, { "w25x20", INFO(0xef3012, 0, 64 * 1024, 4, SECT_4K) },