mtd: Define MLC Flash as a different flash type

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Oct 24 20:59:08 EDT 2010


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=17a22826bbfeed27b10c0d8274fc19d5fc3951c3
Commit:     17a22826bbfeed27b10c0d8274fc19d5fc3951c3
Parent:     ebe8a642f50a0020bed317afcde1f9d2a9da429b
Author:     Rohit Hassan Sathyanarayan <rohit.hs at samsung.com>
AuthorDate: Mon Sep 27 16:02:03 2010 +0530
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Oct 25 00:50:20 2010 +0100

    mtd: Define MLC Flash as a different flash type
    
    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 at samsung.com>
    Signed-off-by: Raghav Gupta <gupta.raghav at samsung.com>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 include/mtd/mtd-abi.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h
index a57c4cb..2f7d45b 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 */



More information about the linux-mtd-cvs mailing list