[flashrom] [commit] r1094 - trunk

repository service svn at flashrom.org
Wed Jul 21 17:02:22 CEST 2010


Author: hailfinger
Date: Wed Jul 21 17:02:22 2010
New Revision: 1094
URL: http://flashrom.org/trac/coreboot/changeset/1094

Log:
Add support for the SST25VF064C SPI flash chip.

Signed-off-by: Ed Swierk <eswierk at aristanetworks.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

Modified:
   trunk/flashchips.c
   trunk/flashchips.h

Modified: trunk/flashchips.c
==============================================================================
--- trunk/flashchips.c	Wed Jul 21 12:26:01 2010	(r1093)
+++ trunk/flashchips.c	Wed Jul 21 17:02:22 2010	(r1094)
@@ -3971,6 +3971,41 @@
 
 	{
 		.vendor		= "SST",
+		.name		= "SST25VF064C",
+		.bustype	= CHIP_BUSTYPE_SPI,
+		.manufacture_id	= SST_ID,
+		.model_id	= SST_25VF064C,
+		.total_size	= 8192,
+		.page_size	= 256,
+		.tested		= TEST_OK_PREW,
+		.probe		= probe_spi_rdid,
+		.probe_timing	= TIMING_ZERO,
+		.block_erasers	=
+		{
+			{
+				.eraseblocks = { {4 * 1024, 2048} },
+				.block_erase = spi_block_erase_20,
+			}, {
+				.eraseblocks = { {32 * 1024, 256} },
+				.block_erase = spi_block_erase_52,
+			}, {
+				.eraseblocks = { {64 * 1024, 128} },
+				.block_erase = spi_block_erase_d8,
+			}, {
+				.eraseblocks = { {8 * 1024 * 1024, 1} },
+				.block_erase = spi_block_erase_60,
+			}, {
+				.eraseblocks = { {8 * 1024 * 1024, 1} },
+				.block_erase = spi_block_erase_c7,
+			},
+		},
+		.unlock		= spi_disable_blockprotect,
+		.write		= spi_chip_write_1,
+		.read		= spi_chip_read,
+	},
+
+	{
+		.vendor		= "SST",
 		.name		= "SST25VF040.REMS",
 		.bustype	= CHIP_BUSTYPE_SPI,
 		.manufacture_id	= SST_ID,

Modified: trunk/flashchips.h
==============================================================================
--- trunk/flashchips.h	Wed Jul 21 12:26:01 2010	(r1093)
+++ trunk/flashchips.h	Wed Jul 21 17:02:22 2010	(r1094)
@@ -400,6 +400,7 @@
 #define SST_25VF016B		0x2541
 #define SST_25VF032B		0x254A
 #define SST_25VF032B_REMS	0x4A	/* REMS or RES opcode */
+#define SST_25VF064C		0x254B
 #define SST_26VF016		0x2601
 #define SST_26VF032		0x2602
 #define SST_27SF512		0xA4




More information about the flashrom mailing list