[MTD] [CHIPS] Add JEDEC probe support for the SST 39VF3201 flash chip

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Mar 20 15:00:00 EDT 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=bd50a0ffca0bbb9baa60ab1ef2c09cf7561e1223
Commit:     bd50a0ffca0bbb9baa60ab1ef2c09cf7561e1223
Parent:     48ec00ac895074f8a47bda8f3925ccaa46abb7a8
Author:     Yegor Yefremov <yegorslists at googlemail.com>
AuthorDate: Fri Mar 20 18:50:26 2009 +0000
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Mar 20 18:50:26 2009 +0000

    [MTD] [CHIPS] Add JEDEC probe support for the SST 39VF3201 flash chip
    
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/chips/jedec_probe.c |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index 2f3f2f7..e824b9b 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -159,6 +159,7 @@
 #define SST39LF800	0x2781
 #define SST39LF160	0x2782
 #define SST39VF1601	0x234b
+#define SST39VF3201	0x235b
 #define SST39LF512	0x00D4
 #define SST39LF010	0x00D5
 #define SST39LF020	0x00D6
@@ -1490,6 +1491,21 @@ static const struct amd_flash_info jedec_table[] = {
 			ERASEINFO(0x1000,256)
 		}
 	}, {
+		.mfr_id		= MANUFACTURER_SST,     /* should be CFI */
+		.dev_id		= SST39VF3201,
+		.name		= "SST 39VF3201",
+		.devtypes	= CFI_DEVICETYPE_X16,
+		.uaddr		= MTD_UADDR_0xAAAA_0x5555,
+		.dev_size	= SIZE_4MiB,
+		.cmd_set	= P_ID_AMD_STD,
+		.nr_regions	= 4,
+		.regions	= {
+			ERASEINFO(0x1000,256),
+			ERASEINFO(0x1000,256),
+			ERASEINFO(0x1000,256),
+			ERASEINFO(0x1000,256)
+		}
+	}, {
 		.mfr_id		= MANUFACTURER_SST,
 		.dev_id		= SST36VF3203,
 		.name		= "SST 36VF3203",



More information about the linux-mtd-cvs mailing list