summaryrefslogtreecommitdiffstats
path: root/82802ab.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-04-01 19:44:21 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-04-01 19:44:21 +0000
commit0b7afe65fb83bece914bb314e2c707d6d4b7ec4c (patch)
tree3dbee147f9d1e292cd914e216f77790c5a895345 /82802ab.h
parent3ad2518939fb496df4544c7876cf412597bb3b03 (diff)
downloadast2050-flashrom-0b7afe65fb83bece914bb314e2c707d6d4b7ec4c.zip
ast2050-flashrom-0b7afe65fb83bece914bb314e2c707d6d4b7ec4c.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.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/82802ab.h b/82802ab.h
index 7836f36..f71f180 100644
--- a/82802ab.h
+++ b/82802ab.h
@@ -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);
}
OpenPOWER on IntegriCloud