Fixes ...
Corresponding to coreboot v1 svn r760.
diff --git a/sst39sf020.c b/sst39sf020.c
index 7e0853a..80116ae 100644
--- a/sst39sf020.c
+++ b/sst39sf020.c
@@ -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 @@
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 @@
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");