diff options
author | Li-Ta Lo <ollie@lanl.gov> | 2004-03-18 19:40:07 +0000 |
---|---|---|
committer | Li-Ta Lo <ollie@lanl.gov> | 2004-03-18 19:40:07 +0000 |
commit | 26b237ee18cf3f846313d85dcb80fb42041c3529 (patch) | |
tree | cdc854c4665f476a154a98b506f41637a15ea491 /util/flash_and_burn/sst49lf040.c | |
parent | 698f23db22cc71da488eb9bec001fda60cbf0b35 (diff) |
fixed 32bit v.s. 64bit long int arithematics
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1434 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flash_and_burn/sst49lf040.c')
-rw-r--r-- | util/flash_and_burn/sst49lf040.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/flash_and_burn/sst49lf040.c b/util/flash_and_burn/sst49lf040.c index 5f2503d2ce..9f754857aa 100644 --- a/util/flash_and_burn/sst49lf040.c +++ b/util/flash_and_burn/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); |