Re: [PATCH 2/3] mtd: mediatek: driver for MTK Smart Device Gen1 NAND

Jorge Ramirez-Ortiz
2016-03-09T20:01:47Z

On 03/08/2016 11:24 AM, Boris Brezillon wrote:
>> + switch (mtd->writesize) {
>> > + case KB(2):
>> > + fmt = PAGEFMT_512_2K;
>> > + chip->ecc.layout = &nand_2k_64;
>> > + break;
>> > + case KB(4):
>> > + fmt = PAGEFMT_2K_4K;
>> > + chip->ecc.layout = &nand_4k_128;
>> > + break;
>> > + case KB(8):
>> > + fmt = PAGEFMT_4K_8K;
>> > + break;
>> > + default:
>> > + dev_err(dev, "invalid page size: %d\n", mtd->writesize);
>> > + return -EINVAL;
>> > + }
> ecclayout info should be exposed through mtd_ooblayout_ops now.
>

do you have an approximate date for when this interface will be merged in
git://git.infradead.org/l2-mtd.git?