mtd: OneNAND: 4-bit ECC status macros

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Sep 4 04:59:01 EDT 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=652696efce135559b98ee5a3d7899295e8d553fa
Commit:     652696efce135559b98ee5a3d7899295e8d553fa
Parent:     492e1501431e0d24c5b46933fdcb60639eacded7
Author:     Kyungmin Park <kmpark at infradead.org>
AuthorDate: Wed Jun 24 12:03:51 2009 +0900
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Sep 4 09:30:39 2009 +0100

    mtd: OneNAND: 4-bit ECC status macros
    
    Define ECC status for 4-bit ECC status
    
    Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 include/linux/mtd/onenand_regs.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/linux/mtd/onenand_regs.h b/include/linux/mtd/onenand_regs.h
index 86a6bbe..acadbf5 100644
--- a/include/linux/mtd/onenand_regs.h
+++ b/include/linux/mtd/onenand_regs.h
@@ -207,6 +207,9 @@
 #define ONENAND_ECC_2BIT		(1 << 1)
 #define ONENAND_ECC_2BIT_ALL		(0xAAAA)
 #define FLEXONENAND_UNCORRECTABLE_ERROR	(0x1010)
+#define ONENAND_ECC_3BIT		(1 << 2)
+#define ONENAND_ECC_4BIT		(1 << 3)
+#define ONENAND_ECC_4BIT_UNCORRECTABLE	(0x1010)
 
 /*
  * One-Time Programmable (OTP)



More information about the linux-mtd-cvs mailing list