On Wed, 5 Aug 2020, at 21:13, John Thomson wrote:

> -@@ -213,6 +262,24 @@ static int part_erase(struct mtd_info *m
>       if (instr->fail_addr != MTD_FAIL_ADDR_UNKNOWN)
>               instr->fail_addr -= part->offset;

I should modify this to avoid the _write, if the _erase fails before the write 
address?

>       if (mtd->flags & MTD_ERASE_PARTIAL) {
>               if (partial_start) {
>                       part->parent->_write(part->parent,


-- 
  John Thomson

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to