summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/onenand_regs.h
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2006-11-16 12:03:56 +0900
committerKyungmin Park <kyungmin.park@samsung.com>2006-11-16 12:03:56 +0900
commitf4f91ac3c833abbd7181ff2122c6b48a653b4e55 (patch)
tree16202b5e260e08e0b5401d55352d62b94ef8ad62 /include/linux/mtd/onenand_regs.h
parent08f782b60a633cbd926ef5e49de303a752390719 (diff)
[MTD] OneNAND: Single bit error detection
Idea from Jarkko Lavinen Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/linux/mtd/onenand_regs.h')
-rw-r--r--include/linux/mtd/onenand_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand_regs.h b/include/linux/mtd/onenand_regs.h
index 9e409fe6ded..e31c8f5d427 100644
--- a/include/linux/mtd/onenand_regs.h
+++ b/include/linux/mtd/onenand_regs.h
@@ -179,6 +179,7 @@
* ECC Status Reigser FF00h (R)
*/
#define ONENAND_ECC_1BIT (1 << 0)
+#define ONENAND_ECC_1BIT_ALL (0x5555)
#define ONENAND_ECC_2BIT (1 << 1)
#define ONENAND_ECC_2BIT_ALL (0xAAAA)