summaryrefslogtreecommitdiff
path: root/util/flash_and_burn/sst49lf040.c
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-03-18 20:31:54 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-03-18 20:31:54 +0000
commit6f485e684956d0177b77cc58428a55a447793262 (patch)
tree1483dd84aa7ee1e831ae5a4e6baef6af44986e01 /util/flash_and_burn/sst49lf040.c
parentdf273a58a3b6462242af05ec917b8096952ac9d4 (diff)
removed unused code in pm49fl004, remove experimental delay in sst49lf040
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1436 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flash_and_burn/sst49lf040.c')
-rw-r--r--util/flash_and_burn/sst49lf040.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/flash_and_burn/sst49lf040.c b/util/flash_and_burn/sst49lf040.c
index 9f754857aa..48ef44084f 100644
--- a/util/flash_and_burn/sst49lf040.c
+++ b/util/flash_and_burn/sst49lf040.c
@@ -61,11 +61,9 @@ 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(50000);
/* wait for Toggle bit ready */
toggle_ready_jedec(bios);
- myusec_delay(25000);
return(0);
}
@@ -97,8 +95,6 @@ static __inline__ int write_sector_49lf040(volatile char * bios,
*Temp = 0xA0;
*dst = *src;
toggle_ready_jedec(bios);
-
- data_polling_jedec(dst, *src);
if (*dst != *src)
printf("BAD! dst 0x%lx val 0x%x src 0x%x\n",
(unsigned long)dst, *dst, *src);