summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/flash_and_burn/flash_rom.c2
-rw-r--r--util/flash_and_burn/pm49fl004.c7
2 files changed, 5 insertions, 4 deletions
diff --git a/util/flash_and_burn/flash_rom.c b/util/flash_and_burn/flash_rom.c
index d57957d44e..c26958f4ba 100644
--- a/util/flash_and_burn/flash_rom.c
+++ b/util/flash_and_burn/flash_rom.c
@@ -150,7 +150,7 @@ int verify_flash (struct flashchip * flash, char * buf, int verbose)
}
if (verbose)
printf("\b\b\b\b\b\b\b\b\b\b");
- i++
+ i++;
}
if (verbose)
printf("\n");
diff --git a/util/flash_and_burn/pm49fl004.c b/util/flash_and_burn/pm49fl004.c
index ce73be0e34..3e4e877e88 100644
--- a/util/flash_and_burn/pm49fl004.c
+++ b/util/flash_and_burn/pm49fl004.c
@@ -58,10 +58,11 @@ static __inline__ int erase_block_49fl004 ( volatile unsigned char * bios ,unsig
return(0);
}
+
static __inline__ int write_block_49fl004(volatile char * bios,
- unsigned char * src,
- volatile unsigned char * dst,
- unsigned int page_size)
+ unsigned char * src,
+ volatile unsigned char * dst,
+ unsigned int page_size)
{
int i;
volatile char *Temp;