summaryrefslogtreecommitdiff
path: root/util/flashrom/w39v080fa.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-07-02 13:33:09 +0000
committerStefan Reinauer <stepan@openbios.org>2008-07-02 13:33:09 +0000
commitcac7286c0b4e4b188ae511a66d60e5e3d9af97fd (patch)
tree56cc6dd7b2bdd720238be863971702161b061418 /util/flashrom/w39v080fa.c
parentc3c4472bd1dc2603b9e1a795e9809452a765e950 (diff)
downloadcoreboot-cac7286c0b4e4b188ae511a66d60e5e3d9af97fd.tar.xz
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. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3406 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/w39v080fa.c')
-rw-r--r--util/flashrom/w39v080fa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/flashrom/w39v080fa.c b/util/flashrom/w39v080fa.c
index 8547fb3bc6..2756859af6 100644
--- a/util/flashrom/w39v080fa.c
+++ b/util/flashrom/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)