[coreboot] [patch] flashrom: Add SST25VF040 support

Bao, Zheng Zheng.Bao at amd.com
Wed Feb 25 07:49:19 CET 2009


The SST25VF040 doesn't support command of 0x9F to read id.

Zheng

Signed-off-by: Zheng Bao <zheng.bao at amd.com>

diff -Nuar -x .svn ./flashchips.c ../temp1/flashrom/flashchips.c
--- ./flashchips.c	2009-02-22 21:07:28.000000000 +0800
+++ ../temp1/flashrom/flashchips.c	2009-02-25 14:57:53.000000000
+0800
@@ -1142,6 +1142,20 @@
 
 	{
 		.vendor		= "SST",
+		.name		= "SST25VF040",
+		.manufacture_id	= SST_ID,
+		.model_id	= SST_25VF040_REMS,
+		.total_size	= 512,
+		.page_size	= 64*1024,
+		.tested		= TEST_OK_PR,
+		.probe		= probe_spi_rems,
+		.erase		= spi_chip_erase_60,
+		.write		= spi_chip_write,
+		.read		= spi_chip_read,
+	},
+
+	{
+		.vendor		= "SST",
 		.name		= "SST25VF080B",
 		.manufacture_id	= SST_ID,
 		.model_id	= SST_25VF080B,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom_sst25vf040.patch
Type: application/octet-stream
Size: 636 bytes
Desc: flashrom_sst25vf040.patch
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090225/9fadd957/attachment.obj>


More information about the coreboot mailing list