From: Kyungmin Park Date: Wed, 24 Jun 2009 03:03:51 +0000 (+0900) Subject: mtd: OneNAND: 4-bit ECC status macros X-Git-Tag: upstream/snapshot3+hdmi~17128^2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=652696efce135559b98ee5a3d7899295e8d553fa;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mtd: OneNAND: 4-bit ECC status macros Define ECC status for 4-bit ECC status Signed-off-by: Kyungmin Park Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- 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)