Hi Heiko, > + off = dfu->offset; > + if ((off & (mtd->erasesize - 1)) != 0) { > + /* > + * last write ended with unaligned length > + * sector is erased, jump to next > + */ > + off = off & ~((mtd->erasesize - 1)); > + off += mtd->erasesize; > + } > + opts.offset = dfu->data.nand.start + off +
Acked-by: Lukasz Majewski <l.majew...@samsung.com> -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot