Add support for Winbond W39F010/W39L010/W39L020

W39F010 is a 128kB parallel 5V flash chip, 16k bootblocks.
W39L010 is a 128kB parallel 3.3V flash chip, 8k bootblocks.
W39L020 is a 256kB parallel 3.3V flash chip, 64k/16k bootblocks.

The W39F010 code was tested with a satasii programmer. The first write
attempt after an erase returned with verify failure, but the second
write attempt was succesful:

Corresponding to flashrom svn r1620.

Signed-off-by: Kyösti Mälkki <>
Acked-by: Stefan Tauner <>
diff --git a/chipdrivers.h b/chipdrivers.h
index f110807..0abc8b9 100644
--- a/chipdrivers.h
+++ b/chipdrivers.h
@@ -143,6 +143,9 @@
 int unlock_sst_fwhub(struct flashctx *flash);
 /* w39.c */
+int printlock_w39f010(struct flashctx * flash);
+int printlock_w39l010(struct flashctx * flash);
+int printlock_w39l020(struct flashctx * flash);
 int printlock_w39l040(struct flashctx * flash);
 int printlock_w39v040a(struct flashctx *flash);
 int printlock_w39v040b(struct flashctx *flash);