summaryrefslogtreecommitdiffstats
path: root/m29f002.c
diff options
context:
space:
mode:
Diffstat (limited to 'm29f002.c')
-rw-r--r--m29f002.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/m29f002.c b/m29f002.c
index a836587..8afef79 100644
--- a/m29f002.c
+++ b/m29f002.c
@@ -77,7 +77,7 @@ int write_m29f002t(struct flashchip *flash, uint8_t *buf) {
do_block(bios, buf, i++, 0x30000, 32*1024);
do_block(bios, buf, i++, 0x38000, 8*1024);
do_block(bios, buf, i++, 0x3a000, 8*1024);
- do_block(bios, buf, i++, 0x3c000, 16*1024);
+ do_block(bios, buf, i, 0x3c000, 16*1024);
printf("\n");
return 0;
OpenPOWER on IntegriCloud