summaryrefslogtreecommitdiff
path: root/util/flashrom/jedec.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-10-17 23:55:15 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-10-17 23:55:15 +0000
commitdcb9abdf4ce76910191c5b3abf56d03ad800e1f7 (patch)
tree16815aa22f39b0acec9667aab1dfd6df5f412b57 /util/flashrom/jedec.c
parent7dabe5ea0d8af4b60c07a075fa03d4c837d2e698 (diff)
Some cosmetic cleanups in the flashrom code and output.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2873 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/jedec.c')
-rw-r--r--util/flashrom/jedec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/flashrom/jedec.c b/util/flashrom/jedec.c
index 49b1002004..46153dd66c 100644
--- a/util/flashrom/jedec.c
+++ b/util/flashrom/jedec.c
@@ -281,12 +281,12 @@ 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 @%d, val %02x\n", i, bios[i]);
+ printf("ERASE FAILED @%d, val %02x!\n", i, bios[i]);
return -1;
}
}
- printf("Programming Page: ");
+ printf("Programming page: ");
for (i = 0; i < total_size / page_size; i++) {
printf("%04d at address: 0x%08x", i, i * page_size);
write_page_write_jedec(bios, buf + i * page_size,