diff options
author | Peter Stuge <peter@stuge.se> | 2008-06-20 02:58:42 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2008-06-20 02:58:42 +0000 |
commit | 5f2e30c9ed04c617d5af6b5fed22fa82115c8512 (patch) | |
tree | 33577de27b437964c5bd9fb3fe52058c79b875d4 | |
parent | 7600c48bf434235c666f60b00fc9375f12ba98f1 (diff) | |
download | coreboot-5f2e30c9ed04c617d5af6b5fed22fa82115c8512.tar.xz |
flashrom: Show expected and read byte on verify failure. Trivial.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3372 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | util/flashrom/flashrom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/flashrom/flashrom.c b/util/flashrom/flashrom.c index 438e843ded..2dc2de81a4 100644 --- a/util/flashrom/flashrom.c +++ b/util/flashrom/flashrom.c @@ -187,7 +187,8 @@ int verify_flash(struct flashchip *flash, uint8_t *buf) if (verbose) { printf("0x%08x ", idx); } - printf("FAILED!\n"); + printf("FAILED! Expected=0x%02x, Read=0x%02x\n", + *(buf + idx), *(buf2 + idx)); return 1; } |