public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Kconfig support HW ECC for nand driver on OMAP3
@ 2008-08-25  5:42 Singh, Vimal
  2008-09-02 22:24 ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Singh, Vimal @ 2008-08-25  5:42 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

From: Teerth Reddy <teerth@ti.com>

Add kconfig support for HW ECC for nand driver on OMAP3

Signed-off-by: Teerth Reddy <teerth@ti.com>
---
 drivers/mtd/nand/Kconfig |   10 ++++++++++
 1 files changed, 10 insertions(+)

Index : linux-omap-2.6/drivers/mtd/nand/Kconfig
==================================================================================
--- a/drivers/mtd/nand/Kconfig	2008-08-25 10:26:51.708901000 +0530
+++ b/drivers/mtd/nand/Kconfig	2008-08-25 10:28:12.820012000 +0530
@@ -74,6 +74,16 @@ config MTD_NAND_OMAP2
 	help
           Support for NAND flash on Texas Instruments OMAP2 and OMAP3 platforms.
 
+config MTD_NAND_OMAP_HWECC
+	bool "The Hardware ECC support"
+	depends on MTD_NAND && MTD_NAND_OMAP2
+	default n
+	help
+	 The ECC compuatation for the data to be written/read can be either by
+	 software or omap has Hw ecc engine which calculates it.
+	 MTD_NAND_OMAP_HWECC = y which enables the hw ecc
+	 MTD_NAND_OMAP_HWECC = n enables software ecc
+
 config MTD_NAND_OMAP
 	tristate "NAND Flash device on OMAP H3/H2/P2 boards"
 	depends on ARM && ARCH_OMAP1 && MTD_NAND && (MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_PERSEUS2)

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

end of thread, other threads:[~2008-09-04  8:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-25  5:42 [PATCH] ARM: OMAP: Kconfig support HW ECC for nand driver on OMAP3 Singh, Vimal
2008-09-02 22:24 ` Tony Lindgren
2008-09-04  8:21   ` Singh, Vimal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox