summaryrefslogtreecommitdiffstats
path: root/w39v080fa.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-07-02 13:33:09 +0000
committerStefan Reinauer <stepan@coresystems.de>2008-07-02 13:33:09 +0000
commit39670e96d2119d20a40e8837ce465fc21577b852 (patch)
treecc15f86cb9f9bb9b16ac1686f1b1ca2f24ffc31f /w39v080fa.c
parenta8a7f7be88da0c2eaa31e0aad8db7f19fce5f526 (diff)
downloadflashrom-39670e96d2119d20a40e8837ce465fc21577b852.zip
flashrom-39670e96d2119d20a40e8837ce465fc21577b852.tar.gz
Set w39v080fa to fully supported
I'm am flashing this chip several times a day. Also enable unlocking which is only needed when running coreboot, that slipped in the original commit and through the original review ;-) So it must be trivial enough. Corresponding to flashrom svn r290 and coreboot v2 svn r3406. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'w39v080fa.c')
-rw-r--r--w39v080fa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/w39v080fa.c b/w39v080fa.c
index 8547fb3..2756859 100644
--- a/w39v080fa.c
+++ b/w39v080fa.c
@@ -168,6 +168,8 @@ int erase_winbond_fwhub(struct flashchip *flash)
int i, total_size = flash->total_size * 1024;
volatile uint8_t *bios = flash->virtual_memory;
+ unlock_winbond_fwhub(flash);
+
printf("Erasing: ");
for (i = 0; i < total_size; i += flash->page_size)
OpenPOWER on IntegriCloud