[flashrom] [PATCH] Convert chips to block erasers: SST

Sean Nelson audiohacked at gmail.com
Wed Jan 20 14:19:58 CET 2010


On 1/20/10 4:46 AM, Michael Karcher wrote:
> Am Mittwoch, den 20.01.2010, 03:55 -0800 schrieb Sean Nelson:
>> On 1/20/10 2:16 AM, Michael Karcher wrote:
>>>> + .block_erasers =
>>>> + {
>>>> + {
>>>> + .eraseblocks = { {4 * 1024, 64} },
>>>> + .block_erase = erase_sector_jedec,
>>>> + }, {
>>>> + .eraseblocks = { {16 * 1024, 16} },
>>>> + .block_erase = erase_block_jedec,
>>>> + }, {
>>>> + .eraseblocks = { {256 * 1024, 1} },
>>>> + .block_erase = erase_chip_block_jedec,
>>>> + }
>>>> + },
>>> This chip supports erase_chip only in A/A mux mode (although the
>>> datasheet calls it "parallel". Do we really want to have that listed?
>>> This also applies to:
>> I don't think we can determine if the chip is in LPC or A/A mux mode.
> Is there *any* available chipset that uses A/A mux? I think this mode is
> only usable by external programmers, and I also don't think that
> flashrom is supporting any external programmer that does A/A mux.
I think we should just keep it, in case that day comes....

Convert the following chips to block_erasers:
SST28SF040A
SST29EE010
SST29LE010
SST29EE020A
SST29LE020
SST39SF010A
SST39SF020A
SST39SF040
SST39VF512
SST39VF010
SST39VF020
SST39VF040
SST39VF080
SST49LF002A/B
SST49LF003A/B
SST49LF004C
SST49LF008A
SST49LF008C
SST49LF016C
SST49LF020
SST49LF020A
SST49LF040
SST49LF040B
SST49LF080A
SST49LF160C

Extend sst28sf040 to include chip and sector functions for block_eraser.
Extend sst49lfxxxc to include chip, sector, block erasers functions for 
block_erasers.
Extend sst_fwhub to include chip and sector functions for block_erasers.
Add copyrights to changed files.
Killed erase_sst_fwhub.
Killed erase_49lfxxxc.

Signed-off-by: Sean Nelson <audiohacked at gmail.com>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 4_blockerase_sst.diff
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20100120/f2c362a4/attachment.ksh>


More information about the flashrom mailing list