Re: [RFC PATCH] mtd: mxc_nand: fix OOB corruption when page size > 2k

Artem Bityutskiy
2011-03-09T14:17:41Z

On Wed, 2011-03-09 at 16:12 +0200, Baruch Siach wrote:
> if (mtd->writesize == 2048)
> this->ecc.layout = oob_largepage;
> + if (nfc_is_v21() && mtd->writesize == 4096)
> + this->ecc.layout = &nandv2_hw_eccoob_4k;

Nitpick, but this could be "else if".

--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)