diff options
| author | Uwe Hermann <uwe@hermann-uwe.de> | 2010-01-23 15:15:19 +0000 | 
|---|---|---|
| committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-01-23 15:15:19 +0000 | 
| commit | 48da3f9f995514e6dd2ecf3ca713ff8b19750350 (patch) | |
| tree | b2c1536ad0dd6c69f036559d239533d20da34608 | |
| parent | e8683b6fc164b6692a37ff652f78fe8c5c6b06c3 (diff) | |
| download | flashrom-48da3f9f995514e6dd2ecf3ca713ff8b19750350.tar.gz flashrom-48da3f9f995514e6dd2ecf3ca713ff8b19750350.tar.bz2 flashrom-48da3f9f995514e6dd2ecf3ca713ff8b19750350.zip | |
Add support for the SST39SF512 chip
All operations tested by me, works fine.
Corresponding to flashrom svn r881.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Sean Nelson <audiohacked@gmail.com>
| -rw-r--r-- | flashchips.c | 26 | ||||
| -rw-r--r-- | flashchips.h | 1 | 
2 files changed, 27 insertions, 0 deletions
| diff --git a/flashchips.c b/flashchips.c index 70954b89..03686e6c 100644 --- a/flashchips.c +++ b/flashchips.c @@ -3863,6 +3863,32 @@ struct flashchip flashchips[] = {  	{  		.vendor		= "SST", +		.name		= "SST39SF512", +		.bustype	= CHIP_BUSTYPE_PARALLEL, +		.manufacture_id	= SST_ID, +		.model_id	= SST_39SF512, +		.total_size	= 64, +		.page_size	= 4096, +		.tested		= TEST_OK_PREW, +		.probe		= probe_jedec, +		.probe_timing	= 1,			/* 150 ns */ +		.erase		= NULL, +		.block_erasers	= +		{ +			{ +				.eraseblocks = { {4 * 1024, 16} }, +				.block_erase = erase_sector_jedec, +			}, { +				.eraseblocks = { {64 * 1024, 1} }, +				.block_erase = erase_chip_block_jedec, +			} +		}, +		.write		= write_49f002, +		.read		= read_memmapped, +	}, + +	{ +		.vendor		= "SST",  		.name		= "SST39SF010A",  		.bustype	= CHIP_BUSTYPE_PARALLEL,  		.manufacture_id	= SST_ID, diff --git a/flashchips.h b/flashchips.h index 2a4d93b6..7f9c8a24 100644 --- a/flashchips.h +++ b/flashchips.h @@ -406,6 +406,7 @@  #define SST_29VF020		0x25  #define SST_29SF040		0x13  #define SST_29VF040		0x14 +#define SST_39SF512		0xB4  #define SST_39SF010		0xB5  #define SST_39SF020		0xB6	/* Same as 39SF020A */  #define SST_39SF040		0xB7 | 
