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 (Артём Битюцкий)