linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v11 0/4] MTD: at91: Add PMECC support for at91 nand flash driver
@ 2012-06-25 10:07 Josh Wu
  2012-06-25 10:07 ` [PATCH v11 1/4] MTD: at91: extract hw ecc initialization to one function Josh Wu
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Josh Wu @ 2012-06-25 10:07 UTC (permalink / raw)
  To: linux-arm-kernel

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

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

end of thread, other threads:[~2012-06-27 11:22 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-25 10:07 [PATCH v11 0/4] MTD: at91: Add PMECC support for at91 nand flash driver Josh Wu
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

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).