diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2006-11-16 04:03:56 +0100 |
---|---|---|
committer | Kyungmin Park <kyungmin.park@samsung.com> | 2006-11-16 04:03:56 +0100 |
commit | f4f91ac3c833abbd7181ff2122c6b48a653b4e55 (patch) | |
tree | 16202b5e260e08e0b5401d55352d62b94ef8ad62 /include | |
parent | [MTD] OneNAND: lock support (diff) | |
download | linux-f4f91ac3c833abbd7181ff2122c6b48a653b4e55.tar.xz linux-f4f91ac3c833abbd7181ff2122c6b48a653b4e55.zip |
[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')
-rw-r--r-- | include/linux/mtd/onenand_regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand_regs.h b/include/linux/mtd/onenand_regs.h index 9e409fe6ded6..e31c8f5d4271 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) |