[PATCH for mtd-utils 0/4] about the SLC/MLC

Huang Shijie b32955 at freescale.com
Tue Oct 22 19:29:27 PDT 2013


于 2013年10月23日 07:33, Brian Norris 写道:
> You're missing flash_erase.c, which still has:
>
> 	isNAND = mtd.type == MTD_NANDFLASH ? 1 : 0;
I missed it on purpose.

The "isNAND" is used for the jffs2 to write the cleanmarker.

Since the jffs2 does not support the MLC now, the above line is used to 
check the SLC nand now.
Only the SLC nand can be written with the cleanmarker.

Am i right?

thanks
Huang Shijie







More information about the linux-mtd mailing list