diff options
author | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2007-08-23 16:08:21 +0000 |
---|---|---|
committer | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2007-08-23 16:08:21 +0000 |
commit | 4e3d1ebdce084d0723c4aeb29e83abc2d6dd32d7 (patch) | |
tree | 1645417f11a24ea1a316a7959246f5c4af75e789 /sst49lfxxxc.c | |
parent | 9823fd2c92e2bbb5f6374c9b6f6c1330424f6e69 (diff) | |
download | flashrom-4e3d1ebdce084d0723c4aeb29e83abc2d6dd32d7.tar.gz |
Original v2 revision: 2748
Cosmetic fixes (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@130 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'sst49lfxxxc.c')
-rw-r--r-- | sst49lfxxxc.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c index 8480877..2ca5842 100644 --- a/sst49lfxxxc.c +++ b/sst49lfxxxc.c @@ -71,7 +71,7 @@ static __inline__ int write_lockbits_49lfxxxc(volatile uint8_t *bios, int size, //printf("lockbits at address=0x%08lx is 0x%01x\n", (unsigned long)0xFFc00000 - size + address + 2, *(bios + address + 2) ); *(bios + address + 2) = bits; - return (0); + return 0; } static __inline__ int erase_sector_49lfxxxc(volatile uint8_t *bios, @@ -91,7 +91,7 @@ static __inline__ int erase_sector_49lfxxxc(volatile uint8_t *bios, } } while (!(status & STATUS_WSMS)); - return (0); + return 0; } static __inline__ int write_sector_49lfxxxc(volatile uint8_t *bios, @@ -124,7 +124,7 @@ static __inline__ int write_sector_49lfxxxc(volatile uint8_t *bios, } while (!(status & STATUS_WSMS)); } - return (0); + return 0; } int probe_49lfxxxc(struct flashchip *flash) @@ -164,7 +164,8 @@ int erase_49lfxxxc(struct flashchip *flash) return (-1); *bios = RESET; - return (0); + + return 0; } int write_49lfxxxc(struct flashchip *flash, uint8_t *buf) @@ -189,5 +190,6 @@ int write_49lfxxxc(struct flashchip *flash, uint8_t *buf) printf("\n"); *bios = RESET; - return (0); + + return 0; } |