mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
Show expected and read byte on verify failure
Corresponding to flashrom svn r261 and coreboot v2 svn r3372. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
parent
b9f617448d
commit
cb5c211a48
@ -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…
x
Reference in New Issue
Block a user