summaryrefslogtreecommitdiffstats
path: root/flash_rom.c
diff options
context:
space:
mode:
authorOllie Lho <ollie@sis.com.tw>2004-12-08 02:10:33 +0000
committerOllie Lho <ollie@sis.com.tw>2004-12-08 02:10:33 +0000
commit1b8b66000f6c8f18193cd93fff1e852faaa9715f (patch)
tree243aa40ddfcb6c075f1c4dc329e003b341033091 /flash_rom.c
parentd11f36180814c45b82142b168c95c6515278a926 (diff)
downloadast2050-flashrom-1b8b66000f6c8f18193cd93fff1e852faaa9715f.zip
ast2050-flashrom-1b8b66000f6c8f18193cd93fff1e852faaa9715f.tar.gz
Add retry to write_byte_program_jedec(), 99% success rate
Corresponding to flashrom svn r29 and coreboot v2 svn r1814.
Diffstat (limited to 'flash_rom.c')
-rw-r--r--flash_rom.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/flash_rom.c b/flash_rom.c
index c01f531..bf338cc 100644
--- a/flash_rom.c
+++ b/flash_rom.c
@@ -200,19 +200,6 @@ int main(int argc, char *argv[])
unsigned int exclude_start_position=0, exclude_end_position=0; // [x,y)
char *tempstr=NULL;
-#if 0
-
-#if 1
- /* Keep fallback image */
- exclude_start_position = 0x60000;
- exclude_end_position = 0x80000;
-#else
- /* Keep DMI etc. */
- exclude_start_position = 0x60000;
- exclude_end_position = 0x70000;
-#endif
-
-#endif
if (argc > 1) {
/* Yes, print them. */
OpenPOWER on IntegriCloud