1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-03 06:53:18 +02:00

Fixes ...

Corresponding to coreboot v1 svn r760.
This commit is contained in:
Ronald G. Minnich
2003-03-28 03:29:43 +00:00
parent d4228fdc47
commit e555957f04
2 changed files with 106 additions and 30 deletions

View File

@ -27,6 +27,7 @@
#include "flash.h"
#include "jedec.h"
#include <stdio.h>
#define AUTO_PG_ERASE1 0x20
#define AUTO_PG_ERASE2 0xD0
@ -160,7 +161,7 @@ int erase_39sf020 (struct flashchip * flash)
Temp = bios + 0x5555; /* set up address to be C000:5555h */
*Temp = 0x10; /* write data 0x55 to the address */
myusec_delay(20000);
myusec_delay(50000);
}
int write_39sf020 (struct flashchip * flash, char * buf)
@ -181,6 +182,7 @@ int write_39sf020 (struct flashchip * flash, char * buf)
write_sector_39sf020(bios, buf + i * page_size, bios + i * page_size,
page_size);
printf ("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b");
fflush(stdout);
}
printf("\n");