mtd: m25p80: Add support for two new Spansion SPI devices (S25FL-K)

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Oct 24 20:59:05 EDT 2010


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=f2df1ae3fe8d44d51bd7218a9da9134b83c7531e
Commit:     f2df1ae3fe8d44d51bd7218a9da9134b83c7531e
Parent:     6fb277ba847f37489dc22adffed700e0c3ea3acf
Author:     Gernot Hoyler <Gernot.Hoyler at spansion.com>
AuthorDate: Thu Sep 2 17:27:20 2010 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sun Oct 24 23:49:10 2010 +0100

    mtd: m25p80: Add support for two new Spansion SPI devices (S25FL-K)
    
    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 at spansion.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.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) },



More information about the linux-mtd-cvs mailing list