[flashrom] [PATCH] Move implicit erase out of chip drivers, clean up

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Fri Oct 8 20:52:45 CEST 2010


On 08.10.2010 19:11, Carl-Daniel Hailfinger wrote:
> flashrom had an implicit erase-on-write for most flash chip and
> programmer drivers, but it was not entirely consistent. Some drivers had
> their own hand-rolled partial update functionality which made handling
> partial updates from generic code impossible.
>
> Move implicit erase out of chip drivers, and kill some dead erase
> functions at the same time.
> A full chip erase is now performed in the generic code for all flash
> chips on write, and after that the whole chip is written.
> This is needed before we can change write function signature of the
> write functions to take start+len.
>
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
> Acked-by: Uwe Hermann <uwe at hermann-uwe.de>
>   

Committed in r1206.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the flashrom mailing list