[v3 1/3] clean up the legacy interfaces in nandwrite.c
Artem Bityutskiy
dedekind1 at gmail.com
Sat Sep 18 13:20:40 EDT 2010
On Fri, 2010-06-18 at 18:32 +0800, Stanley.Miao wrote:
> The "struct nand_oobinfo" is able to record only 32 ECC code positions,which
> is not enough for many big NAND chips. Therefore, this structure is replaced
> by "struct nand_ecclayout" in linux kernel from the version 2.6.17.
> Consequently, the ioctl command changed from MEMGETOOBSEL to ECCGETLAYOUT.
>
> Now update nandwrite to use the new ioctl command ECCGETLAYOUT. In order to
> keep compatible with the old linux kernel, a linux version detection function
> is added.
>
> YAFFS and JFFS2 has updated and we don't need the arguments "forcelegacy",
> "forcejffs2", "forceyaffs" anymore. Now clean them up.
>
> Signed-off-by: Stanley.Miao <stanley.miao at windriver.com>
I still have this series marked with red in my box, which means "do not
forget about this". But since this stuff is so old and you disappeared,
I am unmarking this.
--
Best Regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list