summaryrefslogtreecommitdiffstats
path: root/chipdrivers.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-10-28 01:50:08 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-10-28 01:50:08 +0000
commitc31243e1739a4ba21d45e3569341aa671939cb8d (patch)
treeeb08f0981a4a4309725c4cb480c7a53e07d7504a /chipdrivers.h
parent78ffbeaa029fb827dcdf9c02262adbda4673e5eb (diff)
downloadast2050-flashrom-c31243e1739a4ba21d45e3569341aa671939cb8d.zip
ast2050-flashrom-c31243e1739a4ba21d45e3569341aa671939cb8d.tar.gz
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: http://paste.flashrom.org/view.php?id=1418 Corresponding to flashrom svn r1620. Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'chipdrivers.h')
-rw-r--r--chipdrivers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chipdrivers.h b/chipdrivers.h
index f110807..0abc8b9 100644
--- a/chipdrivers.h
+++ b/chipdrivers.h
@@ -143,6 +143,9 @@ int printlock_sst_fwhub(struct flashctx *flash);
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);
OpenPOWER on IntegriCloud