summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-05-08 17:15:15 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-05-08 17:15:15 +0000
commitf160a12938e363bccc3240dc0f5eb79bce1aa7bb (patch)
tree18e06e524a94173491c3f6ea6ce1496d895389e9
parentdeeebe2df11027d4c528ae3f26cf36753267b473 (diff)
downloadast2050-flashrom-f160a12938e363bccc3240dc0f5eb79bce1aa7bb.zip
ast2050-flashrom-f160a12938e363bccc3240dc0f5eb79bce1aa7bb.tar.gz
Re-add a line which got deleted in r473 by accident
Corresponding to flashrom svn r475. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-rw-r--r--flashrom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/flashrom.c b/flashrom.c
index 68ef8f0..d60ffe5 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -236,6 +236,8 @@ int erase_flash(struct flashchip *flash)
fprintf(stderr, "ERROR: flashrom has no erase function for this flash chip.\n");
return 1;
}
+ flash->erase(flash);
+
if (!flash->read) {
printf("FAILED!\n");
fprintf(stderr, "ERROR: flashrom has no read function for this flash chip.\n");
OpenPOWER on IntegriCloud