[flashrom] [PATCH] Switch all chips to partial write

Andrew Morgan ziltro at ziltro.com
Tue Oct 12 01:41:24 CEST 2010


On 11/10/10 23:58, Carl-Daniel Hailfinger wrote:
> Updated version with fixed compilation and some "interesting" (i.e. hard
> to know if they work) SPI changes. Write tests of SPI chips are
> appreciated, especially on boards which use the ITE IT87* Super I/O as
> flash controller.
>
> Switch all flash chips to partial write.
> The inner write functions which handle partial write are renamed to the
> original name of their wrappers. The write wrappers are removed.
>
> This patch depends on
> Re: [flashrom] [PATCH] Refactor remaining write wrappers
> Tests are appreciated.
>
> Please review this patch with lots of scrutiny. I don't really feel
> comfortable with the IT87* SPI changes nor with the AAI SPI changes,
> but they were needed to get the code to work, at least in theory.
>    

I applied the two patches and erased the chip then tested writing both a 
blank image and a coreboot image to the flash chip. Seems to have worked...

-- 

Andrew.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom-write-data-to-erased-chip.log
Type: text/x-log
Size: 23971 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20101012/8592dbc3/attachment.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom-write-blank-to-erased-chip.log
Type: text/x-log
Size: 23882 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20101012/8592dbc3/attachment-0001.log>


More information about the flashrom mailing list