summaryrefslogtreecommitdiffstats
path: root/sst49lfxxxc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sst49lfxxxc.c')
-rw-r--r--sst49lfxxxc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c
index 2875d64..3c4405d 100644
--- a/sst49lfxxxc.c
+++ b/sst49lfxxxc.c
@@ -91,6 +91,7 @@ static int erase_sector_49lfxxxc(struct flashchip *flash, unsigned long address,
return (-1);
}
} while (!(status & STATUS_WSMS));
+ chip_writeb(RESET, bios);
if (check_erased_range(flash, address, sector_size)) {
fprintf(stderr, "ERASE FAILED!\n");
OpenPOWER on IntegriCloud