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
This commit is contained in:
parent
7600c48bf4
commit
5f2e30c9ed
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue