Carl-Daniel Hailfinger wrote:
> For optimal partial reflashing, we have to find out which parts of the
> chip can be written without erase. For that, the only criterion (except
> a limit on the number of writes for very old chips) is whether the write
> will only clear bits (set them to 0).
> If (current&new==new) we can skip the erase.
> If any bit would have to be set to 1, we need to erase.
>
>   
Is that sufficient? Ie is it always ok to skip an erase if we're only
clearing bits?

>
>   


_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to