diff options
Diffstat (limited to 'stm50flw0x0x.c')
-rw-r--r-- | stm50flw0x0x.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/stm50flw0x0x.c b/stm50flw0x0x.c index 726a882d..f3fc4d8f 100644 --- a/stm50flw0x0x.c +++ b/stm50flw0x0x.c @@ -107,10 +107,6 @@ int erase_sector_stm50flw0x0x(struct flashchip *flash, unsigned int sector, unsi wait_82802ab(flash); - if (check_erased_range(flash, sector, sectorsize)) { - msg_cerr("ERASE FAILED!\n"); - return -1; - } - + /* FIXME: Check the status register for errors. */ return 0; } |