Patchwork [2/2,MTD] MLC device check in OneNAND driver

login
register
mail settings
Submitter Rohit Hassan Sathyanarayan
Date Sept. 23, 2010, 11:56 a.m.
Message ID <000201cb5b16$5cf17fd0$16d47f70$%hs@samsung.com>
Download mbox | patch
Permalink /patch/65532/
State New
Headers show

Comments

Rohit Hassan Sathyanarayan - Sept. 23, 2010, 11:56 a.m.
Hi Artem,


Adding MLC flash type.




Signed-off-by: Rohit HS <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(-)

--


Regards,
Rohit.H.S
Artem Bityutskiy - Sept. 24, 2010, 8:40 a.m.
On Thu, 2010-09-23 at 17:26 +0530, Rohit Hassan Sathyanarayan wrote:
> Hi Artem,
> 
> 
> Adding MLC flash type.
> 
> 
> 
> 
> Signed-off-by: Rohit HS <rohit.hs@samsung.com>
> Signed-off-by: Raghav Gupta <gupta.raghav@samsung.com>

Similar nit-picks as for the previous patch.

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 */