[PATCH v2] mtd: gpmi: add NAND write verify support

Huang Shijie b32955 at freescale.com
Mon Aug 13 01:09:34 EDT 2012


于 2012年08月13日 12:44, Artem Bityutskiy 写道:
> On Sat, Aug 11, 2012 at 6:25 PM, Huang Shijie<shijie8 at gmail.com>  wrote:
>> Add NAND write verify support in gpmi-nand driver.
>>
>> This patch fixes a kernel crash when we select
>> CONFIG_MTD_NAND_VERIFY_WRITE=y, and do some write tests:
> I would just kill ONFIG_MTD_NAND_VERIFY_WRITE entirely. Some drivers
> do not support it and it does not work for sub-pages for long time.
> Both UBI and JFFS2 are able to read verify what they wrote already.
> There are also MTD tests which do this verification. So I think there
> is no reason to keep this in the NAND layer, let alone wasting RAM in
> the driver to support this feature.
>
> I am also removing the -stable mailing list - ne need to spam it.
>
thanks a lot. Maybe we should send a patch to remove the 
CONFIG_MTD_NAND_VERIFY_WRITE feature entirely.

Huang Shijie




More information about the linux-arm-kernel mailing list