diff options
author | Kyungmin Park <kmpark@infradead.org> | 2009-06-24 12:03:51 +0900 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-09-04 09:30:39 +0100 |
commit | 652696efce135559b98ee5a3d7899295e8d553fa (patch) | |
tree | 9a229aeaeebc859856aa01a5b22d31a6683b9263 /include/linux/mtd | |
parent | 492e1501431e0d24c5b46933fdcb60639eacded7 (diff) | |
download | kernel_samsung_espresso10-652696efce135559b98ee5a3d7899295e8d553fa.zip kernel_samsung_espresso10-652696efce135559b98ee5a3d7899295e8d553fa.tar.gz kernel_samsung_espresso10-652696efce135559b98ee5a3d7899295e8d553fa.tar.bz2 |
mtd: OneNAND: 4-bit ECC status macros
Define ECC status for 4-bit ECC status
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r-- | 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) |