[U-Boot] [PATCH v5 4/5] mtdparts: add new sub-command "spread"

Scott Wood
2010-08-30T21:05:01Z

On Mon, 30 Aug 2010 16:01:05 -0500
Scott Wood <scottwood@freescale.com> wrote:

> On Mon, 30 Aug 2010 13:38:59 -0400
> Ben Gardiner <bengardiner@nanometrics.ca> wrote:
>
> > + if (!truncated) {
> > + mtd_get_len_incl_bad(mtd, part->offset + net_size,
> > + mtd->erasesize, &padding_size, &truncated);
> > + padding_size -= mtd->erasesize;
>
> What if this is the last partition? You're relying on an
> implementation quick (bug?)

Grr, s/quick/quirk/

-Scot