summaryrefslogtreecommitdiffstats
path: root/jedec.c
diff options
context:
space:
mode:
Diffstat (limited to 'jedec.c')
-rw-r--r--jedec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jedec.c b/jedec.c
index cb4f6cd32..49b100200 100644
--- a/jedec.c
+++ b/jedec.c
@@ -281,7 +281,7 @@ int write_jedec(struct flashchip *flash, uint8_t *buf)
// dumb check if erase was successful.
for (i = 0; i < total_size; i++) {
if (bios[i] != (uint8_t) 0xff) {
- printf("ERASE FAILED\n");
+ printf("ERASE FAILED @%d, val %02x\n", i, bios[i]);
return -1;
}
}