diff options
author | Ollie Lho <ollie@sis.com.tw> | 2004-03-18 20:31:54 +0000 |
---|---|---|
committer | Ollie Lho <ollie@sis.com.tw> | 2004-03-18 20:31:54 +0000 |
commit | f36ad4f172fe6f5d199253106de0104e2532aaea (patch) | |
tree | 4c56d06ad4b1ef80a1b85d82733ff5d6e2a3ca27 /sst49lf040.c | |
parent | 789ad3db351e53767d10b05fe9c2ed69757fa3ed (diff) | |
download | flashrom-f36ad4f172fe6f5d199253106de0104e2532aaea.tar.gz flashrom-f36ad4f172fe6f5d199253106de0104e2532aaea.tar.bz2 flashrom-f36ad4f172fe6f5d199253106de0104e2532aaea.zip |
Remove unused code in pm49fl004, remove experimental delay in sst49lf040
Corresponding to flashrom svn r10 and coreboot v2 svn r1436.
Diffstat (limited to 'sst49lf040.c')
-rw-r--r-- | sst49lf040.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sst49lf040.c b/sst49lf040.c index 9f754857a..48ef44084 100644 --- a/sst49lf040.c +++ b/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); |