diff options
author | Ollie Lho <ollie@sis.com.tw> | 2004-03-18 19:40:07 +0000 |
---|---|---|
committer | Ollie Lho <ollie@sis.com.tw> | 2004-03-18 19:40:07 +0000 |
commit | cf29de879843ec2293483eeb609191a834a4863c (patch) | |
tree | 17ed4f4c1e385338b6470fa3d2974668d6b8b5fc /sst49lf040.c | |
parent | cec287936c8e00039f634cbfeb2cc64b457f2da0 (diff) | |
download | flashrom-cf29de879843ec2293483eeb609191a834a4863c.tar.gz flashrom-cf29de879843ec2293483eeb609191a834a4863c.tar.bz2 flashrom-cf29de879843ec2293483eeb609191a834a4863c.zip |
Fix 32bit vs. 64bit long int arithematics
Corresponding to flashrom svn r8 and coreboot v2 svn r1434.
Diffstat (limited to 'sst49lf040.c')
-rw-r--r-- | sst49lf040.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sst49lf040.c b/sst49lf040.c index 5f2503d2..9f754857 100644 --- a/sst49lf040.c +++ b/sst49lf040.c @@ -21,6 +21,8 @@ * Reference: * 4 MEgabit (512K x 8) SuperFlash EEPROM, SST49lF040 data sheet * + * ToDo: Consilidated to standard JEDEC code. + * * $Id$ */ #include <stdio.h> @@ -59,7 +61,7 @@ static int erase_sector_49lf040 (volatile char * bios, unsigned int page) myusec_delay(10); Temp = bios + page; /* set up address to be the current sector */ *Temp = 0x30; /* write data 0x30 to the address */ - myusec_delay(25000); + myusec_delay(50000); /* wait for Toggle bit ready */ toggle_ready_jedec(bios); |