diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2007-10-17 23:55:15 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2007-10-17 23:55:15 +0000 |
commit | a502dcea3df45326898b99dc9f5f3744a776339d (patch) | |
tree | 9746755cc3c75130ac3a05755ebbbcaff8fd81f3 /jedec.c | |
parent | dca0ab18840775e1d423faff55045066344ccb87 (diff) | |
download | ast2050-flashrom-a502dcea3df45326898b99dc9f5f3744a776339d.zip ast2050-flashrom-a502dcea3df45326898b99dc9f5f3744a776339d.tar.gz |
Some cosmetic cleanups in the flashrom code and output
Corresponding to flashrom svn r151 and coreboot v2 svn r2873.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'jedec.c')
-rw-r--r-- | jedec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |