[coreboot] [flashrom] r475 - trunk

svn at coreboot.org svn at coreboot.org
Fri May 8 19:15:15 CEST 2009


Author: hailfinger
Date: 2009-05-08 19:15:15 +0200 (Fri, 08 May 2009)
New Revision: 475

Modified:
   trunk/flashrom.c
Log:
Re-add a line which got deleted in r473 by accident.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>


Modified: trunk/flashrom.c
===================================================================
--- trunk/flashrom.c	2009-05-08 16:23:34 UTC (rev 474)
+++ trunk/flashrom.c	2009-05-08 17:15:15 UTC (rev 475)
@@ -236,6 +236,8 @@
 		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");





More information about the coreboot mailing list