summaryrefslogtreecommitdiff
path: root/util/flash_and_burn
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-03-18 20:35:33 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-03-18 20:35:33 +0000
commit52a84d71460ce4518b66507d7e4e652b761a1fad (patch)
treeadc95178d8aa502e198efe5d5dcd890adb8683b6 /util/flash_and_burn
parent6f485e684956d0177b77cc58428a55a447793262 (diff)
forgot a semicolon
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1437 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flash_and_burn')
-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;