<br><br><div class="gmail_quote">2010/12/26 Michael Karcher <span dir="ltr"><<a href="mailto:flashrom@mkarcher.dialup.fu-berlin.de">flashrom@mkarcher.dialup.fu-berlin.de</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Am Montag, den 06.12.2010, 18:37 +0100 schrieb Idwer Vollering:<br>
</div><div class="im">> Signed-off-by: Idwer Vollering <<a href="mailto:vidwer@gmail.com">vidwer@gmail.com</a>><br></div></blockquote><div><br>Resending as requested, updated to HEAD too.<br><br>Signed-off-by: Idwer Vollering <<a href="mailto:vidwer@gmail.com">vidwer@gmail.com</a>><br>
<br>---<br>Index: w39.c<br>===================================================================<br>--- w39.c    (revision 1247)<br>+++ w39.c    (working copy)<br>@@ -244,6 +244,16 @@<br>     return -1;<br> }<br> <br>+int unlock_w39v040fb(struct flashchip *flash)<br>
+{<br>+    if (unlock_w39_fwh(flash))<br>+        return -1;<br>+    if (printlock_w39_common(flash, 0x7fff2))<br>+        return -1;<br>+<br>+    return 0;<br>+}<br>+<br> int unlock_w39v080fa(struct flashchip *flash)<br>
 {<br>     if (unlock_w39_fwh(flash))<br>Index: flashchips.c<br>===================================================================<br>--- flashchips.c    (revision 1247)<br>+++ flashchips.c    (working copy)<br>@@ -7706,6 +7706,7 @@<br>
             }<br>         },<br>         .printlock    = printlock_w39v040fb,<br>+        .unlock        = unlock_w39v040fb,<br>         .write        = write_jedec_1,<br>         .read        = read_memmapped,<br>     },<br>
Index: chipdrivers.h<br>===================================================================<br>--- chipdrivers.h    (revision 1247)<br>+++ chipdrivers.h    (working copy)<br>@@ -119,6 +119,7 @@<br> int printlock_w39v080a(struct flashchip *flash);<br>
 int printlock_w39v080fa(struct flashchip *flash);<br> int printlock_w39v080fa_dual(struct flashchip *flash);<br>+int unlock_w39v040fb(struct flashchip *flash);<br> int unlock_w39v080fa(struct flashchip *flash);<br> <br> /* w29ee011.c */<br>
<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
</div><div class="im">Acked-by: Michael Karcher <<a href="mailto:flashrom@mkarcher.dialup.fu-berlin.de">flashrom@mkarcher.dialup.fu-berlin.de</a>><br>
after skimming over the datasheet.<br>
<br>
</div>> -               .probe_timing   = 10,<br>
> +               .probe_timing   = 10,<br>
<div><div></div><div class="h5">You seem to have a space-only change in this line. Is that intended?<br>
<br>
Regards,<br>
  Michael Karcher<br>
<br>
<br>
</div></div></blockquote></div><br>