summaryrefslogtreecommitdiff
path: root/util/flashrom/sst_fwhub.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/sst_fwhub.c
parent7dabe5ea0d8af4b60c07a075fa03d4c837d2e698 (diff)
downloadcoreboot-dcb9abdf4ce76910191c5b3abf56d03ad800e1f7.tar.xz
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/sst_fwhub.c')
-rw-r--r--util/flashrom/sst_fwhub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/flashrom/sst_fwhub.c b/util/flashrom/sst_fwhub.c
index ae9852132e..0f5dd1586b 100644
--- a/util/flashrom/sst_fwhub.c
+++ b/util/flashrom/sst_fwhub.c
@@ -83,12 +83,12 @@ int write_sst_fwhub(struct flashchip *flash, uint8_t *buf)
// dumb check if erase was successful.
for (i = 0; i < total_size; i++) {
if (bios[i] != 0xff) {
- printf("ERASE FAILED\n");
+ printf("ERASE FAILED!\n");
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_sector_jedec(bios, buf + i * page_size,