[PATCH v4 00/12] About the SLC/MLC

Brian Norris computersforpeace at gmail.com
Mon Sep 30 19:15:26 EDT 2013


On Wed, Sep 25, 2013 at 02:58:09PM +0800, Huang Shijie wrote:
> In current mtd code, the MTD_NANDFLASH is used to represent both the
> SLC nand MLC(including the TLC). But we already have the MTD_MLCNANDFLASH
> to stand for the MLC. What is worse is that the JFFS2 may run on the MLC
> nand with current code. For the reason of READ/WRITE disturbance, the JFFS2
> should runs on the SLC only,
>        
> This patch set tries to make clear what is the SLC/MLC by adding the macros,
> adding helpers, adding the comments. ..
> 
> After this patch set, the gpmi can support the JFFS2 for some SLC NAND now 
> (only when the left oob area is big enough).

...

> Huang Shijie (12):
>   mtd: nand: add a helper to check the SLC/MLC nand chip
>   mtd: nand: rename the cellinfo to bits_per_cell
>   mtd: nand: add the "bits per cell" info for legacy ID NAND
>   mtd: nand: set the cell information for ONFI nand
>   mtd: nand: print out the cell information for nand chip
>   mtd: gpmi: rewrite the gpmi_ecc_write_oob() to support the jffs2
>   mtd: nand: add more comment for MTD_NANDFLASH/MTD_MLCNANDFLASH
>   mtd: nand: add a helper to detect the nand type
>   mtd: mtd-abi: add a helper to detect the nand type
>   mtd: add MTD_MLCNANDFLASH case for mtd_type_show()
>   jffs2: do not support the MLC nand
>   mtd: nand: fix the wrong mtd->type for nand chip

Pushed the whole series to l2-mtd.git, with a few amendments of my own
to fix trivial issues.

Are the mtd-utils fixes still applicable as-is? I'll review them next,
since we should get mtd-utils updated before the kernel changes make it
to mainline.

Brian



More information about the linux-mtd mailing list