From: Rohit Hassan Sathyanarayan Date: Mon, 27 Sep 2010 10:32:03 +0000 (+0530) Subject: mtd: Define MLC Flash as a different flash type X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=17a22826bbfeed27b10c0d8274fc19d5fc3951c3;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Raghav Gupta Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- diff --git a/include/mtd/mtd-abi.h b/include/mtd/mtd-abi.h index a57c4cb7d6b2..2f7d45bcbd24 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 */