Commit cb5c211a authored by Peter Stuge's avatar Peter Stuge
Browse files

Show expected and read byte on verify failure


Corresponding to flashrom svn r261 and coreboot v2 svn r3372.
Signed-off-by: default avatarPeter Stuge <peter@stuge.se>
Acked-by: default avatarPeter Stuge <peter@stuge.se>
parent b9f61744
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment