From: josh.wu@atmel.com (Josh Wu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v11 0/4] MTD: at91: Add PMECC support for at91 nand flash driver
Date: Mon, 25 Jun 2012 18:07:42 +0800 [thread overview]
Message-ID: <1340618866-28776-1-git-send-email-josh.wu@atmel.com> (raw)
Those patches is based on v3.5-rc4
Changes since v10,
add one more patch in this patch set, which add 'int' return value for write_page()/write_page_raw() functions in structure of nand_ecc_ctrl.
Instead of calling BUG(), atmel_nand_pmecc_write_page() will return -EIO when time out to read the pmecc status register.
increase the time-out duration to 100ms, which has more toleration.
add oob_required argument for pmecc read/write functions to align with v3.5-rc4.
Changes since v9,
use jiffies for timeout test to read PMECC status register.
modified according to J.C and Artem's comments.
add rom lookup table offset as DT variables.
refine coding style and error handling.
Changes since v8,
use _relaxed read/write in most place. use writel in operations of Control Register since it needs memory barrier.
allocate the data for PMECC computation.
add pmecc prefix for related variable/functions.
modify code according to J.C's suggestion.
Josh Wu (4):
MTD: at91: extract hw ecc initialization to one function
MTD: at91: add dt parameters for Atmel PMECC
MTD: nand: add return value for write_page()/write_page_raw() functions in structure of nand_ecc_ctrl.
MTD: at91: atmel_nand: Update driver to support Programmable Multibit ECC controller
.../devicetree/bindings/mtd/atmel-nand.txt | 9 +
drivers/mtd/nand/atmel_nand.c | 914 ++++++++++++++++++--
drivers/mtd/nand/atmel_nand_ecc.h | 114 ++-
drivers/mtd/nand/bcm_umi_bch.c | 6 +-
drivers/mtd/nand/bf5xx_nand.c | 6 +-
drivers/mtd/nand/cafe_nand.c | 11 +-
drivers/mtd/nand/denali.c | 12 +-
drivers/mtd/nand/docg4.c | 8 +-
drivers/mtd/nand/fsl_elbc_nand.c | 4 +-
drivers/mtd/nand/fsl_ifc_nand.c | 4 +-
drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 6 +-
drivers/mtd/nand/nand_base.c | 27 +-
drivers/mtd/nand/pxa3xx_nand.c | 4 +-
drivers/mtd/nand/sh_flctl.c | 4 +-
include/linux/mtd/nand.h | 4 +-
15 files changed, 1039 insertions(+), 94 deletions(-)
--
1.7.9.5
next reply other threads:[~2012-06-25 10:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-25 10:07 Josh Wu [this message]
2012-06-25 10:07 ` [PATCH v11 1/4] MTD: at91: extract hw ecc initialization to one function Josh Wu
2012-06-27 9:26 ` Artem Bityutskiy
2012-06-25 10:07 ` [PATCH v11 2/4] MTD: at91: add dt parameters for Atmel PMECC Josh Wu
2012-06-25 10:35 ` Richard Genoud
2012-06-26 6:05 ` Josh Wu
2012-06-25 10:07 ` [PATCH v11 3/4] MTD: nand: add return value for write_page()/write_page_raw() functions in structure of nand_ecc_ctrl Josh Wu
2012-06-27 9:26 ` Artem Bityutskiy
2012-06-25 10:07 ` [PATCH v11 4/4] MTD: at91: atmel_nand: Update driver to support Programmable Multibit ECC controller Josh Wu
2012-06-25 10:27 ` Richard Genoud
2012-06-26 6:03 ` Josh Wu
2012-06-26 14:15 ` Richard Genoud
2012-06-26 14:37 ` [PATCH v11 4/4] MTD: at91: atmel_nand: Update driver to support Programmable Multibit ECC controller (REPORT SPAM) William F.
2012-06-27 11:22 ` [PATCH v11 4/4] MTD: at91: atmel_nand: Update driver to support Programmable Multibit ECC controller Josh Wu
2012-06-27 3:45 ` [PATCH v11 0/4] MTD: at91: Add PMECC support for at91 nand flash driver Artem Bityutskiy
2012-06-27 3:49 ` Artem Bityutskiy
2012-06-27 4:11 ` Josh Wu
2012-06-27 4:28 ` Artem Bityutskiy
2012-06-27 5:34 ` Josh Wu
2012-06-27 8:39 ` Nicolas Ferre
2012-06-27 9:14 ` Artem Bityutskiy
2012-06-27 9:28 ` Artem Bityutskiy
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=1340618866-28776-1-git-send-email-josh.wu@atmel.com \
--to=josh.wu@atmel.com \
--cc=linux-arm-kernel@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;
as well as URLs for NNTP newsgroup(s).