summaryrefslogtreecommitdiffstats
path: root/sst49lf040.c
diff options
context:
space:
mode:
authorOllie Lho <ollie@sis.com.tw>2004-03-18 19:40:07 +0000
committerOllie Lho <ollie@sis.com.tw>2004-03-18 19:40:07 +0000
commitcf29de879843ec2293483eeb609191a834a4863c (patch)
tree17ed4f4c1e385338b6470fa3d2974668d6b8b5fc /sst49lf040.c
parentcec287936c8e00039f634cbfeb2cc64b457f2da0 (diff)
downloadast2050-flashrom-cf29de879843ec2293483eeb609191a834a4863c.zip
ast2050-flashrom-cf29de879843ec2293483eeb609191a834a4863c.tar.gz
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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sst49lf040.c b/sst49lf040.c
index 5f2503d..9f75485 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);
OpenPOWER on IntegriCloud