Patchwork [v3,1/2] mtd: Define MLC Flash as a different flash type

login
register
mail settings
Submitter Rohit Hassan Sathyanarayan
Date Sept. 27, 2010, 10:32 a.m.
Message ID <002701cb5e2f$3aed3890$b0c7a9b0$%hs@samsung.com>
Download mbox | patch
Permalink /patch/65829/
State New
Headers show

Comments

Rohit Hassan Sathyanarayan - Sept. 27, 2010, 10:32 a.m.
MLC NAND Flash has a different cell structure and differs in
functioning than the SLC NAND Flash. Hence we are considering it as
a different Flash type.

Signed-off-by: Rohit H.S <rohit.hs@samsung.com>
Signed-off-by: Raghav Gupta <gupta.raghav@samsung.com>
---
 include/mtd/mtd-abi.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
index 4debb45..8d8161c 100644
--- a/include/mtd/mtd-abi.h
+++ b/include/mtd/mtd-abi.h
@@ -52,6 +52,7 @@  struct mtd_oob_buf64 {
 #define MTD_NANDFLASH		4
 #define MTD_DATAFLASH		6
 #define MTD_UBIVOLUME		7
+#define MTD_MLCNANDFLASH	8
 
 #define MTD_WRITEABLE		0x400	/* Device is writeable */
 #define MTD_BIT_WRITEABLE	0x800	/* Single bits can be flipped */