[flashrom] [PATCH] quick fix for chip locks

Sean Nelson audiohacked at gmail.com
Fri Feb 19 01:11:07 CET 2010


On 2/18/10 3:46 PM, Sean Nelson wrote:
> Here's a very quick patch to fix the missing unlock code.
> Fixes missing unlock for certain chips:
>  * unlock_49lf00x
>     * Pm49fl002
>     * Pm49fl004
>
>  * unlock_49flxxxc
>     * SST49LF160C
>
>  * unlock_winbond_fwhub
>     * W39V080FA
>     * W39V080FA (dual mode)
>
> Fixes missing printlock for certain chip:
>  * printlock_w39v040c
>     * W39V040C
>
>
> Signed-off-by: Sean Nelson <audiohacked at gmail.com>
>
> ---
> Let's get this regression fixed ASAP.

Updated patch so that unlock is done only on read/write/erase, and 
printlock returns 0.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unlock_hack.diff
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20100218/a14b38e8/attachment.ksh>


More information about the flashrom mailing list