summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOllie Lho <ollie@sis.com.tw>2004-03-18 20:35:33 +0000
committerOllie Lho <ollie@sis.com.tw>2004-03-18 20:35:33 +0000
commit856943d483176bb496e22cdd23514cfeee65c86e (patch)
tree1f19831d7f88a9a9c32a91d67b47c7fbfc60c5e8
parentf36ad4f172fe6f5d199253106de0104e2532aaea (diff)
downloadast2050-flashrom-856943d483176bb496e22cdd23514cfeee65c86e.zip
ast2050-flashrom-856943d483176bb496e22cdd23514cfeee65c86e.tar.gz
Forgot a semicolon
Corresponding to flashrom svn r11 and coreboot v2 svn r1437.
-rw-r--r--flash_rom.c2
-rw-r--r--pm49fl004.c7
2 files changed, 5 insertions, 4 deletions
diff --git a/flash_rom.c b/flash_rom.c
index d57957d..c26958f 100644
--- a/flash_rom.c
+++ b/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/pm49fl004.c b/pm49fl004.c
index ce73be0..3e4e877 100644
--- a/pm49fl004.c
+++ b/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;
OpenPOWER on IntegriCloud