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 | b5c95b413fefd29c99bcc06bfc4d181d956dbbd8 (patch) | |
tree | 1645417f11a24ea1a316a7959246f5c4af75e789 /jedec.c | |
parent | e69a868d7a0af20e0f420ebccd4abb814c3212bb (diff) | |
download | flashrom-b5c95b413fefd29c99bcc06bfc4d181d956dbbd8.zip flashrom-b5c95b413fefd29c99bcc06bfc4d181d956dbbd8.tar.gz |
Cosmetic fixes
Corresponding to flashrom svn r130 and coreboot v2 svn r2748.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'jedec.c')
-rw-r--r-- | jedec.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -135,7 +135,7 @@ int erase_sector_jedec(volatile uint8_t *bios, unsigned int page) /* wait for Toggle bit ready */ toggle_ready_jedec(bios); - return (0); + return 0; } int erase_block_jedec(volatile uint8_t *bios, unsigned int block) @@ -158,7 +158,7 @@ int erase_block_jedec(volatile uint8_t *bios, unsigned int block) /* wait for Toggle bit ready */ toggle_ready_jedec(bios); - return (0); + return 0; } int erase_chip_jedec(struct flashchip *flash) @@ -182,7 +182,7 @@ int erase_chip_jedec(struct flashchip *flash) toggle_ready_jedec(bios); - return (0); + return 0; } int write_page_write_jedec(volatile uint8_t *bios, uint8_t *src, @@ -229,7 +229,7 @@ retry: fprintf(stderr, " page %d failed!\n", (unsigned int)(d - bios) / page_size); } - return (!ok); + return !ok; } int write_byte_program_jedec(volatile uint8_t *bios, uint8_t *src, @@ -259,7 +259,7 @@ retry: if (tried >= MAX_REFLASH_TRIES) ok = 0; - return (!ok); + return !ok; } int write_sector_jedec(volatile uint8_t *bios, uint8_t *src, @@ -272,7 +272,7 @@ int write_sector_jedec(volatile uint8_t *bios, uint8_t *src, dst++, src++; } - return (0); + return 0; } int write_jedec(struct flashchip *flash, uint8_t *buf) @@ -301,5 +301,5 @@ int write_jedec(struct flashchip *flash, uint8_t *buf) printf("\n"); protect_jedec(bios); - return (0); + return 0; } |