Patchwork MTD: m25p80.c: Add support for S25FL032P spi-nor flash devices.

login
register
mail settings
Submitter David Jander
Date Sept. 30, 2010, 11:26 a.m.
Message ID <1285845962-29597-1-git-send-email-david.jander@protonic.nl>
Download mbox | patch
Permalink /patch/66146/
State Accepted
Commit d86fbdb8ed0ac957693ff475cca076021677166a
Headers show

Comments

David Jander - Sept. 30, 2010, 11:26 a.m.
From: David Jander <david@protonic.nl>

Signed-off-by: David Jander <david@protonic.nl>
---
 drivers/mtd/devices/m25p80.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Artem Bityutskiy - Oct. 1, 2010, 7 p.m.
On Thu, 2010-09-30 at 13:26 +0200, David Jander wrote:
> From: David Jander <david@protonic.nl>
> 
> Signed-off-by: David Jander <david@protonic.nl>
> ---
>  drivers/mtd/devices/m25p80.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Pushed to l2-mtd-2.6.git, thanks!

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 6f512b5..305f1be 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -661,6 +661,7 @@  static const struct spi_device_id m25p_ids[] = {
 	{ "s25sl008a",  INFO(0x010213,      0,  64 * 1024,  16, 0) },
 	{ "s25sl016a",  INFO(0x010214,      0,  64 * 1024,  32, 0) },
 	{ "s25sl032a",  INFO(0x010215,      0,  64 * 1024,  64, 0) },
+	{ "s25sl032p",  INFO(0x010215, 0x4d00,  64 * 1024,  64, SECT_4K) },
 	{ "s25sl064a",  INFO(0x010216,      0,  64 * 1024, 128, 0) },
 	{ "s25sl12800", INFO(0x012018, 0x0300, 256 * 1024,  64, 0) },
 	{ "s25sl12801", INFO(0x012018, 0x0301,  64 * 1024, 256, 0) },