diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2003-03-28 03:29:43 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2003-03-28 03:29:43 +0000 |
commit | e555957f0447e9555503979304c570beb11c0467 (patch) | |
tree | 0fd203f09dda52966cbaf18db8fcaa35967b5afe /sst39sf020.c | |
parent | d4228fdc4793c900e3f5eb0d2db0576a6f36235d (diff) | |
download | ast2050-flashrom-e555957f0447e9555503979304c570beb11c0467.zip ast2050-flashrom-e555957f0447e9555503979304c570beb11c0467.tar.gz |
Fixes ...
Corresponding to coreboot v1 svn r760.
Diffstat (limited to 'sst39sf020.c')
-rw-r--r-- | sst39sf020.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sst39sf020.c b/sst39sf020.c index 7e0853a..80116ae 100644 --- a/sst39sf020.c +++ b/sst39sf020.c @@ -27,6 +27,7 @@ #include "flash.h" #include "jedec.h" +#include <stdio.h> #define AUTO_PG_ERASE1 0x20 #define AUTO_PG_ERASE2 0xD0 @@ -160,7 +161,7 @@ int erase_39sf020 (struct flashchip * flash) Temp = bios + 0x5555; /* set up address to be C000:5555h */ *Temp = 0x10; /* write data 0x55 to the address */ - myusec_delay(20000); + myusec_delay(50000); } int write_39sf020 (struct flashchip * flash, char * buf) @@ -181,6 +182,7 @@ int write_39sf020 (struct flashchip * flash, char * buf) write_sector_39sf020(bios, buf + i * page_size, bios + i * page_size, page_size); printf ("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b"); + fflush(stdout); } printf("\n"); |