[flashrom] [PATCH] Print lock status for Winbond W39*

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Sat Dec 4 04:34:59 CET 2010


On 04.12.2010 04:12, Carl-Daniel Hailfinger wrote:
> Print lock status for all supported Winbond W39* chips:
> W39V040A
> W39V040(F)B
> W39V040(F)C
> W39V040FA
> W39V080A
> W39V080FA
> W39V080FA (dual mode)
>
> Please note that the W39V040B/W39V040FB pair has identical IDs,
> identical read/write/erase, but locking differs. Right now they have a
> common chip definition, but that will have to change in the future. For
> chipsets which support LPC and FWH, separating the chips will be really
> painful because both variants will be detected and the user will have to
> choose. Same problem appears for W39V040C/W39V040FC.
> A better evil twin handling (patch available) will resolve that problem.
>   

I forgot to mention that I fixed the probe timing for some of the above
chips as well.


> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
>
> Please run "svn mv w39v080fa.c w39.c" before applying this patch.
>   

That will cause the patch to fail partially, but the end result will be
correct. If you hate failing patches, you can run
cp w39v080fa.c w39.c

Please note that svn has problems auto-merging something like this, so
once this patch is checked in, you'll have to run

svn revert w39v080fa.c w39.c
rm w39.c
svn up

to be able to update to the latest tree if you applied this patch.

If you didn't apply the patch, "svn up" will work normally.

Regards,
Carl-Daniel

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





More information about the flashrom mailing list