Skip to contentSkip to conversation

4-bit ECC status macros

PATCH New Kyungmin Park 1 participant 1 message Jun 24, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 4-bit ECC status macros

Define ECC status for 4-bit ECC status

---

include/linux/mtd/onenand_regs.h +3 -0
index 0c6bbe2..b4cbd80 100644
@@ -192,6 +192,9 @@
 #define ONENAND_ECC_1BIT_ALL		(0x5555)
 #define ONENAND_ECC_2BIT		(1 << 1)
 #define ONENAND_ECC_2BIT_ALL		(0xAAAA)
+#define ONENAND_ECC_3BIT		(1 << 2)
+#define ONENAND_ECC_4BIT		(1 << 3)
+#define ONENAND_ECC_4BIT_UNCORRECTABLE	(0x1010)
 
 /*
  * One-Time Programmable (OTP)