projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
492e150
)
mtd: OneNAND: 4-bit ECC status macros
author
Kyungmin Park
<kmpark@infradead.org>
Wed, 24 Jun 2009 03:03:51 +0000
(12:03 +0900)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Fri, 4 Sep 2009 08:30:39 +0000
(09:30 +0100)
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>
include/linux/mtd/onenand_regs.h
patch
|
blob
|
history
diff --git
a/include/linux/mtd/onenand_regs.h
b/include/linux/mtd/onenand_regs.h
index 86a6bbef646596c1735e509fece60d863b26d2e8..acadbf53a69f519f021e4943e07c5ac2163f4db2 100644
(file)
--- 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)