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:
@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user