[flashrom] [Flashrom] [PATCH] Convert flashchips to use struct eraseblock - Atmel

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Wed Dec 23 13:03:42 CET 2009


On 23.12.2009 04:30, Sean Nelson wrote:
> Convert the following chips to use struct eraseblock:
> AT25*
> AT26*
> AT29C*
> AT49BV512
> AT49F002(N)
> AT49F002(N)T
>
> Forth revision of patch includes:
> spi_block_erase_c7 for all SPI Atmel chips.
> spi_block_erase_d8 for some chip that support alternate commands for certain block sizes.
> Updated patch with better/increased context for better reviewing and against latest svn.
> Fixed correct block sizes for AT49F002.
> Fixed AT26F004's block counts for all block sizes.
>   

Great, thanks.


> A possible future patch would to add spi_block_erase_d7 to spi.c as an 
> alternate to spi_block_erase_20. Only some SPI chips support d7.
>
> Signed-off-by: Sean Nelson <audiohacked at gmail.com>

I fixed up compilation (missing comma at the end of line 1098) and
removed one extraneous whitespace at the end of a line.

Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
and committed in r817.

Regards,
Carl-Daniel

-- 
Developer quote of the month: 
"We are juggling too many chainsaws and flaming arrows and tigers."





More information about the flashrom mailing list