summaryrefslogtreecommitdiffstats
path: root/w39v080fa.c
diff options
context:
space:
mode:
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