linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] MTD: atmel_nand: Update Kconfig to support PMECC
@ 2011-12-08  6:53 Hong Xu
  2011-12-08  6:53 ` [PATCH 2/2] MTD: atmel_nand: Update driver code to support Programmable HW ECC controller Hong Xu
  2011-12-12 20:58 ` [PATCH 1/2] MTD: atmel_nand: Update Kconfig to support PMECC Artem Bityutskiy
  0 siblings, 2 replies; 7+ messages in thread
From: Hong Xu @ 2011-12-08  6:53 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Hong Xu <hong.xu@atmel.com>
---
 drivers/mtd/nand/Kconfig |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index cce7b70..bc12d50 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -365,6 +365,23 @@ config MTD_NAND_ATMEL_ECC_HW
 
 	  If unsure, say Y
 
+config MTD_NAND_ATMEL_PMECC_HW
+	bool "Programmable Hardware ECC (BCH code)"
+	depends on ARCH_AT91SAM9X5 || ARCH_AT91SAM9N12
+	help
+	  Use Programmable Hardware ECC (PMECC) controller.
+
+	  The PMECC Controller is a programmable binary BCH (Bose, Chaudhuri
+	  and Hocquenghem) encoder/decoder. This controller can be used to
+	  generate redundancy information for both SLC and MLC NAND Flash
+	  devices.
+
+	  NB : hardware and software ECC schemes are incompatible.
+	  If you switch from one to another, you'll have to erase your
+	  mtd partition.
+
+	  If unsure, say Y
+
 config MTD_NAND_ATMEL_ECC_SOFT
 	bool "Software ECC"
 	help
-- 
1.7.3.3

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-12-19  1:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-08  6:53 [PATCH 1/2] MTD: atmel_nand: Update Kconfig to support PMECC Hong Xu
2011-12-08  6:53 ` [PATCH 2/2] MTD: atmel_nand: Update driver code to support Programmable HW ECC controller Hong Xu
2011-12-12 20:58 ` [PATCH 1/2] MTD: atmel_nand: Update Kconfig to support PMECC Artem Bityutskiy
2011-12-13  1:14   ` Hong Xu
2011-12-13  1:58     ` Hong Xu
2011-12-17 15:33       ` Artem Bityutskiy
2011-12-19  1:58         ` Hong Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).