[coreboot] r3372 - trunk/util/flashrom
svn at coreboot.org
svn at coreboot.org
Fri Jun 20 04:58:42 CEST 2008
Author: stuge
Date: 2008-06-20 04:58:42 +0200 (Fri, 20 Jun 2008)
New Revision: 3372
Modified:
trunk/util/flashrom/flashrom.c
Log:
flashrom: Show expected and read byte on verify failure. Trivial.
Signed-off-by: Peter Stuge <peter at stuge.se>
Acked-by: Peter Stuge <peter at stuge.se>
Modified: trunk/util/flashrom/flashrom.c
===================================================================
--- trunk/util/flashrom/flashrom.c 2008-06-20 00:02:52 UTC (rev 3371)
+++ trunk/util/flashrom/flashrom.c 2008-06-20 02:58:42 UTC (rev 3372)
@@ -187,7 +187,8 @@
if (verbose) {
printf("0x%08x ", idx);
}
- printf("FAILED!\n");
+ printf("FAILED! Expected=0x%02x, Read=0x%02x\n",
+ *(buf + idx), *(buf2 + idx));
return 1;
}
More information about the coreboot
mailing list