diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2007-08-23 16:08:21 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2007-08-23 16:08:21 +0000 |
commit | ba9ce9f7f986ba2a3f4d88b7cb53e0704b7d2708 (patch) | |
tree | 9ad9be681febfa96ecca8a7ee024f52f96d2b66f /util/flashrom/sst_fwhub.c | |
parent | 0a6bb9106263eead0dd35d68be90ab52223488d5 (diff) | |
download | coreboot-ba9ce9f7f986ba2a3f4d88b7cb53e0704b7d2708.tar.xz |
Cosmetic fixes (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2748 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/sst_fwhub.c')
-rw-r--r-- | util/flashrom/sst_fwhub.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/util/flashrom/sst_fwhub.c b/util/flashrom/sst_fwhub.c index 9e4539bf53..c7266e8d6a 100644 --- a/util/flashrom/sst_fwhub.c +++ b/util/flashrom/sst_fwhub.c @@ -56,7 +56,7 @@ int erase_sst_fwhub_block(struct flashchip *flash, int offset) erase_block_jedec(flash->virtual_memory, offset); toggle_ready_jedec(flash->virtual_memory); - return (0); + return 0; } int erase_sst_fwhub(struct flashchip *flash) @@ -66,7 +66,8 @@ int erase_sst_fwhub(struct flashchip *flash) for (i = 0; i < total_size; i += flash->page_size) erase_sst_fwhub_block(flash, i); - return (0); + + return 0; } int write_sst_fwhub(struct flashchip *flash, uint8_t *buf) @@ -95,5 +96,6 @@ int write_sst_fwhub(struct flashchip *flash, uint8_t *buf) printf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b"); } printf("\n"); - return (0); + + return 0; } |