[flashrom] [RFC] JEDEC refactor w/ conversion notes and file eliminations
Sean Nelson
audiohacked at gmail.com
Fri Dec 25 18:28:25 CET 2009
On 12/25/09 9:09 AM, Michael Karcher wrote:
>> * m29f400bt
>>
> this Chip is not standard 0xAAA based at all. Please carefully read the
> comment in the file.
>
>
my full notes for m29f400bt:
@m29f400bt { # 0x555 0xAAA block_based_write
block_erase_chip_m29f400bt => erase_chip_block_jedec_aaa
block_erase_m29f400bt => erase_sector_jedec_aaa
erase_m29f400bt => erase_chip_jedec_aaa
probe_m29f400bt => probe_jedec_aaa_did_02
write_coreboot_m29f400bt # same as previous
write_m29f400bt # variable page writing
write_page_m29f400bt
}
I did a direct compare of the functions in jedec.c and m29f400bt.c and
found the above to be equivalent. We can totally eliminate the file if
we create a block_writers system.
More information about the flashrom
mailing list