From: vimalsingh@ti.com (Vimal Singh)
To: linux-mtd@lists.infradead.org
Subject: [PATCH] OMAP: NAND: Adding config option to enable/disable HW ECC mode
Date: Tue, 15 Dec 2009 21:10:54 +0530 [thread overview]
Message-ID: <mailman.94.1260892023.2170.linux-mtd@lists.infradead.org> (raw)
This patch adds config option to select/deselect HW ECC feature
on OMAP NAND driver. This is a feature provided by OMAP GPMC for
NAND devices.
Signed-off-by: Vimal Singh <vimalsingh@ti.com>
---
drivers/mtd/nand/Kconfig | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 34598e9..6c4b27c 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -97,6 +97,16 @@ config MTD_NAND_OMAP_PREFETCH_DMA
or in DMA interrupt mode.
Say y for DMA mode or MPU mode will be used
+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_TS7250
tristate "NAND Flash device on TS-7250 board"
depends on MACH_TS72XX
--
1.5.5
next reply other threads:[~2009-12-15 15:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-15 15:40 Vimal Singh [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-12-15 15:46 [PATCH] OMAP: NAND: Adding config option to enable/disable HW ECC mode Vimal Singh
2009-12-15 17:35 ` Tony Lindgren
2009-12-16 5:05 ` Vimal Singh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mailman.94.1260892023.2170.linux-mtd@lists.infradead.org \
--to=vimalsingh@ti.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox