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>
diff --git a/am29f040b.c b/am29f040b.c
index 7b82331..ae9fb07 100644
--- a/am29f040b.c
+++ b/am29f040b.c
@@ -54,9 +54,9 @@
int i;
for (i = 0; i < page_size; i++) {
- if( (i & 0xfff) == 0xfff )
- printf("0x%08lx", (unsigned long) dst -
- (unsigned long) bios);
+ if ((i & 0xfff) == 0xfff)
+ printf("0x%08lx", (unsigned long)dst -
+ (unsigned long)bios);
*(bios + 0x555) = 0xAA;
*(bios + 0x2AA) = 0x55;
@@ -66,7 +66,7 @@
/* wait for Toggle bit ready */
toggle_ready_jedec(bios);
- if( (i & 0xfff) == 0xfff )
+ if ((i & 0xfff) == 0xfff)
printf("\b\b\b\b\b\b\b\b\b\b");
}
@@ -116,8 +116,8 @@
int write_29f040b(struct flashchip *flash, uint8_t *buf)
{
int i;
- int total_size = flash->total_size * 1024, page_size =
- flash->page_size;
+ int total_size = flash->total_size * 1024;
+ int page_size = flash->page_size;
volatile uint8_t *bios = flash->virt_addr;
printf("Programming page ");