linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Gernot Hoyler <Gernot.Hoyler@spansion.com>
To: linux-mtd@lists.infradead.org
Subject: [PATCH] m25p80: Add support for two new Spansion SPI devices (S25FL-K)
Date: Wed, 1 Sep 2010 13:14:00 +0200	[thread overview]
Message-ID: <4C7E3578.20608@spansion.com> (raw)

This patch adds support for Spansion S25FL016K and S25FL064K SPI flash.
It has been tested with physical devices. Note that both parts exhibit
a Winbond manufacturer ID so they might also be added to that section.


Signed-off-by: Gernot Hoyler <gernot.hoyler@spansion.com>
---
  drivers/mtd/devices/m25p80.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 6f512b5..1f0f703 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -666,6 +666,8 @@ static const struct spi_device_id m25p_ids[] = {
  	{ "s25sl12801", INFO(0x012018, 0x0301,  64 * 1024, 256, 0) },
  	{ "s25fl129p0", INFO(0x012018, 0x4d00, 256 * 1024,  64, 0) },
  	{ "s25fl129p1", INFO(0x012018, 0x4d01,  64 * 1024, 256, 0) },
+	{ "s25fl016k",  INFO(0xef4015,      0,  64 * 1024,  32, SECT_4K) },
+	{ "s25fl064k",  INFO(0xef4017,      0,  64 * 1024, 128, SECT_4K) },

  	/* SST -- large erase sizes are "overlays", "sectors" are 4K */
  	{ "sst25vf040b", INFO(0xbf258d, 0, 64 * 1024,  8, SECT_4K) },
-- 
1.6.2.2

             reply	other threads:[~2010-09-01 11:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 11:14 Gernot Hoyler [this message]
2010-09-01 23:26 ` [PATCH] m25p80: Add support for two new Spansion SPI devices (S25FL-K) Artem Bityutskiy
2010-09-02  9:41   ` Hoyler, Gernot
2010-09-02  9:53     ` Artem Bityutskiy
2010-09-02 15:27       ` Gernot Hoyler
2010-09-02 17:58         ` Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C7E3578.20608@spansion.com \
    --to=gernot.hoyler@spansion.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).