diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2007-04-01 19:44:21 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2007-04-01 19:44:21 +0000 |
commit | efe5a596346f3aebe4414128286fbd5503b01dfa (patch) | |
tree | 3dbee147f9d1e292cd914e216f77790c5a895345 /82802ab.h | |
parent | 27477edd4dbe72c24c5b9300f9a0ae53940d3e28 (diff) | |
download | flashrom-efe5a596346f3aebe4414128286fbd5503b01dfa.zip flashrom-efe5a596346f3aebe4414128286fbd5503b01dfa.tar.gz |
Coding style fixes
Corresponding to flashrom svn r97 and coreboot v2 svn r2577.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to '82802ab.h')
-rw-r--r-- | 82802ab.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -21,7 +21,8 @@ extern __inline__ void toggle_ready_82802ab(volatile uint8_t *dst) } } -extern __inline__ void data_polling_82802ab(volatile uint8_t *dst, uint8_t data) +extern __inline__ void data_polling_82802ab(volatile uint8_t *dst, + uint8_t data) { unsigned int i = 0; uint8_t tmp; @@ -38,9 +39,9 @@ extern __inline__ void data_polling_82802ab(volatile uint8_t *dst, uint8_t data) extern __inline__ void protect_82802ab(volatile uint8_t *bios) { - *(volatile uint8_t *) (bios + 0x5555) = 0xAA; - *(volatile uint8_t *) (bios + 0x2AAA) = 0x55; - *(volatile uint8_t *) (bios + 0x5555) = 0xA0; + *(volatile uint8_t *)(bios + 0x5555) = 0xAA; + *(volatile uint8_t *)(bios + 0x2AAA) = 0x55; + *(volatile uint8_t *)(bios + 0x5555) = 0xA0; usleep(200); } |