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 | dcb9abdf4ce76910191c5b3abf56d03ad800e1f7 (patch) | |
tree | 16815aa22f39b0acec9667aab1dfd6df5f412b57 /util/flashrom/flashrom.c | |
parent | 7dabe5ea0d8af4b60c07a075fa03d4c837d2e698 (diff) | |
download | coreboot-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/flashrom.c')
-rw-r--r-- | util/flashrom/flashrom.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/flashrom/flashrom.c b/util/flashrom/flashrom.c index 7587ac79b8..33d3738f2e 100644 --- a/util/flashrom/flashrom.c +++ b/util/flashrom/flashrom.c @@ -143,7 +143,7 @@ struct flashchip *probe_flash(struct flashchip *flash) flash->virtual_memory = bios; if (flash->probe(flash) == 1) { - printf("%s found at physical address: 0x%lx\n", + printf("%s found at physical address 0x%lx.\n", flash->name, flash_baseaddr); return flash; } @@ -161,7 +161,7 @@ int verify_flash(struct flashchip *flash, uint8_t *buf) int total_size = flash->total_size * 1024; volatile uint8_t *bios = flash->virtual_memory; - printf("Verifying flash "); + printf("Verifying flash... "); if (verbose) printf("address: 0x00000000\b\b\b\b\b\b\b\b\b\b"); @@ -174,7 +174,7 @@ int verify_flash(struct flashchip *flash, uint8_t *buf) if (verbose) { printf("0x%08x ", idx); } - printf("- FAILED\n"); + printf("FAILED!\n"); return 1; } @@ -184,7 +184,7 @@ int verify_flash(struct flashchip *flash, uint8_t *buf) if (verbose) printf("\b\b\b\b\b\b\b\b\b\b "); - printf("- VERIFIED \n"); + printf("VERIFIED. \n"); return 0; } @@ -369,7 +369,7 @@ int main(int argc, char *argv[]) exit(1); } - printf("Flash part is %s (%d KB)\n", flash->name, flash->total_size); + printf("Flash part is %s (%d KB).\n", flash->name, flash->total_size); if (!(read_it | write_it | verify_it | erase_it)) { printf("No operations were specified.\n"); |